2005-10-29 20:27:43 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2001-2005, Haiku.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Erik Jaesler (erik@cgsoftware.com)
|
|
|
|
*/
|
|
|
|
#ifndef _APPLICATION_H
|
|
|
|
#define _APPLICATION_H
|
|
|
|
|
|
|
|
#include <Messenger.h>
|
|
|
|
|
2009-11-25 01:50:55 +03:00
|
|
|
|
|
|
|
struct app_info;
|
|
|
|
|
|
|
|
|
2006-01-29 00:56:38 +03:00
|
|
|
class BApplication {
|
2005-10-29 20:27:43 +04:00
|
|
|
public:
|
|
|
|
BApplication(const char* signature);
|
|
|
|
BApplication(const char* signature,
|
|
|
|
status_t* error);
|
|
|
|
virtual ~BApplication();
|
2009-09-19 02:23:34 +04:00
|
|
|
|
|
|
|
status_t GetAppInfo(app_info* info);
|
2005-10-29 20:27:43 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
// Global Objects
|
|
|
|
|
|
|
|
extern _IMPEXP_BE BApplication* be_app;
|
|
|
|
extern _IMPEXP_BE BMessenger be_app_messenger;
|
|
|
|
|
|
|
|
#endif // _APPLICATION_H
|