BServer now remembers whether the GUI context has already been initialized, so that InitGUIContext() can be invoked twice without harm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13415 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -12,9 +12,12 @@
|
||||
|
||||
class BServer : public BApplication {
|
||||
public:
|
||||
BServer(const char* signature, bool initGUI, status_t* error);
|
||||
BServer(const char* signature, bool initGUI, status_t *error);
|
||||
|
||||
status_t InitGUIContext();
|
||||
|
||||
private:
|
||||
bool fGUIContextInitialized;
|
||||
};
|
||||
|
||||
#endif // _SERVER_H
|
||||
|
||||
Reference in New Issue
Block a user