diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-05-25 19:32:38 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-14 15:21:48 +0800 |
commit | 6aef9eda7957ac651f21b6a54efac85ad71e7d3c (patch) | |
tree | 34f423bd4da7b6128ac0a2fb749807b88b16cbb8 /libempathy-gtk/empathy-roster-contact.h | |
parent | 2434369020f74d732a8b8fac431ad35081b57bf5 (diff) | |
download | gsoc2013-empathy-6aef9eda7957ac651f21b6a54efac85ad71e7d3c.tar gsoc2013-empathy-6aef9eda7957ac651f21b6a54efac85ad71e7d3c.tar.gz gsoc2013-empathy-6aef9eda7957ac651f21b6a54efac85ad71e7d3c.tar.bz2 gsoc2013-empathy-6aef9eda7957ac651f21b6a54efac85ad71e7d3c.tar.lz gsoc2013-empathy-6aef9eda7957ac651f21b6a54efac85ad71e7d3c.tar.xz gsoc2013-empathy-6aef9eda7957ac651f21b6a54efac85ad71e7d3c.tar.zst gsoc2013-empathy-6aef9eda7957ac651f21b6a54efac85ad71e7d3c.zip |
rename EmpathyRosterItem to EmpathyRosterContact
Diffstat (limited to 'libempathy-gtk/empathy-roster-contact.h')
-rw-r--r-- | libempathy-gtk/empathy-roster-contact.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-contact.h b/libempathy-gtk/empathy-roster-contact.h new file mode 100644 index 000000000..09a791874 --- /dev/null +++ b/libempathy-gtk/empathy-roster-contact.h @@ -0,0 +1,58 @@ +#ifndef __EMPATHY_ROSTER_CONTACT_H__ +#define __EMPATHY_ROSTER_CONTACT_H__ + +#include <gtk/gtk.h> +#include <folks/folks.h> + +G_BEGIN_DECLS + +typedef struct _EmpathyRosterContact EmpathyRosterContact; +typedef struct _EmpathyRosterContactClass EmpathyRosterContactClass; +typedef struct _EmpathyRosterContactPriv EmpathyRosterContactPriv; + +struct _EmpathyRosterContactClass +{ + /*<private>*/ + GtkAlignmentClass parent_class; +}; + +struct _EmpathyRosterContact +{ + /*<private>*/ + GtkAlignment parent; + EmpathyRosterContactPriv *priv; +}; + +GType empathy_roster_contact_get_type (void); + +/* TYPE MACROS */ +#define EMPATHY_TYPE_ROSTER_CONTACT \ + (empathy_roster_contact_get_type ()) +#define EMPATHY_ROSTER_CONTACT(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj), \ + EMPATHY_TYPE_ROSTER_CONTACT, \ + EmpathyRosterContact)) +#define EMPATHY_ROSTER_CONTACT_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass), \ + EMPATHY_TYPE_ROSTER_CONTACT, \ + EmpathyRosterContactClass)) +#define EMPATHY_IS_ROSTER_CONTACT(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj), \ + EMPATHY_TYPE_ROSTER_CONTACT)) +#define EMPATHY_IS_ROSTER_CONTACT_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE((klass), \ + EMPATHY_TYPE_ROSTER_CONTACT)) +#define EMPATHY_ROSTER_CONTACT_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), \ + EMPATHY_TYPE_ROSTER_CONTACT, \ + EmpathyRosterContactClass)) + +GtkWidget * empathy_roster_contact_new (FolksIndividual *individual); + +FolksIndividual * empathy_roster_contact_get_individual (EmpathyRosterContact *self); + +gboolean empathy_roster_contact_is_online (EmpathyRosterContact *self); + +G_END_DECLS + +#endif /* #ifndef __EMPATHY_ROSTER_CONTACT_H__*/ |