00001 00007 /* pidgin 00008 * 00009 * Pidgin is the legal property of its developers, whose names are too numerous 00010 * to list here. Please refer to the COPYRIGHT file distributed with this 00011 * source distribution. 00012 * 00013 * This program is free software; you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License as published by 00015 * the Free Software Foundation; either version 2 of the License, or 00016 * (at your option) any later version. 00017 * 00018 * This program is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with this program; if not, write to the Free Software 00025 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 00026 */ 00027 00028 #ifndef _PIDGIN_GTKSMILEY_H_ 00029 #define _PIDGIN_GTKSMILEY_H_ 00030 00031 #include "smiley.h" 00032 00033 typedef struct _PidginSmiley PidginSmiley; 00034 00041 void pidgin_smiley_add_to_list(PurpleSmiley *smiley); 00042 00048 void pidgin_smiley_del_from_list(PurpleSmiley *smiley); 00049 00053 void pidgin_smileys_init(void); 00054 00058 void pidgin_smileys_uninit(void); 00059 00065 GSList* pidgin_smileys_get_all(void); 00066 00067 /****************************************************************************** 00068 * Smiley Manager 00069 *****************************************************************************/ 00073 void pidgin_smiley_manager_show(void); 00074 00085 PidginSmiley *pidgin_smiley_edit(GtkWidget *widget, PurpleSmiley *smiley); 00086 00093 void pidgin_smiley_editor_set_shortcut(PidginSmiley *editor, const gchar *shortcut); 00094 00101 void pidgin_smiley_editor_set_image(PidginSmiley *editor, GdkPixbuf *image); 00102 00103 #endif /* _PIDGIN_GTKSMILEY_H_*/