2
* Copyright © 2012, 2013 Pierre-Yves LUYTEN <py@luyten.fr>
4
* bijiben is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
9
* bijiben is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
* See the GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License along
15
* with this program. If not, see <http://www.gnu.org/licenses/>.
18
#ifndef _BJB_SETTINGS_H_
19
#define _BJB_SETTINGS_H_
21
#include <glib-object.h>
25
#define BJB_TYPE_SETTINGS (bjb_settings_get_type ())
26
#define BJB_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BJB_TYPE_SETTINGS, BjbSettings))
27
#define BJB_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BJB_TYPE_SETTINGS, BjbSettingsClass))
28
#define BJB_IS_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BJB_TYPE_SETTINGS))
29
#define BJB_IS_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BJB_TYPE_SETTINGS))
30
#define BJB_SETTINGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BJB_TYPE_SETTINGS, BjbSettingsClass))
32
typedef struct _BjbSettingsClass BjbSettingsClass;
33
typedef struct _BjbSettings BjbSettings;
35
typedef struct _BjbSettingsPrivate BjbSettingsPrivate;
37
struct _BjbSettingsClass
39
GObjectClass parent_class;
44
GObject parent_instance;
45
BjbSettingsPrivate *priv ;
47
/* Note edition settings */
52
GType bjb_settings_get_type (void) G_GNUC_CONST;
54
BjbSettings * initialize_settings(void);
56
void show_bijiben_settings_window (GtkWidget *parent_window);
60
#endif /* _BJB_SETTINGS_H_ */