diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-12-21 19:19:13 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-12-22 17:46:20 +0800 |
commit | 9e63d5fc6b9c74eb9a9961640be621ea2ce6c931 (patch) | |
tree | 4c91244f2e71783279f06a5262bdebc6dc5e906d /libempathy-gtk/empathy-new-account-dialog.h | |
parent | cab7c95744e79a978a230a10782d236d9d9c414f (diff) | |
download | gsoc2013-empathy-9e63d5fc6b9c74eb9a9961640be621ea2ce6c931.tar gsoc2013-empathy-9e63d5fc6b9c74eb9a9961640be621ea2ce6c931.tar.gz gsoc2013-empathy-9e63d5fc6b9c74eb9a9961640be621ea2ce6c931.tar.bz2 gsoc2013-empathy-9e63d5fc6b9c74eb9a9961640be621ea2ce6c931.tar.lz gsoc2013-empathy-9e63d5fc6b9c74eb9a9961640be621ea2ce6c931.tar.xz gsoc2013-empathy-9e63d5fc6b9c74eb9a9961640be621ea2ce6c931.tar.zst gsoc2013-empathy-9e63d5fc6b9c74eb9a9961640be621ea2ce6c931.zip |
add new-account-dialog
This introduces some code duplication with the assistant but it's going to die
soon anyway.
Diffstat (limited to 'libempathy-gtk/empathy-new-account-dialog.h')
-rw-r--r-- | libempathy-gtk/empathy-new-account-dialog.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-new-account-dialog.h b/libempathy-gtk/empathy-new-account-dialog.h new file mode 100644 index 000000000..07fc22f98 --- /dev/null +++ b/libempathy-gtk/empathy-new-account-dialog.h @@ -0,0 +1,59 @@ +/* + * empathy-new-account-dialog.h - Source for EmpathyNewAccountDialog + * + * Copyright (C) 2011 - Collabora Ltd. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with This library. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef ___EMPATHY_NEW_ACCOUNT_DIALOG_H__ +#define ___EMPATHY_NEW_ACCOUNT_DIALOG_H__ + +#include <gtk/gtk.h> + +#include <libempathy/empathy-account-settings.h> + +G_BEGIN_DECLS + +#define EMPATHY_TYPE_NEW_ACCOUNT_DIALOG (empathy_new_account_dialog_get_type ()) +#define EMPATHY_NEW_ACCOUNT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_NEW_ACCOUNT_DIALOG, EmpathyNewAccountDialog)) +#define EMPATHY_NEW_ACCOUNT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_NEW_ACCOUNT_DIALOG, EmpathyNewAccountDialogClass)) +#define EMPATHY_IS_NEW_ACCOUNT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_NEW_ACCOUNT_DIALOG)) +#define EMPATHY_IS_NEW_ACCOUNT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_NEW_ACCOUNT_DIALOG)) +#define EMPATHY_NEW_ACCOUNT_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_NEW_ACCOUNT_DIALOG, EmpathyNewAccountDialogClass)) + +typedef struct _EmpathyNewAccountDialog EmpathyNewAccountDialog; +typedef struct _EmpathyNewAccountDialogClass EmpathyNewAccountDialogClass; +typedef struct _EmpathyNewAccountDialogPrivate EmpathyNewAccountDialogPrivate; + +struct _EmpathyNewAccountDialog { + GtkDialog parent; + + EmpathyNewAccountDialogPrivate *priv; +}; + +struct _EmpathyNewAccountDialogClass { + GtkDialogClass parent_class; +}; + +GType empathy_new_account_dialog_get_type (void) G_GNUC_CONST; + +GtkWidget * empathy_new_account_dialog_new (GtkWindow *parent); + +EmpathyAccountSettings * empathy_new_account_dialog_get_settings ( + EmpathyNewAccountDialog *self); + +G_END_DECLS + +#endif /* ___EMPATHY_NEW_ACCOUNT_DIALOG_H__ */ |