diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-25 17:33:29 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-25 17:33:29 +0800 |
commit | 50efb94e69a9cccebb7475f1977e7eb1f749f362 (patch) | |
tree | 60f490e3c7896e5ecb5b2cda835030ebfc1630ef /libempathy-gtk/empathy-contact-menu.h | |
parent | 9d5d80ba33f31e935c7335be6fa89ecd183b85bc (diff) | |
download | gsoc2013-empathy-50efb94e69a9cccebb7475f1977e7eb1f749f362.tar gsoc2013-empathy-50efb94e69a9cccebb7475f1977e7eb1f749f362.tar.gz gsoc2013-empathy-50efb94e69a9cccebb7475f1977e7eb1f749f362.tar.bz2 gsoc2013-empathy-50efb94e69a9cccebb7475f1977e7eb1f749f362.tar.lz gsoc2013-empathy-50efb94e69a9cccebb7475f1977e7eb1f749f362.tar.xz gsoc2013-empathy-50efb94e69a9cccebb7475f1977e7eb1f749f362.tar.zst gsoc2013-empathy-50efb94e69a9cccebb7475f1977e7eb1f749f362.zip |
Create contact menu in empathy-contact-menu.h
svn path=/trunk/; revision=1046
Diffstat (limited to 'libempathy-gtk/empathy-contact-menu.h')
-rw-r--r-- | libempathy-gtk/empathy-contact-menu.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-contact-menu.h b/libempathy-gtk/empathy-contact-menu.h index 4b9427b76..dd8d16147 100644 --- a/libempathy-gtk/empathy-contact-menu.h +++ b/libempathy-gtk/empathy-contact-menu.h @@ -28,11 +28,23 @@ G_BEGIN_DECLS -GtkWidget * empathy_contact_chat_menu_item_new (EmpathyContact *contact); -GtkWidget * empathy_contact_call_menu_item_new (EmpathyContact *contact); -GtkWidget * empathy_contact_log_menu_item_new (EmpathyContact *contact); -GtkWidget * empathy_contact_info_menu_item_new (EmpathyContact *contact); -GtkWidget * empathy_contact_edit_menu_item_new (EmpathyContact *contact); +typedef enum { + EMPATHY_CONTACT_FEATURE_NONE = 0, + EMPATHY_CONTACT_FEATURE_CHAT = 1 << 0, + EMPATHY_CONTACT_FEATURE_CALL = 1 << 1, + EMPATHY_CONTACT_FEATURE_LOG = 1 << 2, + EMPATHY_CONTACT_FEATURE_EDIT = 1 << 3, + EMPATHY_CONTACT_FEATURE_INFO = 1 << 4, + EMPATHY_CONTACT_FEATURE_ALL = (1 << 5) - 1, +} EmpathyContactFeatureFlags; + +GtkWidget * empathy_contact_menu_new (EmpathyContact *contact, + EmpathyContactFeatureFlags features); +GtkWidget * empathy_contact_chat_menu_item_new (EmpathyContact *contact); +GtkWidget * empathy_contact_call_menu_item_new (EmpathyContact *contact); +GtkWidget * empathy_contact_log_menu_item_new (EmpathyContact *contact); +GtkWidget * empathy_contact_info_menu_item_new (EmpathyContact *contact); +GtkWidget * empathy_contact_edit_menu_item_new (EmpathyContact *contact); G_END_DECLS |