aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-list-view.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-25 17:33:29 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-25 17:33:29 +0800
commit50efb94e69a9cccebb7475f1977e7eb1f749f362 (patch)
tree60f490e3c7896e5ecb5b2cda835030ebfc1630ef /libempathy-gtk/empathy-contact-list-view.h
parent9d5d80ba33f31e935c7335be6fa89ecd183b85bc (diff)
downloadgsoc2013-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-list-view.h')
-rw-r--r--libempathy-gtk/empathy-contact-list-view.h35
1 files changed, 13 insertions, 22 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.h b/libempathy-gtk/empathy-contact-list-view.h
index 34f194b14..47159fd24 100644
--- a/libempathy-gtk/empathy-contact-list-view.h
+++ b/libempathy-gtk/empathy-contact-list-view.h
@@ -31,6 +31,7 @@
#include <libempathy/empathy-contact.h>
#include "empathy-contact-list-store.h"
+#include "empathy-contact-menu.h"
G_BEGIN_DECLS
@@ -49,18 +50,11 @@ typedef enum {
EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE = 1 << 0,
EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME = 1 << 1,
EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE = 1 << 2,
- EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT = 1 << 3,
- EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL = 1 << 4,
- EMPATHY_CONTACT_LIST_FEATURE_CONTACT_LOG = 1 << 5,
- EMPATHY_CONTACT_LIST_FEATURE_CONTACT_FT = 1 << 6,
- EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INVITE = 1 << 7,
- EMPATHY_CONTACT_LIST_FEATURE_CONTACT_EDIT = 1 << 8,
- EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INFO = 1 << 9,
- EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE = 1 << 10,
- EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP = 1 << 11,
- EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG = 1 << 12,
- EMPATHY_CONTACT_LIST_FEATURE_ALL = (1 << 13) - 1,
-} EmpathyContactListFeatures;
+ EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE = 1 << 3,
+ EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP = 1 << 4,
+ EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG = 1 << 5,
+ EMPATHY_CONTACT_LIST_FEATURE_ALL = (1 << 6) - 1,
+} EmpathyContactListFeatureFlags;
struct _EmpathyContactListView {
GtkTreeView parent;
@@ -71,16 +65,13 @@ struct _EmpathyContactListViewClass {
};
GType empathy_contact_list_view_get_type (void) G_GNUC_CONST;
-EmpathyContactListView * empathy_contact_list_view_new (EmpathyContactListStore *store,
- EmpathyContactListFeatures features);
-void empathy_contact_list_view_set_features (EmpathyContactListView *view,
- EmpathyContactListFeatures features);
-EmpathyContactListFeatures empathy_contact_list_view_get_features (EmpathyContactListView *view);
-EmpathyContact * empathy_contact_list_view_get_selected (EmpathyContactListView *view);
-gchar * empathy_contact_list_view_get_selected_group (EmpathyContactListView *view);
-GtkWidget * empathy_contact_list_view_get_contact_menu (EmpathyContactListView *view,
- EmpathyContact *contact);
-GtkWidget * empathy_contact_list_view_get_group_menu (EmpathyContactListView *view);
+EmpathyContactListView * empathy_contact_list_view_new (EmpathyContactListStore *store,
+ EmpathyContactListFeatureFlags list_features,
+ EmpathyContactFeatureFlags contact_features);
+EmpathyContact * empathy_contact_list_view_get_selected (EmpathyContactListView *view);
+gchar * empathy_contact_list_view_get_selected_group (EmpathyContactListView *view);
+GtkWidget * empathy_contact_list_view_get_contact_menu (EmpathyContactListView *view);
+GtkWidget * empathy_contact_list_view_get_group_menu (EmpathyContactListView *view);
G_END_DECLS