2009-06-17 Jeffrey Stedfast <fejj@novell.com>
[moon.git] / src / moonlightconfiguration.h
blob73765df272bdf0f19782467ab8672e4ee9262615
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * moonlightconfiguration.h:
5 * Contact:
6 * Moonlight List (moonlight-list@lists.ximian.com)
8 * Copyright 2007 Novell, Inc. (http://www.novell.com)
10 * See the LICENSE file included with the distribution for details.
13 #ifndef __MOON_MOONLIGHT_CONFIGURATION_H__
14 #define __MOON_MOONLIGHT_CONFIGURATION_H__
16 #include <glib.h>
18 class MoonlightConfiguration {
19 private:
20 GKeyFile *data;
21 gchar *filename;
23 public:
24 MoonlightConfiguration ();
25 ~MoonlightConfiguration ();
27 void Save ();
29 void SetBooleanValue (const char *group, const char *key, gboolean value);
30 void SetStringValue (const char *group, const char *key, const char *value);
31 char *GetStringValue (const char *group, const char *key);
32 gboolean GetBooleanValue (const char *group, const char *key);
35 #endif /* __MOON_MOONLIGHT_CONFIGURATION_H__ */