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 14struct app_info; 15 16 17class BApplication { 18public: 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 29extern BApplication* be_app; 30extern BMessenger be_app_messenger; 31 32#endif // _APPLICATION_H 33