diff options
Diffstat (limited to 'shell/e-shell-importer.h')
-rw-r--r-- | shell/e-shell-importer.h | 40 |
1 files changed, 36 insertions, 4 deletions
diff --git a/shell/e-shell-importer.h b/shell/e-shell-importer.h index 700bbddff6..0a31d45cd1 100644 --- a/shell/e-shell-importer.h +++ b/shell/e-shell-importer.h @@ -1,4 +1,6 @@ /* + * e-shell-importer.h + * * This program 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 @@ -13,9 +15,6 @@ * License along with the program; if not, see <http://www.gnu.org/licenses/> * * - * Authors: - * Iain Holmes <iain@ximian.com> - * * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) * */ @@ -25,9 +24,42 @@ #include "e-shell-common.h" +/* Standard GObject macros */ +#define E_TYPE_SHELL_IMPORTER \ + (e_shell_importer_get_type ()) +#define E_SHELL_IMPORTER(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), E_TYPE_SHELL_IMPORTER, EShellImporter)) +#define E_SHELL_IMPORTER_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), E_TYPE_SHELL_IMPORTER, EShellImporterClass)) +#define E_IS_SHELL_IMPORTER(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), E_TYPE_SHELL_IMPORTER)) +#define E_IS_SHELL_IMPORTER_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), E_TYPE_SHELL_IMPORTER)) +#define E_SHELL_IMPORTER_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), E_TYPE_SHELL_IMPORTER, EShellImporterClass)) + G_BEGIN_DECLS -void e_shell_importer_start_import (void); +typedef struct _EShellImporter EShellImporter; +typedef struct _EShellImporterClass EShellImporterClass; +typedef struct _EShellImporterPrivate EShellImporterPrivate; + +struct _EShellImporter { + GtkAssistant parent; + EShellImporterPrivate *priv; +}; + +struct _EShellImporterClass { + GtkAssistantClass parent_class; +}; + +GType e_shell_importer_get_type (void); +GtkWidget * e_shell_importer_new (GtkWindow *parent); G_END_DECLS |