00001 00006 /* pidgin 00007 * 00008 * Pidgin is the legal property of its developers, whose names are too numerous 00009 * to list here. Please refer to the COPYRIGHT file distributed with this 00010 * source distribution. 00011 * 00012 * This program is free software; you can redistribute it and/or modify 00013 * it under the terms of the GNU General Public License as published by 00014 * the Free Software Foundation; either version 2 of the License, or 00015 * (at your option) any later version. 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU General Public License for more details. 00021 * 00022 * You should have received a copy of the GNU General Public License 00023 * along with this program; if not, write to the Free Software 00024 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 00025 */ 00026 #ifndef _PIDGINTHEMES_H_ 00027 #define _PIDGINTHEMES_H_ 00028 00029 struct smiley_list { 00030 char *sml; 00031 GSList *smileys; 00032 struct smiley_list *next; 00033 }; 00034 00035 struct smiley_theme { 00036 char *path; 00037 char *name; 00038 char *desc; 00039 char *icon; 00040 char *author; 00041 00042 struct smiley_list *list; 00043 }; 00044 00045 extern struct smiley_theme *current_smiley_theme; 00046 extern GSList *smiley_themes; 00047 00048 void pidgin_themes_init(void); 00049 00050 gboolean pidgin_themes_smileys_disabled(void); 00051 00052 void pidgin_themes_smiley_themeize(GtkWidget *); 00053 00057 void pidgin_themes_smiley_themeize_custom(GtkWidget *); 00058 00059 void pidgin_themes_smiley_theme_probe(void); 00060 00061 void pidgin_themes_load_smiley_theme(const char *file, gboolean load); 00062 00066 void pidgin_themes_remove_smiley_theme(const char *file); 00067 00068 GSList *pidgin_themes_get_proto_smileys(const char *id); 00069 00070 #endif /* _PIDGINTHEMES_H_ */