1 /* 2 * Copyright 2005-2015, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Ingo Weinhold <bonefish@cs.tu-berlin.de> 7 */ 8 #ifndef _SERVER_H 9 #define _SERVER_H 10 11 12 #include <Application.h> 13 14 15 class BServer : public BApplication { 16 public: 17 BServer(const char* signature, bool initGUI, 18 status_t *error); 19 BServer(const char* signature, const char* 20 looperName, port_id port, bool initGUI, 21 status_t *error); 22 23 status_t InitGUIContext(); 24 25 private: 26 bool fGUIContextInitialized; 27 }; 28 29 30 #endif // _SERVER_H 31