xref: /haiku/headers/build/os/app/Application.h (revision c9ad965c81b08802fed0827fd1dd16f45297928a)
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 class BApplication {
14 public:
15 							BApplication(const char* signature);
16 							BApplication(const char* signature,
17 										 status_t* error);
18 	virtual					~BApplication();
19 
20 	status_t				GetAppInfo(app_info* info);
21 };
22 
23 // Global Objects
24 
25 extern _IMPEXP_BE BApplication*	be_app;
26 extern _IMPEXP_BE BMessenger be_app_messenger;
27 
28 #endif	// _APPLICATION_H
29