1
/* This file is part of Maliit framework
3
* Copyright (C) 2012 Openismus GmbH
5
* Contact: maliit-discuss@lists.maliit.org
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the licence, or (at your option) any later version.
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the
19
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
* Boston, MA 02111-1307, USA.
23
#ifndef MALIIT_GLIB_SETTINGS_MANAGER_H
24
#define MALIIT_GLIB_SETTINGS_MANAGER_H
27
#include <glib-object.h>
31
#define MALIIT_TYPE_SETTINGS_MANAGER (maliit_settings_manager_get_type())
32
#define MALIIT_SETTINGS_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, MALIIT_TYPE_SETTINGS_MANAGER, MaliitSettingsManager))
33
#define MALIIT_SETTINGS_MANAGER_CLASS(cls) (G_TYPE_CHECK_CLASS_CAST(cls, MALIIT_TYPE_SETTINGS_MANAGER, MaliitSettingsManagerClass))
34
#define MALIIT_IS_SETTINGS_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, MALIIT_TYPE_SETTINGS_MANAGER))
35
#define MALIIT_IS_SETTINGS_MANAGER_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE(obj, MALIIT_TYPE_SETTINGS_MANAGER))
36
#define MALIIT_SETTINGS_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), MALIIT_TYPE_SETTINGS_MANAGER, MaliitSettingsManagerClass))
38
typedef struct _MaliitSettingsManager MaliitSettingsManager;
39
typedef struct _MaliitSettingsManagerClass MaliitSettingsManagerClass;
40
typedef struct _MaliitSettingsManagerPrivate MaliitSettingsManagerPrivate;
42
struct _MaliitSettingsManager
47
MaliitSettingsManagerPrivate *priv;
51
* MaliitSettingsManagerClass:
52
* @parent_class: The parent class.
54
struct _MaliitSettingsManagerClass
56
GObjectClass parent_class;
60
maliit_settings_manager_get_type (void) G_GNUC_CONST;
62
MaliitSettingsManager *
63
maliit_settings_manager_new (void);
66
maliit_settings_manager_load_plugin_settings (MaliitSettingsManager *manager);
69
maliit_settings_manager_set_preferred_description_locale (const gchar *locale_name);
72
maliit_settings_manager_get_preferred_description_locale (void);
76
#endif /* MALIIT_GLIB_SETTINGS_MANAGER_H */