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
12class AbstractTable;
13class BMessage;
14class BSplitView;
15
16
17class GuiSettingsUtils {
18public:
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