* Added a private API class BServer, a BApplication subclass especially
for servers, that don't have a GUI or want to control when the app server connection is established. * BServer is necessarily a friend of BApplication, for it uses a private constructor. Hence BApplication::Private::InitGUIContext() is no longer needed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13315 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright 2005, Haiku.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
* Ingo Weinhold <[email protected]>
|
||||
*/
|
||||
|
||||
#include <Server.h>
|
||||
|
||||
// constructor
|
||||
BServer::BServer(const char* signature, bool initGUI, status_t* error)
|
||||
: BApplication(signature, initGUI, error)
|
||||
{
|
||||
}
|
||||
|
||||
// InitGUIContext
|
||||
status_t
|
||||
BServer::InitGUIContext()
|
||||
{
|
||||
return _InitGUIContext();
|
||||
}
|
||||
Reference in New Issue
Block a user