Mercurial > pidgin
diff libpurple/theme.h @ 25080:8f397c8e728a
Added description to theme abstract class
| author | Justin Rodriguez <ffdragon@soc.pidgin.im> |
|---|---|
| date | Wed, 11 Jun 2008 18:32:12 +0000 |
| parents | 68b7691aa3ed |
| children | fbf72bbd1084 |
line wrap: on
line diff
--- a/libpurple/theme.h Wed Jun 11 03:51:47 2008 +0000 +++ b/libpurple/theme.h Wed Jun 11 18:32:12 2008 +0000 @@ -1,5 +1,5 @@ /** - * @file purpletheme.h Purple Theme Abstact Class API + * @file theme.h Purple Theme Abstact Class API */ /* purple @@ -86,6 +86,23 @@ void purple_theme_set_name(PurpleTheme *theme, const gchar *name); /** + * Returns the description of the PurpleTheme object + * + * @param theme the purple theme + * + * @return A short description of the theme + */ +gchar *purple_theme_get_description(PurpleTheme *theme); + +/** + * Sets the description of the PurpleTheme object + * + * @param theme the purple theme + * @param description the description of the PurpleTheme object + */ +void purple_theme_set_description(PurpleTheme *theme, const gchar *description); + +/** * Returns the author of the PurpleTheme object * * @param theme the purple theme
