2005-06-28 18:53:29 +04:00
|
|
|
/*
|
2015-03-27 00:41:42 +03:00
|
|
|
* Copyright 2005-2015, Haiku.
|
2005-06-28 18:53:29 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Ingo Weinhold <bonefish@cs.tu-berlin.de>
|
|
|
|
*/
|
|
|
|
#ifndef _SERVER_H
|
|
|
|
#define _SERVER_H
|
|
|
|
|
2015-03-27 00:41:42 +03:00
|
|
|
|
2005-06-28 18:53:29 +04:00
|
|
|
#include <Application.h>
|
|
|
|
|
2015-03-27 00:41:42 +03:00
|
|
|
|
2005-06-28 18:53:29 +04:00
|
|
|
class BServer : public BApplication {
|
|
|
|
public:
|
2015-03-27 00:41:42 +03:00
|
|
|
BServer(const char* signature, bool initGUI,
|
|
|
|
status_t *error);
|
|
|
|
BServer(const char* signature, const char*
|
2015-04-02 12:42:35 +03:00
|
|
|
looperName, port_id port, bool initGUI,
|
|
|
|
status_t *error);
|
2005-06-28 18:53:29 +04:00
|
|
|
|
2015-03-27 00:41:42 +03:00
|
|
|
status_t InitGUIContext();
|
2005-07-03 20:55:27 +04:00
|
|
|
|
|
|
|
private:
|
2015-03-27 00:41:42 +03:00
|
|
|
bool fGUIContextInitialized;
|
2005-06-28 18:53:29 +04:00
|
|
|
};
|
|
|
|
|
2015-03-27 00:41:42 +03:00
|
|
|
|
2005-06-28 18:53:29 +04:00
|
|
|
#endif // _SERVER_H
|