~ubuntu-branches/debian/sid/bijiben/sid

« back to all changes in this revision

Viewing changes to src/bjb-settings.h

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2013-03-26 21:19:36 UTC
  • Revision ID: package-import@ubuntu.com-20130326211936-tu8mpy82juohw8m2
Tags: upstream-3.8.0
Import upstream version 3.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* bjb-settings.h
 
2
 * Copyright © 2012, 2013 Pierre-Yves LUYTEN <py@luyten.fr>
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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/>.
 
16
 */
 
17
 
 
18
#ifndef _BJB_SETTINGS_H_
 
19
#define _BJB_SETTINGS_H_
 
20
 
 
21
#include <glib-object.h>
 
22
 
 
23
G_BEGIN_DECLS
 
24
 
 
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))
 
31
 
 
32
typedef struct _BjbSettingsClass BjbSettingsClass;
 
33
typedef struct _BjbSettings BjbSettings;
 
34
 
 
35
typedef struct _BjbSettingsPrivate BjbSettingsPrivate;
 
36
 
 
37
struct _BjbSettingsClass
 
38
{
 
39
  GObjectClass parent_class;
 
40
};
 
41
 
 
42
struct _BjbSettings
 
43
{
 
44
  GObject parent_instance;
 
45
  BjbSettingsPrivate *priv ;
 
46
 
 
47
  /* Note edition settings */
 
48
  gchar *font ;
 
49
  gchar *color ;
 
50
};
 
51
 
 
52
GType bjb_settings_get_type (void) G_GNUC_CONST;
 
53
 
 
54
BjbSettings * initialize_settings(void);
 
55
 
 
56
void show_bijiben_settings_window (GtkWidget *parent_window);
 
57
 
 
58
G_END_DECLS
 
59
 
 
60
#endif /* _BJB_SETTINGS_H_ */