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