From 44b85ff8d08023f49be431f1a8514240b9b4b276 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 4 Sep 2012 16:57:10 +0200 Subject: migrate to gsettings --- libmateweather/mateweather-mateconf.h | 84 ----------------------------------- 1 file changed, 84 deletions(-) delete mode 100644 libmateweather/mateweather-mateconf.h (limited to 'libmateweather/mateweather-mateconf.h') 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 - * . - * - * Authors: - * Philip Langdale - * Papadimitriou Spiros - */ - -#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 -#include -#include - -#include - -#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__ */ -- cgit v1.2.1