| 1 /** |
|
| 2 * @file gtkthemes.h GTK+ Smiley Theme API |
|
| 3 * @ingroup gtkui |
|
| 4 * |
|
| 5 * gaim |
|
| 6 * |
|
| 7 * Gaim is the legal property of its developers, whose names are too numerous |
|
| 8 * to list here. Please refer to the COPYRIGHT file distributed with this |
|
| 9 * source distribution. |
|
| 10 * |
|
| 11 * This program is free software; you can redistribute it and/or modify |
|
| 12 * it under the terms of the GNU General Public License as published by |
|
| 13 * the Free Software Foundation; either version 2 of the License, or |
|
| 14 * (at your option) any later version. |
|
| 15 * |
|
| 16 * This program is distributed in the hope that it will be useful, |
|
| 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 19 * GNU General Public License for more details. |
|
| 20 * |
|
| 21 * You should have received a copy of the GNU General Public License |
|
| 22 * along with this program; if not, write to the Free Software |
|
| 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 24 */ |
|
| 25 #ifndef _GAIM_GTKTHEMES_H_ |
|
| 26 #define _GAIM_GTKTHEMES_H_ |
|
| 27 |
|
| 28 struct smiley_list { |
|
| 29 char *sml; |
|
| 30 GSList *smileys; |
|
| 31 struct smiley_list *next; |
|
| 32 }; |
|
| 33 |
|
| 34 struct smiley_theme { |
|
| 35 char *path; |
|
| 36 char *name; |
|
| 37 char *desc; |
|
| 38 char *icon; |
|
| 39 char *author; |
|
| 40 |
|
| 41 struct smiley_list *list; |
|
| 42 }; |
|
| 43 |
|
| 44 extern struct smiley_theme *current_smiley_theme; |
|
| 45 extern GSList *smiley_themes; |
|
| 46 |
|
| 47 void gaim_gtkthemes_init(void); |
|
| 48 gboolean gaim_gtkthemes_smileys_disabled(void); |
|
| 49 void gaim_gtkthemes_smiley_themeize(GtkWidget *); |
|
| 50 void gaim_gtkthemes_smiley_theme_probe(void); |
|
| 51 void gaim_gtkthemes_load_smiley_theme(const char *file, gboolean load); |
|
| 52 GSList *gaim_gtkthemes_get_proto_smileys(const char *id); |
|
| 53 #endif /* _GAIM_GTKDIALOGS_H_ */ |
|