]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-new-account-dialog.h
Merge remote-tracking branch 'origin/gnome-3-8'
[empathy.git] / libempathy-gtk / empathy-new-account-dialog.h
1 /*
2  * empathy-new-account-dialog.h - Source for EmpathyNewAccountDialog
3  *
4  * Copyright (C) 2011 - Collabora Ltd.
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with This library. If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 #ifndef ___EMPATHY_NEW_ACCOUNT_DIALOG_H__
21 #define ___EMPATHY_NEW_ACCOUNT_DIALOG_H__
22
23 #include <gtk/gtk.h>
24
25 #include "empathy-account-settings.h"
26
27 G_BEGIN_DECLS
28
29 #define EMPATHY_TYPE_NEW_ACCOUNT_DIALOG (empathy_new_account_dialog_get_type ())
30 #define EMPATHY_NEW_ACCOUNT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_NEW_ACCOUNT_DIALOG, EmpathyNewAccountDialog))
31 #define EMPATHY_NEW_ACCOUNT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_NEW_ACCOUNT_DIALOG, EmpathyNewAccountDialogClass))
32 #define EMPATHY_IS_NEW_ACCOUNT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_NEW_ACCOUNT_DIALOG))
33 #define EMPATHY_IS_NEW_ACCOUNT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_NEW_ACCOUNT_DIALOG))
34 #define EMPATHY_NEW_ACCOUNT_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_NEW_ACCOUNT_DIALOG, EmpathyNewAccountDialogClass))
35
36 typedef struct _EmpathyNewAccountDialog EmpathyNewAccountDialog;
37 typedef struct _EmpathyNewAccountDialogClass EmpathyNewAccountDialogClass;
38 typedef struct _EmpathyNewAccountDialogPrivate EmpathyNewAccountDialogPrivate;
39
40 struct _EmpathyNewAccountDialog {
41   GtkDialog parent;
42
43   EmpathyNewAccountDialogPrivate *priv;
44 };
45
46 struct _EmpathyNewAccountDialogClass {
47   GtkDialogClass parent_class;
48 };
49
50 GType empathy_new_account_dialog_get_type (void) G_GNUC_CONST;
51
52 GtkWidget * empathy_new_account_dialog_new (GtkWindow *parent);
53
54 EmpathyAccountSettings * empathy_new_account_dialog_get_settings (
55     EmpathyNewAccountDialog *self);
56
57 G_END_DECLS
58
59 #endif /* ___EMPATHY_NEW_ACCOUNT_DIALOG_H__ */