grim/guifications3

1eb207f1d7ef
include gflib/gf_intl.h since it's no longer included via gf_lib.h
/*
* Guifications - The end-all, be-all notification framework
* Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
*
* This program 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 3 of the License, or
* (at your option) any later version.
*
* This program 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 program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GF_PREFERENCES_PROXY_H
#define GF_PREFERENCES_PROXY_H
#define GF_TYPE_PREFERENCES_PROXY (gf_preferences_proxy_get_type())
#define GF_PREFERENCES_PROXY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GF_TYPE_PREFERENCES_PROXY, GfPreferencesProxy))
#define GF_PREFERENCES_PROXY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GF_TYPE_PREFERENCES_PROXY, GfPreferencesProxyClass))
#define GF_IS_PREFERENCES_PROXY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GF_TYPE_PREFERENCES_PROXY))
#define GF_IS_PREFERENCES_PROXY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GF_TYPE_PREFERENCES_PROXY))
#define GF_PREFERENCES_PROXY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GF_TYPE_PREFERENCES_PROXY, GfPreferencesProxyClass))
typedef struct _GfPreferencesProxy GfPreferencesProxy;
typedef struct _GfPreferencesProxyClass GfPreferencesProxyClass;
#include <gflib/gf_preference_engine.h>
/**
* GfPreferencesProxy:
*
* An implementation of #GfPreferenceEngine that allows other
* #GfPreferenceEngine's to be accessed through a given path.
*/
struct _GfPreferencesProxy {
/*< private >*/
GfPreferenceEngine gparent;
};
struct _GfPreferencesProxyClass {
GfPreferenceEngineClass gparent;
gboolean (*add_engine)(GfPreferencesProxy *proxy, GfPreferenceEngine *engine, const gchar *mount_point);
gboolean (*remove_engine)(GfPreferencesProxy *proxy, const gchar *mount_point);
void (*_gf_reserved1)(void);
void (*_gf_reserved2)(void);
void (*_gf_reserved3)(void);
void (*_gf_reserved4)(void);
};
G_BEGIN_DECLS
GType gf_preferences_proxy_get_type(void);
GfPreferenceEngine *gf_preferences_proxy_new(void);
gboolean gf_preferences_proxy_add_engine(GfPreferencesProxy *proxy, GfPreferenceEngine *engine, const gchar *mount_point);
gboolean gf_preferences_proxy_remove_engine(GfPreferencesProxy *proxy, const gchar *mount_point);
G_END_DECLS
#endif /* GF_PREFERENCES_PROXY_H */