diff options
author | Stefano Karapetsas <[email protected]> | 2012-09-04 16:57:10 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-09-04 16:57:10 +0200 |
commit | 44b85ff8d08023f49be431f1a8514240b9b4b276 (patch) | |
tree | 637ef9c57a778e3e7e0fb45fcb3248c49a375733 /libmateweather/mateweather-mateconf.h | |
parent | 9f6a41dc0563e92cb59609aa3dcc8b9d42d1d40b (diff) | |
download | libmateweather-44b85ff8d08023f49be431f1a8514240b9b4b276.tar.bz2 libmateweather-44b85ff8d08023f49be431f1a8514240b9b4b276.tar.xz |
migrate to gsettings
Diffstat (limited to 'libmateweather/mateweather-mateconf.h')
-rw-r--r-- | libmateweather/mateweather-mateconf.h | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/libmateweather/mateweather-mateconf.h b/libmateweather/mateweather-mateconf.h deleted file mode 100644 index 5132d81..0000000 --- a/libmateweather/mateweather-mateconf.h +++ /dev/null @@ -1,84 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */ -/* - * mateweather-mateconf.h: MateConf interaction methods for mateweather. - * - * Copyright (C) 2005 Philip Langdale, Papadimitriou Spiros - * - * This library 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; either - * version 2 of the License, or (at your option) any later version. - * - * This library 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 library; if not, see - * <http://www.gnu.org/licenses/>. - * - * Authors: - * Philip Langdale <[email protected]> - * Papadimitriou Spiros <[email protected]> - */ - -#ifndef __MATEWEATHER_MATECONF_WRAPPER_H__ -#define __MATEWEATHER_MATECONF_WRAPPER_H__ - - -#ifndef MATEWEATHER_I_KNOW_THIS_IS_UNSTABLE -#error "libmateweather should only be used if you understand that it's subject to change, and is not supported as a fixed API/ABI or as part of the platform" -#endif - - -#include <glib.h> -#include <mateconf/mateconf-client.h> -#include <mateconf/mateconf-value.h> - -#include <libmateweather/weather.h> - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct _MateWeatherMateConf MateWeatherMateConf; - -MateWeatherMateConf * mateweather_mateconf_new (const char *prefix); -void mateweather_mateconf_free (MateWeatherMateConf *ctx); - -MateConfClient * mateweather_mateconf_get_client (MateWeatherMateConf *ctx); - -WeatherLocation * mateweather_mateconf_get_location (MateWeatherMateConf *ctx); - -gchar * mateweather_mateconf_get_full_key (MateWeatherMateConf *ctx, - const gchar *key); - -void mateweather_mateconf_set_bool (MateWeatherMateConf *ctx, - const gchar *key, - gboolean the_bool, - GError **opt_error); -void mateweather_mateconf_set_int (MateWeatherMateConf *ctx, - const gchar *key, - gint the_int, - GError **opt_error); -void mateweather_mateconf_set_string (MateWeatherMateConf *ctx, - const gchar *key, - const gchar *the_string, - GError **opt_error); - -gboolean mateweather_mateconf_get_bool (MateWeatherMateConf *ctx, - const gchar *key, - GError **opt_error); -gint mateweather_mateconf_get_int (MateWeatherMateConf *ctx, - const gchar *key, - GError **opt_error); -gchar * mateweather_mateconf_get_string (MateWeatherMateConf *ctx, - const gchar *key, - GError **opt_error); - -#ifdef __cplusplus -} -#endif - -#endif /* __MATEWEATHER_MATECONF_WRAPPER_H__ */ |