1 // ServerDefs.cpp 2 3 #include "ServerDefs.h" 4 5 // constructor 6 ServerSettings::ServerSettings() 7 : fEnterDebugger(false) 8 { 9 } 10 11 // destructor 12 ServerSettings::~ServerSettings() 13 { 14 } 15 16 // SetEnterDebugger 17 void 18 ServerSettings::SetEnterDebugger(bool enterDebugger) 19 { 20 fEnterDebugger = enterDebugger; 21 } 22 23 // ShallEnterDebugger 24 bool 25 ServerSettings::ShallEnterDebugger() const 26 { 27 return fEnterDebugger; 28 } 29 30 // the global settings 31 ServerSettings UserlandFS::gServerSettings; 32 33 const char* UserlandFS::kUserlandFSDispatcherClipboardName 34 = "userland fs dispatcher"; 35 36