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_PLUGIN_INFO_H
#define GF_PLUGIN_INFO_H
typedef struct _GfPluginInfo GfPluginInfo;
#include <glib-object.h>
#include <gflib/gf_plugin.h>
#define GF_TYPE_PLUGIN_INFO (gf_plugin_info_get_type())
/**
* GfPluginInfo:
* @abi_version: The abi version that this plugin was compiled for.
* @flags: The #GfPluginFlags for the plugin.
* @name: The name of the plugin.
* @version: The version of the plugin.
* @summary: The summary of the plugin.
* @description: The description of the plugin.
* @author: The author of the plugin.
* @website: The website of the plugin.
*
* The boxed structure that holds infromation about a #GfPlugin.
*/
struct _GfPluginInfo {
guint32 abi_version;
GfPluginFlags flags;
gchar *name;
gchar *version;
gchar *summary;
gchar *description;
gchar *author;
gchar *website;
};
G_BEGIN_DECLS
GType gf_plugin_info_get_type(void);
GfPluginInfo *gf_plugin_info_new(guint32 abi_version, const gchar *name, const gchar *version, const gchar *summary, const gchar *description, const gchar *author, const gchar *website);
GfPluginInfo *gf_plugin_info_copy(const GfPluginInfo *info);
void gf_plugin_info_free(GfPluginInfo *info);
guint32 gf_plugin_info_get_abi_version(const GfPluginInfo *info);
const gchar *gf_plugin_info_get_name(const GfPluginInfo *info);
const gchar *gf_plugin_info_get_version(const GfPluginInfo *info);
const gchar *gf_plugin_info_get_summary(const GfPluginInfo *info);
const gchar *gf_plugin_info_get_description(const GfPluginInfo *info);
const gchar *gf_plugin_info_get_author(const GfPluginInfo *info);
const gchar *gf_plugin_info_get_website(const GfPluginInfo *info);
G_END_DECLS
#endif /* GF_PLUGIN_INFO_H */