]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-contact-search-dialog.h
factor out start_gnome_contacts()
[empathy.git] / libempathy-gtk / empathy-contact-search-dialog.h
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3  * empathy-contact-search-dialog.h
4  *
5  * Copyright (C) 2010-2011 Collabora Ltd.
6  *
7  * The code contained in this file is free software; you can redistribute
8  * it and/or modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either version
10  * 2.1 of the License, or (at your option) any later version.
11  *
12  * This file is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this code; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20  *
21  * Authors:
22  *     Danielle Madeley <danielle.madeley@collabora.co.uk>
23  *     Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
24  */
25
26 #ifndef __EMPATHY_CONTACT_SEARCH_DIALOG_H__
27 #define __EMPATHY_CONTACT_SEARCH_DIALOG_H__
28
29 #include <gtk/gtk.h>
30
31 G_BEGIN_DECLS
32
33 #define EMPATHY_TYPE_CONTACT_SEARCH_DIALOG      (empathy_contact_search_dialog_get_type ())
34 #define EMPATHY_CONTACT_SEARCH_DIALOG(obj)      (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_CONTACT_SEARCH_DIALOG, EmpathyContactSearchDialog))
35 #define EMPATHY_CONTACT_SEARCH_DIALOG_CLASS(obj)        (G_TYPE_CHECK_CLASS_CAST ((obj), EMPATHY_TYPE_CONTACT_SEARCH_DIALOG, EmpathyContactSearchDialogClass))
36 #define EMPATHY_IS_CONTACT_SEARCH_DIALOG(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_CONTACT_SEARCH_DIALOG))
37 #define EMPATHY_IS_CONTACT_SEARCH_DIALOG_CLASS(obj)     (G_TYPE_CHECK_CLASS_TYPE ((obj), EMPATHY_TYPE_CONTACT_SEARCH_DIALOG))
38 #define EMPATHY_CONTACT_SEARCH_DIALOG_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_CONTACT_SEARCH_DIALOG, EmpathyContactSearchDialogClass))
39
40 typedef struct _EmpathyContactSearchDialog EmpathyContactSearchDialog;
41 typedef struct _EmpathyContactSearchDialogClass EmpathyContactSearchDialogClass;
42
43 struct _EmpathyContactSearchDialog
44 {
45   GtkDialog parent;
46 };
47
48 struct _EmpathyContactSearchDialogClass
49 {
50   GtkDialogClass parent_class;
51 };
52
53 GType empathy_contact_search_dialog_get_type (void);
54 GtkWidget *empathy_contact_search_dialog_new (GtkWindow *parent);
55
56 G_END_DECLS
57
58 #endif