1 /* 2 * Copyright 2001-2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 #include "ServerDefs.h" 7 8 // constructor 9 ServerSettings::ServerSettings() 10 : fEnterDebugger(false) 11 { 12 } 13 14 // destructor 15 ServerSettings::~ServerSettings() 16 { 17 } 18 19 // SetEnterDebugger 20 void 21 ServerSettings::SetEnterDebugger(bool enterDebugger) 22 { 23 fEnterDebugger = enterDebugger; 24 } 25 26 // ShallEnterDebugger 27 bool 28 ServerSettings::ShallEnterDebugger() const 29 { 30 return fEnterDebugger; 31 } 32 33 // the global settings 34 ServerSettings UserlandFS::gServerSettings; 35