0690387cd2
* Added an extra looperName argument to the private BApplication constructor that BServer is using. * This is now used to fix the ugliness that gave the registrar a different looper name, and even saves a string comparison.
30 lines
547 B
C++
30 lines
547 B
C++
/*
|
|
* Copyright 2005-2015, Haiku.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Ingo Weinhold <bonefish@cs.tu-berlin.de>
|
|
*/
|
|
#ifndef _SERVER_H
|
|
#define _SERVER_H
|
|
|
|
|
|
#include <Application.h>
|
|
|
|
|
|
class BServer : public BApplication {
|
|
public:
|
|
BServer(const char* signature, bool initGUI,
|
|
status_t *error);
|
|
BServer(const char* signature, const char*
|
|
looperName, bool initGUI, status_t *error);
|
|
|
|
status_t InitGUIContext();
|
|
|
|
private:
|
|
bool fGUIContextInitialized;
|
|
};
|
|
|
|
|
|
#endif // _SERVER_H
|