InitGUIContext
status_t InitGUIContext();
return app->InitGUIContext();
if (status < B_OK && InitGUIContext() == B_OK) {
if (InitGUIContext() != B_OK)
if (InitGUIContext() != B_OK)
if (askReadOnly && ((BServer*)be_app)->InitGUIContext() != B_OK) {
if (server == NULL || server->InitGUIContext() != B_OK)
if (server != NULL && server->InitGUIContext() == B_OK) {
fHasGUI = Registrar::App()->InitGUIContext() == B_OK;