aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-persona-view.h
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-24 21:57:56 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-27 17:23:49 +0800
commit1337c4e6f42da41d1da84f32586f33812b8ec2b5 (patch)
treefa81e37043bd129e3610002c253935dd524e03ce /libempathy-gtk/empathy-persona-view.h
parent5e9eff1788ca0344be6cb09a304a89add7002248 (diff)
downloadgsoc2013-empathy-1337c4e6f42da41d1da84f32586f33812b8ec2b5.tar
gsoc2013-empathy-1337c4e6f42da41d1da84f32586f33812b8ec2b5.tar.gz
gsoc2013-empathy-1337c4e6f42da41d1da84f32586f33812b8ec2b5.tar.bz2
gsoc2013-empathy-1337c4e6f42da41d1da84f32586f33812b8ec2b5.tar.lz
gsoc2013-empathy-1337c4e6f42da41d1da84f32586f33812b8ec2b5.tar.xz
gsoc2013-empathy-1337c4e6f42da41d1da84f32586f33812b8ec2b5.tar.zst
gsoc2013-empathy-1337c4e6f42da41d1da84f32586f33812b8ec2b5.zip
Add feature support for EmpathyPersonaView
Diffstat (limited to 'libempathy-gtk/empathy-persona-view.h')
-rw-r--r--libempathy-gtk/empathy-persona-view.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-persona-view.h b/libempathy-gtk/empathy-persona-view.h
index 11fe039eb..c7ba61d05 100644
--- a/libempathy-gtk/empathy-persona-view.h
+++ b/libempathy-gtk/empathy-persona-view.h
@@ -36,6 +36,12 @@
G_BEGIN_DECLS
+typedef enum
+{
+ EMPATHY_PERSONA_VIEW_FEATURE_NONE = 0,
+ EMPATHY_PERSONA_VIEW_FEATURE_ALL = (1 << 0) - 1,
+} EmpathyPersonaViewFeatureFlags;
+
#define EMPATHY_TYPE_PERSONA_VIEW (empathy_persona_view_get_type ())
#define EMPATHY_PERSONA_VIEW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
EMPATHY_TYPE_PERSONA_VIEW, EmpathyPersonaView))
@@ -61,7 +67,8 @@ typedef struct
GType empathy_persona_view_get_type (void) G_GNUC_CONST;
-EmpathyPersonaView *empathy_persona_view_new (EmpathyPersonaStore *store);
+EmpathyPersonaView *empathy_persona_view_new (EmpathyPersonaStore *store,
+ EmpathyPersonaViewFeatureFlags features);
FolksPersona *empathy_persona_view_dup_selected (EmpathyPersonaView *self);