xref: /haiku/headers/build/os/app/Application.h (revision ed24eb5ff12640d052171c6a7feba37fab8a75d1)
1 /*
2  * Copyright 2001-2005, Haiku.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Erik Jaesler (erik@cgsoftware.com)
7  */
8 #ifndef _APPLICATION_H
9 #define _APPLICATION_H
10 
11 #include <Messenger.h>
12 
13 
14 struct app_info;
15 
16 
17 class BApplication {
18 public:
19 							BApplication(const char* signature);
20 							BApplication(const char* signature,
21 										 status_t* error);
22 	virtual					~BApplication();
23 
24 	status_t				GetAppInfo(app_info* info);
25 };
26 
27 // Global Objects
28 
29 extern BApplication*	be_app;
30 extern BMessenger be_app_messenger;
31 
32 #endif	// _APPLICATION_H
33