TEST_MODE is now disabled on Haiku too. So app_server is not a BApplication anymore and doesn't depend on itself.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12131 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2005-03-29 19:49:55 +00:00
parent 9c59f2f207
commit 9775bf33cf
3 changed files with 7 additions and 5 deletions

View File

@ -4,7 +4,9 @@
// This is defined to place the server in test mode, which modifies certain things like
// system keyboard shortcuts. Note that it is possible, though senseless, to place it in
// regular mode and still use a display driver which depends on the R5 app_server
#define TEST_MODE
#ifndef TEST_MODE
#define TEST_MODE 1
#endif
// The ViewDriver is a BView/BWindow combination. Plenty of functionality,
// but dog-slow.

View File

@ -85,7 +85,7 @@ ColorSet gui_colorset;
This loads the default fonts, allocates all the major global variables, spawns the main housekeeping
threads, loads user preferences for the UI and decorator, and allocates various locks.
*/
#ifdef TEST_MODE
#if TEST_MODE
AppServer::AppServer(void) : BApplication (SERVER_SIGNATURE)
#else
AppServer::AppServer(void)

View File

@ -26,10 +26,10 @@ class BitmapManager;
application start and quit messages. It also starts the housekeeping threads
and initializes most of the server's globals.
*/
#ifndef TEST_MODE
class AppServer
#else
#if TEST_MODE
class AppServer : public BApplication
#else
class AppServer
#endif
{
public: