aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-importer.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-26 06:33:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-26 22:28:18 +0800
commitc30e55b2d5c2491076b1aace4f73ea0c642fba72 (patch)
treecc0fcf8fc86012d6996b8630b26421ec16f3e9dd /shell/e-shell-importer.h
parent1dff09f9e261caa623ee5475d05268955745f790 (diff)
downloadgsoc2013-evolution-c30e55b2d5c2491076b1aace4f73ea0c642fba72.tar
gsoc2013-evolution-c30e55b2d5c2491076b1aace4f73ea0c642fba72.tar.gz
gsoc2013-evolution-c30e55b2d5c2491076b1aace4f73ea0c642fba72.tar.bz2
gsoc2013-evolution-c30e55b2d5c2491076b1aace4f73ea0c642fba72.tar.lz
gsoc2013-evolution-c30e55b2d5c2491076b1aace4f73ea0c642fba72.tar.xz
gsoc2013-evolution-c30e55b2d5c2491076b1aace4f73ea0c642fba72.tar.zst
gsoc2013-evolution-c30e55b2d5c2491076b1aace4f73ea0c642fba72.zip
Convert the shell importer to a widget class.
Diffstat (limited to 'shell/e-shell-importer.h')
-rw-r--r--shell/e-shell-importer.h40
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