xref: /haiku/src/apps/debugger/user_interface/gui/settings/DebuggerUiSettingsFactory.h (revision ec60909a20fb5d87db22583cd87e225e5c67e95e)
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