Merge branch 'trivia'
[empathy-mirror.git] / libempathy-gtk / empathy-contact-menu.h
blob4c6d62f9dce3615550b22bb0f3baf478d0043f84
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Copyright (C) 2008 Collabora Ltd.
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.
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.
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
19 * Authors: Xavier Claessens <xclaesse@gmail.com>
22 #ifndef __EMPATHY_CONTACT_MENU_H__
23 #define __EMPATHY_CONTACT_MENU_H__
25 #include <gtk/gtk.h>
27 #include <libempathy/empathy-contact.h>
29 G_BEGIN_DECLS
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_FAVOURITE = 1 << 5,
39 EMPATHY_CONTACT_FEATURE_ALL = (1 << 6) - 1,
40 } EmpathyContactFeatureFlags;
42 GtkWidget * empathy_contact_menu_new (EmpathyContact *contact,
43 EmpathyContactFeatureFlags features);
44 GtkWidget * empathy_contact_add_menu_item_new (EmpathyContact *contact);
45 GtkWidget * empathy_contact_chat_menu_item_new (EmpathyContact *contact);
46 GtkWidget * empathy_contact_audio_call_menu_item_new (EmpathyContact *contact);
47 GtkWidget * empathy_contact_video_call_menu_item_new (EmpathyContact *contact);
48 GtkWidget * empathy_contact_log_menu_item_new (EmpathyContact *contact);
49 GtkWidget * empathy_contact_info_menu_item_new (EmpathyContact *contact);
50 GtkWidget * empathy_contact_edit_menu_item_new (EmpathyContact *contact);
51 GtkWidget * empathy_contact_invite_menu_item_new (EmpathyContact *contact);
52 GtkWidget * empathy_contact_file_transfer_menu_item_new (EmpathyContact *contact);
53 GtkWidget * empathy_contact_share_my_desktop_menu_item_new (EmpathyContact *contact);
54 GtkWidget * empathy_contact_favourite_menu_item_new (EmpathyContact *contact);
56 G_END_DECLS
58 #endif /* __EMPATHY_CONTACT_MENU_H__ */