Blame conf/dconf/config-private.h

Packit Service 1d8f1c
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
Packit Service 1d8f1c
/* vim:set et sts=4: */
Packit Service 1d8f1c
/* ibus - The Input Bus
Packit Service 1d8f1c
 * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
Packit Service 1d8f1c
 * Copyright (C) 2008-2010 Red Hat, Inc.
Packit Service 1d8f1c
 *
Packit Service 1d8f1c
 * This library is free software; you can redistribute it and/or
Packit Service 1d8f1c
 * modify it under the terms of the GNU Lesser General Public
Packit Service 1d8f1c
 * License as published by the Free Software Foundation; either
Packit Service 1d8f1c
 * version 2.1 of the License, or (at your option) any later version.
Packit Service 1d8f1c
 *
Packit Service 1d8f1c
 * This library is distributed in the hope that it will be useful,
Packit Service 1d8f1c
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 1d8f1c
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 1d8f1c
 * Lesser General Public License for more details.
Packit Service 1d8f1c
 *
Packit Service 1d8f1c
 * You should have received a copy of the GNU Lesser General Public
Packit Service 1d8f1c
 * License along with this library; if not, write to the Free Software
Packit Service 1d8f1c
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
Packit Service 1d8f1c
 * USA
Packit Service 1d8f1c
 */
Packit Service 1d8f1c
#ifndef __CONFIG_DCONF_H__
Packit Service 1d8f1c
#define __CONFIG_DCONF_H__
Packit Service 1d8f1c
Packit Service 1d8f1c
#ifdef HAVE_CONFIG_H
Packit Service 1d8f1c
#  include <config.h>
Packit Service 1d8f1c
#endif
Packit Service 1d8f1c
Packit Service 1d8f1c
#include <ibus.h>
Packit Service 1d8f1c
#ifdef DCONF_0_13_4
Packit Service 1d8f1c
#  include <client/dconf-client.h>
Packit Service 1d8f1c
#  include <common/dconf-paths.h>
Packit Service 1d8f1c
#else
Packit Service 1d8f1c
#  include <dconf/dconf.h>
Packit Service 1d8f1c
#endif
Packit Service 1d8f1c
Packit Service 1d8f1c
#define IBUS_TYPE_CONFIG_DCONF            \
Packit Service 1d8f1c
    (ibus_config_dconf_get_type ())
Packit Service 1d8f1c
#define IBUS_CONFIG_DCONF(obj)            \
Packit Service 1d8f1c
    (G_TYPE_CHECK_INSTANCE_CAST ((obj), IBUS_TYPE_CONFIG_DCONF, IBusConfigDConf))
Packit Service 1d8f1c
#define IBUS_CONFIG_DCONF_CLASS(klass)     \
Packit Service 1d8f1c
    (G_TYPE_CHECK_CLASS_CAST ((klass), IBUS_TYPE_CONFIG_DCONF, IBusConfigDConfClass))
Packit Service 1d8f1c
#define IBUS_IS_CONFIG_DCONF(obj)          \
Packit Service 1d8f1c
    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IBUS_TYPE_CONFIG_DCONF))
Packit Service 1d8f1c
#define IBUS_IS_CONFIG_DCONF_CLASS(klass)  \
Packit Service 1d8f1c
    (G_TYPE_CHECK_CLASS_TYPE ((klass), IBUS_TYPE_CONFIG_DCONF))
Packit Service 1d8f1c
#define IBUS_CONFIG_DCONF_GET_CLASS(obj)   \
Packit Service 1d8f1c
    (G_TYPE_INSTANCE_GET_CLASS ((obj), IBUS_TYPE_CONFIG_DCONF, IBusConfigDConfClass))
Packit Service 1d8f1c
Packit Service 1d8f1c
typedef struct _IBusConfigDConf IBusConfigDConf;
Packit Service 1d8f1c
typedef struct _IBusConfigDConfClass IBusConfigDConfClass;
Packit Service 1d8f1c
Packit Service 1d8f1c
GType            ibus_config_dconf_get_type (void);
Packit Service 1d8f1c
IBusConfigDConf *ibus_config_dconf_new      (GDBusConnection *connection);
Packit Service 1d8f1c
Packit Service 1d8f1c
#endif