* Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * 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 2 * 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, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define GF_THEME(theme) ((GfTheme *)theme) #define GF_THEME_API_VERSION (1) typedef struct _GfTheme GfTheme; #include "conversation.h" #include "gf_event_info.h" #include "gf_theme_info.h" #include "gf_theme_ops.h" GfTheme *gf_theme_new_from_file(const gchar *filename); void gf_theme_destory(GfTheme *theme); GfTheme *gf_theme_find_theme_by_name(const gchar *name); gboolean gf_theme_save_to_file(GfTheme *theme, const gchar *filename); GfTheme *gf_theme_find_theme_by_filename(const gchar *filename); gchar *gf_theme_strip_name(GfTheme *theme); gboolean gf_theme_is_loaded(const gchar *filename); gboolean gf_theme_is_probed(const gchar *filename); void gf_theme_load(const gchar *filename); void gf_theme_unload(GfTheme *theme); void gf_theme_probe(const gchar *filename); void gf_theme_unprobe(const gchar *filename); void gf_themes_unprobe(); gint gf_theme_get_api_version(GfTheme *theme); const gchar *gf_theme_get_filename(GfTheme *theme); const gchar *gf_theme_get_path(GfTheme *theme); GfNotification *gf_theme_get_master(GfTheme *theme); void gf_theme_set_master(GfTheme *theme, GfNotification *notification); gchar *gf_theme_get_supported_notifications(GfTheme *theme); void gf_theme_set_theme_info(GfTheme *theme, GfThemeInfo *info); GfThemeInfo *gf_theme_get_theme_info(GfTheme *theme); void gf_theme_set_theme_options(GfTheme *theme, GfThemeOptions *ops); GfThemeOptions *gf_theme_get_theme_options(GfTheme *theme); void gf_theme_add_notification(GfTheme *theme, GfNotification *notification); void gf_theme_remove_notification(GfTheme *theme, GfNotification *notification); GList *gf_theme_get_notifications(GfTheme *theme); GList *gf_themes_get_all(); GList *gf_themes_get_loaded(); void gf_themes_save_loaded(); void gf_themes_load_saved();