grim/guifications3

moved gflib-gtk to the new cmake module
cmake
2010-12-15, Gary Kramlich
b6418db658c1
moved gflib-gtk to the new cmake module
/*
* 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_PREFERENCE_ENGINE_XML_H
#define GF_PREFERENCE_ENGINE_XML_H
#include <gflib/gf_preference_engine.h>
#define GF_TYPE_PREFERENCE_ENGINE_XML (gf_preference_engine_xml_get_g_type())
#define GF_PREFERENCE_ENGINE_XML(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GF_TYPE_PREFERENCE_ENGINE_XML, GfPreferenceEngineXML))
#define GF_PREFERENCE_ENGINE_XML_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GF_TYPE_PREFERENCE_ENGINE_XML, GfPreferenceEngineXMLClass))
#define GF_IS_PREFERENCE_ENGINE_XML(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GF_TYPE_PREFERENCE_ENGINE_XML))
#define GF_IS_PREFERENCE_ENGINE_XML_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GF_TYPE_PREFERENCE_ENGINE_XML))
#define GF_PREFERENCE_ENGINE_XML_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GF_TYPE_PREFERENCE_ENGINE_XML, GfPreferenceEngineXMLClass))
typedef struct _GfPreferenceEngineXML GfPreferenceEngineXML;
typedef struct _GfPreferenceEngineXMLClass GfPreferenceEngineXMLClass;
/**
* GfPreferenceEngineXML:
*
* A #GfPreferenceEngine implementation that uses an XML file for storage.
*/
struct _GfPreferenceEngineXML {
/*< private >*/
GfPreferenceEngine gparent;
};
struct _GfPreferenceEngineXMLClass {
GfPreferenceEngineClass gparent;
void (*gf_reserved1)(void);
void (*gf_reserved2)(void);
void (*gf_reserved3)(void);
void (*gf_reserved4)(void);
};
G_BEGIN_DECLS
GType gf_preference_engine_xml_get_g_type(void);
GfPreferenceEngine *gf_preference_engine_xml_new(const gchar *filename);
void gf_preference_engine_xml_set_filename(GfPreferenceEngineXML *engine, const gchar *filename);
const gchar *gf_preference_engine_xml_get_filename(const GfPreferenceEngineXML *engine);
G_END_DECLS
#endif /* GF_PREFERENCE_ENGINE_XML_H */