2 * empathy-new-account-dialog.h - Source for EmpathyNewAccountDialog
4 * Copyright (C) 2011 - Collabora Ltd.
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.
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.
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/>.
20 #ifndef ___EMPATHY_NEW_ACCOUNT_DIALOG_H__
21 #define ___EMPATHY_NEW_ACCOUNT_DIALOG_H__
25 #include <libempathy/empathy-account-settings.h>
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))
36 typedef struct _EmpathyNewAccountDialog EmpathyNewAccountDialog;
37 typedef struct _EmpathyNewAccountDialogClass EmpathyNewAccountDialogClass;
38 typedef struct _EmpathyNewAccountDialogPrivate EmpathyNewAccountDialogPrivate;
40 struct _EmpathyNewAccountDialog {
43 EmpathyNewAccountDialogPrivate *priv;
46 struct _EmpathyNewAccountDialogClass {
47 GtkDialogClass parent_class;
50 GType empathy_new_account_dialog_get_type (void) G_GNUC_CONST;
52 GtkWidget * empathy_new_account_dialog_new (GtkWindow *parent);
54 EmpathyAccountSettings * empathy_new_account_dialog_get_settings (
55 EmpathyNewAccountDialog *self);
59 #endif /* ___EMPATHY_NEW_ACCOUNT_DIALOG_H__ */