Update python binding
[empathy.git] / libempathy-gtk / empathy-contact-menu.h
blobfddc40c491a29e1413df64cf7b09fceeb1dff07b
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/gtkmenu.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_ALL = (1 << 5) - 1,
39 } EmpathyContactFeatureFlags;
41 GtkWidget * empathy_contact_menu_new (EmpathyContact *contact,
42 EmpathyContactFeatureFlags features);
43 GtkWidget * empathy_contact_chat_menu_item_new (EmpathyContact *contact);
44 GtkWidget * empathy_contact_call_menu_item_new (EmpathyContact *contact);
45 GtkWidget * empathy_contact_log_menu_item_new (EmpathyContact *contact);
46 GtkWidget * empathy_contact_info_menu_item_new (EmpathyContact *contact);
47 GtkWidget * empathy_contact_edit_menu_item_new (EmpathyContact *contact);
48 GtkWidget * empathy_contact_invite_menu_item_new (EmpathyContact *contact);
49 GtkWidget * empathy_contact_file_transfer_menu_item_new (EmpathyContact *contact);
51 G_END_DECLS
53 #endif /* __EMPATHY_CONTACT_MENU_H__ */