~shnatsel/+junk/cairo-compmgr

« back to all changes in this revision

Viewing changes to lib/ccm-config-key.h

  • Committer: Sergey "Shnatsel" Davidoff
  • Date: 2012-03-04 22:53:22 UTC
  • Revision ID: shnatsel@gmail.com-20120304225322-q2hz82j51yxv1qqw
fixed up build dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4 -*- */
 
2
/*
 
3
 * cairo-compmgr
 
4
 * Copyright (C) Nicolas Bruguier 2007-2010 <gandalfn@club-internet.fr>
 
5
 * 
 
6
 * cairo-compmgr is free software: you can redistribute it and/or modify it
 
7
 * under the terms of the GNU Lesser General Public License as published
 
8
 * by the Free Software Foundation, either version 3 of the License, or
 
9
 * (at your option) any later version.
 
10
 * 
 
11
 * cairo-compmgr is distributed in the hope that it will be useful, but
 
12
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
14
 * See the GNU Lesser General Public License for more details.
 
15
 * 
 
16
 * You should have received a copy of the GNU Lesser General Public License
 
17
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
18
 */
 
19
 
 
20
#ifndef _CCM_CONFIG_KEY_H_
 
21
#define _CCM_CONFIG_KEY_H_
 
22
 
 
23
#include "ccm-config.h"
 
24
 
 
25
#include <glib.h>
 
26
#include <glib-object.h>
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
30
#define CCM_TYPE_CONFIG_KEY             (ccm_config_key_get_type ())
 
31
#define CCM_CONFIG_KEY(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), CCM_TYPE_CONFIG_KEY, CCMConfigKey))
 
32
#define CCM_CONFIG_KEY_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), CCM_TYPE_CONFIG_KEY, CCMConfigKeyClass))
 
33
#define CCM_IS_CONFIG_KEY(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CCM_TYPE_CONFIG_KEY))
 
34
#define CCM_IS_CONFIG_KEY_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), CCM_TYPE_CONFIG_KEY))
 
35
#define CCM_CONFIG_KEY_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), CCM_TYPE_CONFIG_KEY, CCMConfigKeyClass))
 
36
 
 
37
typedef struct _CCMConfigKeyClass CCMConfigKeyClass;
 
38
typedef struct _CCMConfigKeyPrivate CCMConfigKeyPrivate;
 
39
typedef struct _CCMConfigKey CCMConfigKey;
 
40
 
 
41
struct _CCMConfigKeyClass
 
42
{
 
43
    CCMConfigClass parent_class;
 
44
 
 
45
    GHashTable *schemas;
 
46
    GHashTable *configs;
 
47
};
 
48
 
 
49
struct _CCMConfigKey
 
50
{
 
51
    CCMConfig parent_instance;
 
52
 
 
53
    CCMConfigKeyPrivate *priv;
 
54
};
 
55
 
 
56
GType ccm_config_key_get_type (void) G_GNUC_CONST;
 
57
 
 
58
G_END_DECLS
 
59
 
 
60
#endif                          /* _CCM_CONFIG_KEY_H_ */