Merge branch 'trivia'
[empathy-mirror.git] / libempathy-gtk / empathy-individual-edit-dialog.h
blob4f580fb03181f320537d8c79135b7313f1c74bf9
1 /*
2 * Copyright (C) 2010 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: Philip Withnall <philip.withnall@collabora.co.uk>
19 * Travis Reitter <travis.reitter@collabora.co.uk>
22 #ifndef __EMPATHY_INDIVIDUAL_EDIT_DIALOG_H__
23 #define __EMPATHY_INDIVIDUAL_EDIT_DIALOG_H__
25 #include <gtk/gtk.h>
27 #include <folks/folks.h>
29 G_BEGIN_DECLS
31 #define EMPATHY_TYPE_INDIVIDUAL_EDIT_DIALOG (empathy_individual_edit_dialog_get_type ())
32 #define EMPATHY_INDIVIDUAL_EDIT_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_INDIVIDUAL_EDIT_DIALOG, EmpathyIndividualEditDialog))
33 #define EMPATHY_INDIVIDUAL_EDIT_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EMPATHY_TYPE_INDIVIDUAL_EDIT_DIALOG, EmpathyIndividualEditDialogClass))
34 #define EMPATHY_IS_INDIVIDUAL_EDIT_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_INDIVIDUAL_EDIT_DIALOG))
35 #define EMPATHY_IS_INDIVIDUAL_EDIT_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_INDIVIDUAL_EDIT_DIALOG))
36 #define EMPATHY_INDIVIDUAL_EDIT_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_INDIVIDUAL_EDIT_DIALOG, EmpathyIndividualEditDialogClass))
38 typedef struct _EmpathyIndividualEditDialog EmpathyIndividualEditDialog;
39 typedef struct _EmpathyIndividualEditDialogClass EmpathyIndividualEditDialogClass;
41 struct _EmpathyIndividualEditDialog {
42 GtkDialog parent;
44 /*<private>*/
45 gpointer priv;
48 struct _EmpathyIndividualEditDialogClass {
49 GtkDialogClass parent_class;
52 GType empathy_individual_edit_dialog_get_type (void) G_GNUC_CONST;
54 void empathy_individual_edit_dialog_show (FolksIndividual *individual,
55 GtkWindow *parent);
57 G_END_DECLS
59 #endif /* __EMPATHY_INDIVIDUAL_EDIT_DIALOG_H__ */