]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-linking-dialog.h
factor out start_gnome_contacts()
[empathy.git] / libempathy-gtk / empathy-linking-dialog.h
1 /*
2  * Copyright (C) 2010 Collabora Ltd.
3  *
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.
8  *
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.
13  *
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
17  *
18  * Authors: Philip Withnall <philip.withnall@collabora.co.uk>
19  */
20
21 #ifndef __EMPATHY_LINKING_DIALOG_H__
22 #define __EMPATHY_LINKING_DIALOG_H__
23
24 #include <gtk/gtk.h>
25
26 #include <folks/folks.h>
27
28 #include "empathy-individual-linker.h"
29
30 G_BEGIN_DECLS
31
32 #define EMPATHY_TYPE_LINKING_DIALOG (empathy_linking_dialog_get_type ())
33 #define EMPATHY_LINKING_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
34     EMPATHY_TYPE_LINKING_DIALOG, EmpathyLinkingDialog))
35 #define EMPATHY_LINKING_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
36     EMPATHY_TYPE_LINKING_DIALOG, EmpathyLinkingDialogClass))
37 #define EMPATHY_IS_LINKING_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
38     EMPATHY_TYPE_LINKING_DIALOG))
39 #define EMPATHY_IS_LINKING_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
40     EMPATHY_TYPE_LINKING_DIALOG))
41 #define EMPATHY_LINKING_DIALOG_GET_CLASS(o) ( \
42     G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_LINKING_DIALOG, \
43         EmpathyLinkingDialogClass))
44
45 typedef struct {
46         GtkDialog parent;
47
48         /*<private>*/
49         gpointer priv;
50 } EmpathyLinkingDialog;
51
52 typedef struct {
53         GtkDialogClass parent_class;
54 } EmpathyLinkingDialogClass;
55
56 GType empathy_linking_dialog_get_type (void) G_GNUC_CONST;
57
58 GtkWidget * empathy_linking_dialog_show (FolksIndividual *individual,
59     GtkWindow *parent);
60
61 EmpathyIndividualLinker * empathy_linking_dialog_get_individual_linker (
62     EmpathyLinkingDialog *self);
63
64 G_END_DECLS
65
66 #endif /*  __EMPATHY_LINKING_DIALOG_H__ */