]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-contact-menu.h
Merge commit 'jtellier/video-call-button-sensitivity'
[empathy.git] / libempathy-gtk / empathy-contact-menu.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2008 Collabora Ltd.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18  *
19  * Authors: Xavier Claessens <xclaesse@gmail.com>
20  */
21
22 #ifndef __EMPATHY_CONTACT_MENU_H__
23 #define __EMPATHY_CONTACT_MENU_H__
24
25 #include <gtk/gtk.h>
26
27 #include <libempathy/empathy-contact.h>
28
29 G_BEGIN_DECLS
30
31 typedef enum {
32         EMPATHY_CONTACT_FEATURE_NONE = 0,
33         EMPATHY_CONTACT_FEATURE_CHAT = 1 << 0,
34         EMPATHY_CONTACT_FEATURE_CALL = 1 << 1,
35         EMPATHY_CONTACT_FEATURE_LOG = 1 << 2,
36         EMPATHY_CONTACT_FEATURE_EDIT = 1 << 3,
37         EMPATHY_CONTACT_FEATURE_INFO = 1 << 4,
38         EMPATHY_CONTACT_FEATURE_ALL = (1 << 5) - 1,
39 } EmpathyContactFeatureFlags;
40
41 GtkWidget * empathy_contact_menu_new           (EmpathyContact             *contact,
42                                                 EmpathyContactFeatureFlags  features);
43 GtkWidget * empathy_contact_add_menu_item_new  (EmpathyContact             *contact);
44 GtkWidget * empathy_contact_chat_menu_item_new (EmpathyContact             *contact);
45 GtkWidget * empathy_contact_audio_call_menu_item_new (EmpathyContact             *contact);
46 GtkWidget * empathy_contact_video_call_menu_item_new (EmpathyContact             *contact);
47 GtkWidget * empathy_contact_log_menu_item_new  (EmpathyContact             *contact);
48 GtkWidget * empathy_contact_info_menu_item_new (EmpathyContact             *contact);
49 GtkWidget * empathy_contact_edit_menu_item_new (EmpathyContact             *contact);
50 GtkWidget * empathy_contact_invite_menu_item_new (EmpathyContact *contact);
51 GtkWidget * empathy_contact_file_transfer_menu_item_new (EmpathyContact    *contact);
52
53 G_END_DECLS
54
55 #endif /* __EMPATHY_CONTACT_MENU_H__ */
56