~ubuntu-branches/debian/jessie/file-roller/jessie

« back to all changes in this revision

Viewing changes to src/gconf-utils.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Josselin Mouette, Michael Biebl
  • Date: 2011-10-13 22:43:53 UTC
  • mfrom: (5.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20111013224353-7fub412oa8jwkcgt
Tags: 3.0.2-2
[ Josselin Mouette ]
* file-roller.mime: dropped. We don’t do necromancy anymore.
* Drop desktop-check-mime-types call too.

[ Michael Biebl ]
* Upload to unstable.
* debian/control.in:
  - Set pkg-gnome-maintainers@lists.alioth.debian.org as Maintainer.
* debian/watch:
  - Switch to .xz tarballs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
 
 
3
 
/*
4
 
 *  File-Roller
5
 
 *
6
 
 *  Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
7
 
 *
8
 
 *  This program is free software; you can redistribute it and/or modify
9
 
 *  it under the terms of the GNU General Public License as published by
10
 
 *  the Free Software Foundation; either version 2 of the License, or
11
 
 *  (at your option) any later version.
12
 
 *
13
 
 *  This program is distributed in the hope that it will be useful,
14
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
 *  GNU General Public License for more details.
17
 
 *
18
 
 *  You should have received a copy of the GNU General Public License
19
 
 *  along with this program; if not, write to the Free Software
20
 
 *  Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
21
 
 */
22
 
 
23
 
/* eel-gconf-extensions.h - Stuff to make GConf easier to use.
24
 
 
25
 
   Copyright (C) 2000, 2001 Eazel, Inc.
26
 
 
27
 
   The Gnome Library is free software; you can redistribute it and/or
28
 
   modify it under the terms of the GNU Library General Public License as
29
 
   published by the Free Software Foundation; either version 2 of the
30
 
   License, or (at your option) any later version.
31
 
 
32
 
   The Gnome Library is distributed in the hope that it will be useful,
33
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
34
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
35
 
   Library General Public License for more details.
36
 
 
37
 
   You should have received a copy of the GNU Library General Public
38
 
   License along with the Gnome Library; see the file COPYING.LIB.  If not,
39
 
   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
40
 
   Boston, MA 02111-1307, USA.
41
 
 
42
 
   Authors: Ramiro Estrugo <ramiro@eazel.com>
43
 
*/
44
 
 
45
 
/* Modified by Paolo Bacchilega <paolo.bacch@tin.it> for File Roller. */
46
 
 
47
 
#ifndef GCONF_UTILS_H
48
 
#define GCONF_UTILS_H
49
 
 
50
 
#include <glib.h>
51
 
#include <gconf/gconf.h>
52
 
#include <gconf/gconf-client.h>
53
 
 
54
 
G_BEGIN_DECLS
55
 
 
56
 
#define EEL_GCONF_UNDEFINED_CONNECTION 0
57
 
 
58
 
GConfClient *eel_gconf_client_get_global     (void);
59
 
 
60
 
void         eel_global_client_free          (void);
61
 
 
62
 
gboolean     eel_gconf_handle_error          (GError                **error);
63
 
 
64
 
gboolean     eel_gconf_get_boolean           (const char             *key,
65
 
                                              gboolean                def_val);
66
 
 
67
 
void         eel_gconf_set_boolean           (const char             *key,
68
 
                                              gboolean                value);
69
 
 
70
 
int          eel_gconf_get_integer           (const char             *key,
71
 
                                              int                     def_val);
72
 
 
73
 
void         eel_gconf_set_integer           (const char             *key,
74
 
                                              int                     value);
75
 
 
76
 
float        eel_gconf_get_float             (const char             *key,
77
 
                                              float                   def_val);
78
 
 
79
 
void         eel_gconf_set_float             (const char             *key,
80
 
                                              float                   value);
81
 
 
82
 
char *       eel_gconf_get_string            (const char             *key,
83
 
                                              const char             *def_val);
84
 
 
85
 
void         eel_gconf_set_string            (const char             *key,
86
 
                                              const char             *value);
87
 
 
88
 
char *       eel_gconf_get_locale_string     (const char             *key,
89
 
                                              const char             *def_val);
90
 
 
91
 
void         eel_gconf_set_locale_string     (const char             *key,
92
 
                                              const char             *value);
93
 
 
94
 
GSList *     eel_gconf_get_string_list       (const char             *key);
95
 
 
96
 
void         eel_gconf_set_string_list       (const char             *key,
97
 
                                              const GSList           *string_list_value);
98
 
 
99
 
GSList *     eel_gconf_get_locale_string_list(const char             *key);
100
 
 
101
 
void         eel_gconf_set_locale_string_list(const char             *key,
102
 
                                              const GSList           *string_list_value);
103
 
 
104
 
gboolean     eel_gconf_is_default            (const char             *key);
105
 
 
106
 
gboolean     eel_gconf_monitor_add           (const char             *directory);
107
 
 
108
 
gboolean     eel_gconf_monitor_remove        (const char             *directory);
109
 
 
110
 
void         eel_gconf_preload_cache         (const char             *directory,
111
 
                                              GConfClientPreloadType  preload_type);
112
 
 
113
 
void         eel_gconf_suggest_sync          (void);
114
 
 
115
 
GConfValue*  eel_gconf_get_value             (const char             *key);
116
 
 
117
 
GConfValue*  eel_gconf_get_default_value     (const char             *key);
118
 
 
119
 
gboolean     eel_gconf_value_is_equal        (const GConfValue       *a,
120
 
                                              const GConfValue       *b);
121
 
 
122
 
void         eel_gconf_value_free            (GConfValue             *value);
123
 
 
124
 
guint        eel_gconf_notification_add      (const char             *key,
125
 
                                              GConfClientNotifyFunc   notification_callback,
126
 
                                              gpointer                callback_data);
127
 
 
128
 
void         eel_gconf_notification_remove   (guint                   notification_id);
129
 
 
130
 
GSList *     eel_gconf_value_get_string_list (const GConfValue       *value);
131
 
 
132
 
void         eel_gconf_value_set_string_list (GConfValue             *value,
133
 
                                              const GSList           *string_list);
134
 
 
135
 
G_END_DECLS
136
 
 
137
 
#endif /* GCONF_UTILS_H */