193514534SIngo Weinhold /* 20690387cSAxel Dörfler * Copyright 2005-2015, Haiku. 393514534SIngo Weinhold * Distributed under the terms of the MIT License. 493514534SIngo Weinhold * 593514534SIngo Weinhold * Authors: 693514534SIngo Weinhold * Ingo Weinhold <bonefish@cs.tu-berlin.de> 793514534SIngo Weinhold */ 893514534SIngo Weinhold #ifndef _SERVER_H 993514534SIngo Weinhold #define _SERVER_H 1093514534SIngo Weinhold 110690387cSAxel Dörfler 1293514534SIngo Weinhold #include <Application.h> 1393514534SIngo Weinhold 140690387cSAxel Dörfler 1593514534SIngo Weinhold class BServer : public BApplication { 1693514534SIngo Weinhold public: 170690387cSAxel Dörfler BServer(const char* signature, bool initGUI, 180690387cSAxel Dörfler status_t *error); 190690387cSAxel Dörfler BServer(const char* signature, const char* 20*1480e5daSAxel Dörfler looperName, port_id port, bool initGUI, 21*1480e5daSAxel Dörfler status_t *error); 2293514534SIngo Weinhold 2393514534SIngo Weinhold status_t InitGUIContext(); 249fac7d6cSIngo Weinhold 259fac7d6cSIngo Weinhold private: 269fac7d6cSIngo Weinhold bool fGUIContextInitialized; 2793514534SIngo Weinhold }; 2893514534SIngo Weinhold 290690387cSAxel Dörfler 3093514534SIngo Weinhold #endif // _SERVER_H 31