Display a context menu when clicking on audio/video icons (#590051)
[empathy-mirror.git] / libempathy-gtk / empathy-new-call-dialog.h
blob029c3736fc59dbc8769a15ba84348c59558ba2d7
1 /*
2 * Copyright (C) 2009 Collabora Ltd.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 * Authors: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
21 #ifndef __EMPATHY_NEW_CALL_DIALOG_H__
22 #define __EMPATHY_NEW_CALL_DIALOG_H__
24 #include <glib-object.h>
25 #include <gtk/gtk.h>
27 #include <libempathy-gtk/empathy-contact-selector-dialog.h>
29 G_BEGIN_DECLS
31 typedef struct _EmpathyNewCallDialog EmpathyNewCallDialog;
32 typedef struct _EmpathyNewCallDialogClass EmpathyNewCallDialogClass;
34 struct _EmpathyNewCallDialogClass {
35 EmpathyContactSelectorDialogClass parent_class;
38 struct _EmpathyNewCallDialog {
39 EmpathyContactSelectorDialog parent;
42 GType empathy_new_call_dialog_get_type (void);
44 /* TYPE MACROS */
45 #define EMPATHY_TYPE_NEW_CALL_DIALOG \
46 (empathy_new_call_dialog_get_type ())
47 #define EMPATHY_NEW_CALL_DIALOG(obj) \
48 (G_TYPE_CHECK_INSTANCE_CAST((obj), EMPATHY_TYPE_NEW_CALL_DIALOG, \
49 EmpathyNewCallDialog))
50 #define EMPATHY_NEW_CALL_DIALOG_CLASS(klass) \
51 (G_TYPE_CHECK_CLASS_CAST((klass), EMPATHY_TYPE_NEW_CALL_DIALOG, \
52 EmpathyNewCallDialogClass))
53 #define EMPATHY_IS_NEW_CALL_DIALOG(obj) \
54 (G_TYPE_CHECK_INSTANCE_TYPE((obj), EMPATHY_TYPE_NEW_CALL_DIALOG))
55 #define EMPATHY_IS_NEW_CALL_DIALOG_CLASS(klass) \
56 (G_TYPE_CHECK_CLASS_TYPE((klass), EMPATHY_TYPE_NEW_CALL_DIALOG))
57 #define EMPATHY_NEW_CALL_DIALOG_GET_CLASS(obj) \
58 (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_NEW_CALL_DIALOG, \
59 EmpathyNewCallDialogClass))
61 GtkWidget * empathy_new_call_dialog_show (GtkWindow *parent);
63 G_END_DECLS
65 #endif /* __EMPATHY_NEW_CALL_DIALOG_H__ */