summaryrefslogtreecommitdiff
path: root/xfconfd/xfconf-daemon.h
blob: 1735ee70af1abe95601fa552fefb2932e3c42e37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
 *  xfconfd
 *
 *  Copyright (c) 2007 Brian Tarricone <bjt23@cornell.edu>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; version 2 of the License ONLY.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#ifndef __XFCONF_DAEMON_H__
#define __XFCONF_DAEMON_H__

#include <glib-object.h>
#include "xfconf-lifecycle-manager.h"
#include "xfconf/xfconf-errors.h"

#define XFCONF_TYPE_DAEMON             (xfconf_daemon_get_type())
#define XFCONF_DAEMON(obj)             (G_TYPE_CHECK_INSTANCE_CAST((obj), XFCONF_TYPE_DAEMON, XfconfDaemon))
#define XFCONF_IS_DAEMON(obj)          (G_TYPE_CHECK_INSTANCE_TYPE((obj), XFCONF_TYPE_DAEMON))
#define XFCONF_DAEMON_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST((klass), XFCONF_TYPE_DAEMON, XfconfDaemonClass))
#define XFCONF_IS_DAEMON_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE((klass), XFCONF_TYPE_DAEMON))
#define XFCONF_DAEMON_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), XFCONF_TYPE_DAEMON, XfconfDaemonClass))

G_BEGIN_DECLS

typedef struct _XfconfDaemon         XfconfDaemon;

GType xfconf_daemon_get_type(void) G_GNUC_CONST;

XfconfDaemon *xfconf_daemon_new_unique(gchar * const *backend_ids,
                                       XfconfLifecycleManager *manager,
                                       GError **error);

G_END_DECLS

#endif  /* __XFCONF_DAEMON_H__ */