1/*
2 * Copyright 2016-2017 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT license
4 *
5 * Authors:
6 *		Alexander von Gluck IV <kallisti5@unixzen.com>
7 *		Brian Hill <supernova@tycho.email>
8 */
9#ifndef _SOFTWARE_UPDATER_APP_H
10#define _SOFTWARE_UPDATER_APP_H
11
12
13#include <Application.h>
14
15#include "WorkingLooper.h"
16
17
18class SoftwareUpdaterApp : public BApplication {
19public:
20								SoftwareUpdaterApp();
21								~SoftwareUpdaterApp();
22			virtual bool		QuitRequested();
23			virtual void		ReadyToRun();
24			virtual void		ArgvReceived(int32 argc, char **argv);
25			void				MessageReceived(BMessage* message);
26
27private:
28			WorkingLooper*		fWorker;
29			BMessenger			fWindowMessenger;
30			bool				fFinalQuitFlag;
31			update_type			fActionRequested;
32			bool				fVerbose;
33			bool				fArgvsAccepted;
34};
35
36
37#endif
38