2005-06-28 14:53:29 +00:00
|
|
|
/*
|
2015-03-26 21:41:42 +00:00
|
|
|
* Copyright 2005-2015, Haiku.
|
2005-06-28 14:53:29 +00: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-26 21:41:42 +00:00
|
|
|
|
2005-06-28 14:53:29 +00:00
|
|
|
#include <Application.h>
|
|
|
|
|
2015-03-26 21:41:42 +00:00
|
|
|
|
2005-06-28 14:53:29 +00:00
|
|
|
class BServer : public BApplication {
|
|
|
|
public:
|
2015-03-26 21:41:42 +00:00
|
|
|
BServer(const char* signature, bool initGUI,
|
|
|
|
status_t *error);
|
|
|
|
BServer(const char* signature, const char*
|
2015-04-02 11:42:35 +02:00
|
|
|
looperName, port_id port, bool initGUI,
|
|
|
|
status_t *error);
|
2005-06-28 14:53:29 +00:00
|
|
|
|
2015-03-26 21:41:42 +00:00
|
|
|
status_t InitGUIContext();
|
2005-07-03 16:55:27 +00:00
|
|
|
|
|
|
|
private:
|
2015-03-26 21:41:42 +00:00
|
|
|
bool fGUIContextInitialized;
|
2005-06-28 14:53:29 +00:00
|
|
|
};
|
|
|
|
|
2015-03-26 21:41:42 +00:00
|
|
|
|
2005-06-28 14:53:29 +00:00
|
|
|
#endif // _SERVER_H
|