~ubuntu-branches/ubuntu/breezy/control-center/breezy

« back to all changes in this revision

Viewing changes to gnome-settings-daemon/gnome-settings-daemon.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2005-03-17 22:28:32 UTC
  • Revision ID: james.westby@ubuntu.com-20050317222832-r2cw3974bm9qjrva
Tags: upstream-2.8.2
ImportĀ upstreamĀ versionĀ 2.8.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2001 Red Hat, Inc.
 
3
 *
 
4
 * Permission to use, copy, modify, distribute, and sell this software and its
 
5
 * documentation for any purpose is hereby granted without fee, provided that
 
6
 * the above copyright notice appear in all copies and that both that
 
7
 * copyright notice and this permission notice appear in supporting
 
8
 * documentation, and that the name of Red Hat not be used in advertising or
 
9
 * publicity pertaining to distribution of the software without specific,
 
10
 * written prior permission.  Red Hat makes no representations about the
 
11
 * suitability of this software for any purpose.  It is provided "as is"
 
12
 * without express or implied warranty.
 
13
 *
 
14
 * RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
 
15
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL RED HAT
 
16
 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 
17
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
 
18
 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
 
19
 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
20
 *
 
21
 * Authors:  Jonathan Blandford
 
22
 */
 
23
 
 
24
#ifndef __GNOME_SETTINGS_DAEMON_H
 
25
#define __GNOME_SETTINGS_DAEMON_H
 
26
 
 
27
#include <gconf/gconf.h>
 
28
#include <gconf/gconf-client.h>
 
29
#include <gtk/gtk.h>
 
30
 
 
31
#include <bonobo/bonobo-object.h>
 
32
 
 
33
#include "GNOME_SettingsDaemon.h"
 
34
 
 
35
typedef void (* KeyCallbackFunc) (GConfEntry *entry);
 
36
 
 
37
void       gnome_settings_daemon_register_callback (const char      *dir,
 
38
                                                    KeyCallbackFunc  func);
 
39
GtkWidget *gnome_settings_daemon_get_invisible     (void);
 
40
 
 
41
 
 
42
G_BEGIN_DECLS
 
43
 
 
44
#define GNOME_SETTINGS_DAEMON_TYPE (gnome_settings_daemon_get_type ())
 
45
#define GNOME_SETTINGS_DAEMON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_SETTINGS_DAEMON_TYPE, GnomeSettingsDaemon))
 
46
#define GNOME_SETTINGS_DAEMON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_SETTINGS_DAEMON_TYPE, GnomeSettingsDaemonClass))
 
47
#define IS_GNOME_SETTINGS_DAEMON(obj) (GTK_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_SETTINGS_DAEMON_TYPE))
 
48
#define IS_GNOME_SETTINGS_DAEMON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_SETTINGS_DAEMON_TYPE))
 
49
#define GNOME_SETTINGS_DAEMON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_SETTINGS_DAEMON_TYPE, GnomeSettingsDaemonClass))
 
50
 
 
51
typedef struct _GnomeSettingsDaemon GnomeSettingsDaemon;
 
52
typedef struct _GnomeSettingsDaemonClass GnomeSettingsDaemonClass;
 
53
typedef struct _GnomeSettingsDaemonPrivate GnomeSettingsDaemonPrivate;
 
54
 
 
55
struct _GnomeSettingsDaemon
 
56
{
 
57
  BonoboObject parent_instance;
 
58
  GnomeSettingsDaemonPrivate *private;
 
59
};
 
60
 
 
61
struct _GnomeSettingsDaemonClass
 
62
{
 
63
  BonoboObjectClass parent_class;
 
64
  POA_GNOME_SettingsDaemon__epv epv;
 
65
};
 
66
 
 
67
GType    gnome_settings_daemon_get_type         (void);
 
68
GObject *gnome_settings_daemon_new              (void);
 
69
void     gnome_settings_daemon_spawn_with_input (char       **argv,
 
70
                                                 const char  *input);
 
71
 
 
72
G_END_DECLS
 
73
 
 
74
#endif /* __GNOME_SETTINGS_DAEMON_H */