From 71f5369ebfe5ee1d06b0bd1936cca80abc58e60a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 25 Apr 2011 15:18:41 -0400 Subject: Adapt modules/startup-wizard to the new ESource API. --- modules/startup-wizard/e-startup-assistant.h | 64 ++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 modules/startup-wizard/e-startup-assistant.h (limited to 'modules/startup-wizard/e-startup-assistant.h') diff --git a/modules/startup-wizard/e-startup-assistant.h b/modules/startup-wizard/e-startup-assistant.h new file mode 100644 index 0000000000..f063357045 --- /dev/null +++ b/modules/startup-wizard/e-startup-assistant.h @@ -0,0 +1,64 @@ +/* + * e-startup-assistant.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 + * version 2 of the License, or (at your option) version 3. + * + * This program 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 the program; if not, see + * + */ + +#ifndef E_STARTUP_ASSISTANT_H +#define E_STARTUP_ASSISTANT_H + +#include + +/* Standard GObject macros */ +#define E_TYPE_STARTUP_ASSISTANT \ + (e_startup_assistant_get_type ()) +#define E_STARTUP_ASSISTANT(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), E_TYPE_STARTUP_ASSISTANT, EStartupAssistant)) +#define E_STARTUP_ASSISTANT_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), E_TYPE_STARTUP_ASSISTANT, EStartupAssistantClass)) +#define E_IS_STARTUP_ASSISTANT(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), E_TYPE_STARTUP_ASSISTANT)) +#define E_IS_STARTUP_ASSISTANT_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), E_TYPE_STARTUP_ASSISTANT)) +#define E_STARTUP_ASSISTANT_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), E_TYPE_STARTUP_ASSISTANT, EStartupAssistantClass)) + +G_BEGIN_DECLS + +typedef struct _EStartupAssistant EStartupAssistant; +typedef struct _EStartupAssistantClass EStartupAssistantClass; +typedef struct _EStartupAssistantPrivate EStartupAssistantPrivate; + +struct _EStartupAssistant { + EMailConfigAssistant parent; + EStartupAssistantPrivate *priv; +}; + +struct _EStartupAssistantClass { + EMailConfigAssistantClass parent_class; +}; + +GType e_startup_assistant_get_type (void) G_GNUC_CONST; +void e_startup_assistant_type_register + (GTypeModule *type_module); +GtkWidget * e_startup_assistant_new (EMailSession *session); + +#endif /* E_STARTUP_ASSISTANT_H */ + -- cgit v1.2.3