* Pidgin is the legal property of its developers, whose names are too numerous * to list here. Please refer to the COPYRIGHT file distributed with this * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA #ifndef _PIDGIN_SMILEY_THEME_H_ #define _PIDGIN_SMILEY_THEME_H_ * SECTION:gtksmiley-theme * @include:gtksmiley-theme.h * @section_id: pidgin-smiley-theme * @short_description: a per-protocol categorized sets of standard smileys * @title: Pidgin's smiley themes * This class implements a per-protocol based #PurpleSmileyTheme. #include <gdk-pixbuf/gdk-pixbuf.h> #include "conversation.h" #include "smiley-theme.h" #define PIDGIN_TYPE_SMILEY_THEME pidgin_smiley_theme_get_type() * pidgin_smiley_theme_get_type: * Returns: the #GType for a smiley list. G_DECLARE_FINAL_TYPE(PidginSmileyTheme, pidgin_smiley_theme, PIDGIN, SMILEY_THEME, PurpleSmileyTheme) * pidgin_smiley_theme_get_name: * @theme: the smiley theme. * Returns the name for a @theme. Valid themes always have the name set. * Returns: (transfer none): the name string, or %NULL if error occured. pidgin_smiley_theme_get_name(PidginSmileyTheme *theme); * pidgin_smiley_theme_get_description: * @theme: the smiley theme. * Returns the description for a @theme. * Returns: (transfer none): the description string, or %NULL if it's not pidgin_smiley_theme_get_description(PidginSmileyTheme *theme); * pidgin_smiley_theme_get_icon: * @theme: the smiley theme. * Returns the @theme's icon image, possibly loading it from the disk (and * adding it to the cache). * Returns: (transfer none): the @theme's icon image. pidgin_smiley_theme_get_icon(PidginSmileyTheme *theme); * pidgin_smiley_theme_get_author: * @theme: the smiley theme. * Returns the autor of @theme. * Returns: (transfer none): the author string, or %NULL if it's not pidgin_smiley_theme_get_author(PidginSmileyTheme *theme); * pidgin_smiley_theme_for_conv: * @conv: the conversation. * Gets the smiley list for a @conv based on current theme. * Returns: (transfer none): the smiley list, or %NULL if there * is no smiley theme set. pidgin_smiley_theme_for_conv(PurpleConversation *conv); * pidgin_smiley_theme_get_all: * Returns the list of currently available smiley themes. * Returns: (transfer none) (element-type PidginSmileyTheme): the #GList of #PidginSmileyTheme's. pidgin_smiley_theme_get_all(void); * _pidgin_smiley_theme_init: (skip) * Initializes the Pidgin's smiley theme subsystem. _pidgin_smiley_theme_init(void); * _pidgin_smiley_theme_uninit: (skip) * Unitializes the Pidgin's smiley theme subsystem. _pidgin_smiley_theme_uninit(void); #endif /* _PIDGIN_SMILEY_THEME_H_ */