xref: /haiku/src/apps/firstbootprompt/BootPrompt.h (revision b28ed9e04a771e5de38be68abd08148c0bbafc56)
1 /*
2  * Copyright 2010, Stephan Aßmus <superstippi@gmx.de>.
3  * Copyright 2020, Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
4  * All rights reserved. Distributed under the terms of the MIT License.
5  */
6 #ifndef BOOT_PROMPT_APP_H
7 #define BOOT_PROMPT_APP_H
8 
9 #include <Application.h>
10 
11 #include "BootPromptWindow.h"
12 
13 enum {
14 	MSG_BOOT_DESKTOP	= 'dktp',
15 	MSG_RUN_INSTALLER	= 'inst',
16 	MSG_REBOOT_REQUESTED	= 'rebt'
17 };
18 
19 extern const char* kAppSignature;
20 extern const char* kDeskbarSignature;
21 
22 
23 class BootPromptApp : public BApplication {
24 public:
25 								BootPromptApp();
26 
27 	virtual	void				MessageReceived(BMessage* message);
28 			bool				QuitRequested();
29 	virtual	void				ReadyToRun();
30 };
31 
32 
33 #endif // BOOT_PROMPT_APP_H
34