1
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4 -*- */
4
* Copyright (C) Nicolas Bruguier 2007-2010 <gandalfn@club-internet.fr>
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.
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.
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/>.
20
#ifndef _CCM_CONFIG_KEY_H_
21
#define _CCM_CONFIG_KEY_H_
23
#include "ccm-config.h"
26
#include <glib-object.h>
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))
37
typedef struct _CCMConfigKeyClass CCMConfigKeyClass;
38
typedef struct _CCMConfigKeyPrivate CCMConfigKeyPrivate;
39
typedef struct _CCMConfigKey CCMConfigKey;
41
struct _CCMConfigKeyClass
43
CCMConfigClass parent_class;
51
CCMConfig parent_instance;
53
CCMConfigKeyPrivate *priv;
56
GType ccm_config_key_get_type (void) G_GNUC_CONST;
60
#endif /* _CCM_CONFIG_KEY_H_ */