source: trunk/third/libgnome/monikers/bonobo-config-bag.h @ 18320

Revision 18320, 1.4 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18319, which included commits to RCS files with non-trunk default branches.
Line 
1/**
2 * bonobo-config-bag.h: config bag object implementation.
3 *
4 * Author:
5 *   Dietmar Maurer  (dietmar@ximian.com)
6 *   Rodrigo Moya    (rodrigo@ximian.com)
7 *
8 * Copyright 2000, 2001 Ximian, Inc.
9 */
10#ifndef __BONOBO_CONFIG_BAG_H__
11#define __BONOBO_CONFIG_BAG_H__
12
13#include <gconf/gconf-client.h>
14#include <bonobo/bonobo-object.h>
15#include <bonobo/bonobo-event-source.h>
16
17G_BEGIN_DECLS
18
19#define BONOBO_TYPE_CONFIG_BAG        (bonobo_config_bag_get_type ())
20#define BONOBO_CONFIG_BAG_TYPE        BONOBO_TYPE_CONFIG_BAG // deprecated, you should use BONOBO_TYPE_CONFIG_BAG
21#define BONOBO_CONFIG_BAG(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), BONOBO_TYPE_CONFIG_BAG, BonoboConfigBag))
22#define BONOBO_CONFIG_BAG_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST ((k), BONOBO_TYPE_CONFIG_BAG, BonoboConfigBagClass))
23#define BONOBO_IS_CONFIG_BAG(o)       (G_TYPE_CHECK_INSTANCE_CAST ((o), BONOBO_TYPE_CONFIG_BAG))
24#define BONOBO_IS_CONFIG_BAG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), BONOBO_TYPE_CONFIG_BAG))
25
26typedef struct _BonoboConfigBag        BonoboConfigBag;
27
28struct _BonoboConfigBag {
29        BonoboObject          base;
30
31        gchar                 *path;
32        BonoboEventSource     *es;
33        GConfClient           *conf_client;
34};
35
36typedef struct {
37        BonoboObjectClass  parent_class;
38
39        POA_Bonobo_PropertyBag__epv epv;
40
41} BonoboConfigBagClass;
42
43
44GType             bonobo_config_bag_get_type  (void);
45BonoboConfigBag  *bonobo_config_bag_new       (const gchar *path);
46
47G_END_DECLS
48
49#endif /* ! __BONOBO_CONFIG_BAG_H__ */
Note: See TracBrowser for help on using the repository browser.