1*ec60909aSRene Gollent /* 2*ec60909aSRene Gollent * Copyright 2011-2016, Rene Gollent, rene@gollent.com. 3*ec60909aSRene Gollent * Distributed under the terms of the MIT License. 4*ec60909aSRene Gollent */ 5*ec60909aSRene Gollent #ifndef DEBUGGER_UI_SETTINGS_FACTORY_H 6*ec60909aSRene Gollent #define DEBUGGER_UI_SETTINGS_FACTORY_H 7*ec60909aSRene Gollent 8*ec60909aSRene Gollent 9*ec60909aSRene Gollent #include "TeamUiSettingsFactory.h" 10*ec60909aSRene Gollent 11*ec60909aSRene Gollent 12*ec60909aSRene Gollent class DebuggerUiSettingsFactory : public TeamUiSettingsFactory { 13*ec60909aSRene Gollent public: 14*ec60909aSRene Gollent 15*ec60909aSRene Gollent static DebuggerUiSettingsFactory* Default(); 16*ec60909aSRene Gollent static status_t CreateDefault(); 17*ec60909aSRene Gollent static void DeleteDefault(); 18*ec60909aSRene Gollent 19*ec60909aSRene Gollent virtual status_t Create(const BMessage& archive, 20*ec60909aSRene Gollent TeamUiSettings*& settings) const; 21*ec60909aSRene Gollent 22*ec60909aSRene Gollent private: 23*ec60909aSRene Gollent DebuggerUiSettingsFactory(); 24*ec60909aSRene Gollent virtual ~DebuggerUiSettingsFactory(); 25*ec60909aSRene Gollent 26*ec60909aSRene Gollent static DebuggerUiSettingsFactory* sDefaultInstance; 27*ec60909aSRene Gollent }; 28*ec60909aSRene Gollent 29*ec60909aSRene Gollent #endif // DEBUGGER_UI_SETTINGS_FACTORY_H 30