diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-05-11 21:21:02 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-14 15:21:45 +0800 |
commit | 44ca1d97c09703fd2738b6169d36aea69280dbb2 (patch) | |
tree | 99863f34f4d42f63c56afa4949b7da5c579a5266 /libempathy-gtk/empathy-roster-view.h | |
parent | a4314139d588a7bee5e7c7da31a3b865b5b9b1e8 (diff) | |
download | gsoc2013-empathy-44ca1d97c09703fd2738b6169d36aea69280dbb2.tar gsoc2013-empathy-44ca1d97c09703fd2738b6169d36aea69280dbb2.tar.gz gsoc2013-empathy-44ca1d97c09703fd2738b6169d36aea69280dbb2.tar.bz2 gsoc2013-empathy-44ca1d97c09703fd2738b6169d36aea69280dbb2.tar.lz gsoc2013-empathy-44ca1d97c09703fd2738b6169d36aea69280dbb2.tar.xz gsoc2013-empathy-44ca1d97c09703fd2738b6169d36aea69280dbb2.tar.zst gsoc2013-empathy-44ca1d97c09703fd2738b6169d36aea69280dbb2.zip |
create roster-view skeleton
Diffstat (limited to 'libempathy-gtk/empathy-roster-view.h')
-rw-r--r-- | libempathy-gtk/empathy-roster-view.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-view.h b/libempathy-gtk/empathy-roster-view.h new file mode 100644 index 000000000..2567e75d2 --- /dev/null +++ b/libempathy-gtk/empathy-roster-view.h @@ -0,0 +1,58 @@ + +#ifndef __EMPATHY_ROSTER_VIEW_H__ +#define __EMPATHY_ROSTER_VIEW_H__ + +#include <libempathy-gtk/egg-list-box/egg-list-box.h> +#include <libempathy/empathy-individual-manager.h> + +G_BEGIN_DECLS + +typedef struct _EmpathyRosterView EmpathyRosterView; +typedef struct _EmpathyRosterViewClass EmpathyRosterViewClass; +typedef struct _EmpathyRosterViewPriv EmpathyRosterViewPriv; + +struct _EmpathyRosterViewClass +{ + /*<private>*/ + EggListBoxClass parent_class; +}; + +struct _EmpathyRosterView +{ + /*<private>*/ + EggListBox parent; + EmpathyRosterViewPriv *priv; +}; + +GType empathy_roster_view_get_type (void); + +/* TYPE MACROS */ +#define EMPATHY_TYPE_ROSTER_VIEW \ + (empathy_roster_view_get_type ()) +#define EMPATHY_ROSTER_VIEW(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj), \ + EMPATHY_TYPE_ROSTER_VIEW, \ + EmpathyRosterView)) +#define EMPATHY_ROSTER_VIEW_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass), \ + EMPATHY_TYPE_ROSTER_VIEW, \ + EmpathyRosterViewClass)) +#define EMPATHY_IS_ROSTER_VIEW(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj), \ + EMPATHY_TYPE_ROSTER_VIEW)) +#define EMPATHY_IS_ROSTER_VIEW_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE((klass), \ + EMPATHY_TYPE_ROSTER_VIEW)) +#define EMPATHY_ROSTER_VIEW_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), \ + EMPATHY_TYPE_ROSTER_VIEW, \ + EmpathyRosterViewClass)) + +GtkWidget * empathy_roster_view_new (EmpathyIndividualManager *manager); + +EmpathyIndividualManager * empathy_roster_view_get_manager ( + EmpathyRosterView *self); + +G_END_DECLS + +#endif /* #ifndef __EMPATHY_ROSTER_VIEW_H__*/ |