xref: /haiku/src/apps/debugger/user_interface/gui/util/GuiSettingsUtils.h (revision 21258e2674226d6aa732321b6f8494841895af5f)
1 /*
2  * Copyright 2011, Rene Gollent, rene@gollent.com.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef GUI_SETTINGS_UTILS_H
6 #define GUI_SETTINGS_UTILS_H
7 
8 
9 #include <SupportDefs.h>
10 
11 
12 class AbstractTable;
13 class BMessage;
14 class BSplitView;
15 
16 
17 class GuiSettingsUtils {
18 public:
19 
20 	static 	status_t			ArchiveSplitView(BMessage& settings,
21 									BSplitView* view);
22 	static 	void				UnarchiveSplitView(const BMessage& settings,
23 									BSplitView* view);
24 
25 	static	status_t			ArchiveTableSettings(BMessage& settings,
26 									AbstractTable* table);
27 
28 	static	void				UnarchiveTableSettings(
29 									const BMessage& settings,
30 									AbstractTable* table);
31 
32 
33 };
34 
35 
36 #endif	// GUI_SETTINGS_UTILS_H
37