Mercurial > pidgin.yaz
diff pidgin/gtkconv-theme.h @ 32623:2e8c905a5e74
Attempt to move the message style object from the plugin into the new
PurpleConvTheme GObject. This is probably not yet abstracted correctly
as I don't quite understand how the ThemeLoader bit fits into it all.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 17 Sep 2011 06:27:35 +0000 |
parents | 17c27a527004 |
children | dc835fb3dcd3 |
line wrap: on
line diff
--- a/pidgin/gtkconv-theme.h Sat Sep 17 06:14:59 2011 +0000 +++ b/pidgin/gtkconv-theme.h Sat Sep 17 06:27:35 2011 +0000 @@ -68,6 +68,16 @@ */ GType pidgin_conversation_theme_get_type(void); +PidginConvTheme *pidgin_conversation_theme_load(const char *styledir); +PidginConvTheme *pidgin_conversation_theme_copy(const PidginConvTheme *theme); +void pidgin_conversation_theme_save_state(const PidginConvTheme *theme); +void pidgin_conversation_theme_read_info_plist(PidginConvTheme *theme, const char *variant); +char *pidgin_conversation_theme_get_variant(PidginConvTheme *theme); +GList *pidgin_conversation_theme_get_variants(PidginConvTheme *theme); +void pidgin_conversation_theme_set_variant(PidginConvTheme *theme, const char *variant); + +char *pidgin_conversation_theme_get_css(PidginConvTheme *theme); + G_END_DECLS #endif /* PIDGIN_CONV_THEME_H */