vfs: check userland buffers before reading them.
[haiku.git] / headers / build / os / app / Application.h
blob5a3424697f7d5ec6f996347a85bcbc4fcd846a56
1 /*
2 * Copyright 2001-2005, Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Erik Jaesler (erik@cgsoftware.com)
7 */
8 #ifndef _APPLICATION_H
9 #define _APPLICATION_H
11 #include <Messenger.h>
14 struct app_info;
17 class BApplication {
18 public:
19 BApplication(const char* signature);
20 BApplication(const char* signature,
21 status_t* error);
22 virtual ~BApplication();
24 status_t GetAppInfo(app_info* info);
27 // Global Objects
29 extern BApplication* be_app;
30 extern BMessenger be_app_messenger;
32 #endif // _APPLICATION_H