From 59bd12b76388b33ccde74bc151fabda14a763924 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Wed, 17 Jan 2001 18:28:39 +0000 Subject: Removed the factory and updated the interfaces and objects svn path=/trunk/; revision=7590 --- shell/importer/evolution-importer.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'shell/importer/evolution-importer.h') diff --git a/shell/importer/evolution-importer.h b/shell/importer/evolution-importer.h index 07dd844955..6842438417 100644 --- a/shell/importer/evolution-importer.h +++ b/shell/importer/evolution-importer.h @@ -26,8 +26,6 @@ #include -#include "evolution-importer.h" - #ifdef __cplusplus extern "C" { #pragma } @@ -44,6 +42,12 @@ typedef struct _EvolutionImporterPrivate EvolutionImporterPrivate; typedef struct _EvolutionImporterClass EvolutionImporterClass; typedef enum _EvolutionImporterResult EvolutionImporterResult; +typedef gboolean (* EvolutionImporterSupportFormatFn) (EvolutionImporter *importer, + const char *filename, + void *closure); +typedef gboolean (* EvolutionImporterLoadFileFn) (EvolutionImporter *importer, + const char *filename, + void *closure); typedef void (* EvolutionImporterProcessItemFn) (EvolutionImporter *importer, CORBA_Object listener, void *closure, @@ -74,13 +78,10 @@ struct _EvolutionImporterClass { }; GtkType evolution_importer_get_type (void); -void evolution_importer_construct (EvolutionImporter *importer, - CORBA_Object corba_object, - EvolutionImporterProcessItemFn process_item_fn, - EvolutionImporterGetErrorFn get_error_fn, - void *closure); -EvolutionImporter *evolution_importer_new (EvolutionImporterProcessItemFn process_item_fn, +EvolutionImporter *evolution_importer_new (EvolutionImporterSupportFormatFn support_format_fn, + EvolutionImporterLoadFileFn load_file_fn, + EvolutionImporterProcessItemFn process_item_fn, EvolutionImporterGetErrorFn get_error_fn, void *closure); -- cgit v1.2.3