aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-adium.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-06-22 16:43:38 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-22 21:24:55 +0800
commit4c782007bf100a3820dc265bca6fceda17991a77 (patch)
tree6bed62af4f688f2bf5047a36527f343bd0f678eb /libempathy-gtk/empathy-theme-adium.h
parent0f915c44a5e5a2fd91c5b5b26f5a8e5a78ee7ed3 (diff)
downloadgsoc2013-empathy-4c782007bf100a3820dc265bca6fceda17991a77.tar
gsoc2013-empathy-4c782007bf100a3820dc265bca6fceda17991a77.tar.gz
gsoc2013-empathy-4c782007bf100a3820dc265bca6fceda17991a77.tar.bz2
gsoc2013-empathy-4c782007bf100a3820dc265bca6fceda17991a77.tar.lz
gsoc2013-empathy-4c782007bf100a3820dc265bca6fceda17991a77.tar.xz
gsoc2013-empathy-4c782007bf100a3820dc265bca6fceda17991a77.tar.zst
gsoc2013-empathy-4c782007bf100a3820dc265bca6fceda17991a77.zip
Move all data about an adium theme into EmpathyAdiumData struct and share it with all EmpathyThemeAdium instances.
Diffstat (limited to 'libempathy-gtk/empathy-theme-adium.h')
-rw-r--r--libempathy-gtk/empathy-theme-adium.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.h b/libempathy-gtk/empathy-theme-adium.h
index b62675680..868703073 100644
--- a/libempathy-gtk/empathy-theme-adium.h
+++ b/libempathy-gtk/empathy-theme-adium.h
@@ -37,6 +37,7 @@ G_BEGIN_DECLS
typedef struct _EmpathyThemeAdium EmpathyThemeAdium;
typedef struct _EmpathyThemeAdiumClass EmpathyThemeAdiumClass;
+typedef struct _EmpathyAdiumData EmpathyAdiumData;
struct _EmpathyThemeAdium {
WebKitWebView parent;
@@ -48,8 +49,17 @@ struct _EmpathyThemeAdiumClass {
};
GType empathy_theme_adium_get_type (void) G_GNUC_CONST;
-EmpathyThemeAdium *empathy_theme_adium_new (const gchar *path);
-gboolean empathy_theme_adium_is_valid (const gchar *path);
+EmpathyThemeAdium *empathy_theme_adium_new (EmpathyAdiumData *data);
+
+gboolean empathy_adium_path_is_valid (const gchar *path);
+
+#define EMPATHY_TYPE_ADIUM_DATA (empathy_adium_data_get_type ())
+GType empathy_adium_data_get_type (void) G_GNUC_CONST;
+EmpathyAdiumData *empathy_adium_data_new (const gchar *path);
+EmpathyAdiumData *empathy_adium_data_ref (EmpathyAdiumData *data);
+void empathy_adium_data_unref (EmpathyAdiumData *data);
+GHashTable *empathy_adium_data_get_info (EmpathyAdiumData *data);
+const gchar *empathy_adium_data_get_path (EmpathyAdiumData *data);
G_END_DECLS