aboutsummaryrefslogtreecommitdiffstats
path: root/shell/importer/evolution-importer.h
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-01-18 02:28:39 +0800
committerIain Holmes <iain@src.gnome.org>2001-01-18 02:28:39 +0800
commit59bd12b76388b33ccde74bc151fabda14a763924 (patch)
tree7eacadebe9ff5ca37ea51e144378604b55926407 /shell/importer/evolution-importer.h
parentb77c7192f536108e07ffaf19a58e6bff9b011a93 (diff)
downloadgsoc2013-evolution-59bd12b76388b33ccde74bc151fabda14a763924.tar
gsoc2013-evolution-59bd12b76388b33ccde74bc151fabda14a763924.tar.gz
gsoc2013-evolution-59bd12b76388b33ccde74bc151fabda14a763924.tar.bz2
gsoc2013-evolution-59bd12b76388b33ccde74bc151fabda14a763924.tar.lz
gsoc2013-evolution-59bd12b76388b33ccde74bc151fabda14a763924.tar.xz
gsoc2013-evolution-59bd12b76388b33ccde74bc151fabda14a763924.tar.zst
gsoc2013-evolution-59bd12b76388b33ccde74bc151fabda14a763924.zip
Removed the factory and updated the interfaces and objects
svn path=/trunk/; revision=7590
Diffstat (limited to 'shell/importer/evolution-importer.h')
-rw-r--r--shell/importer/evolution-importer.h17
1 files changed, 9 insertions, 8 deletions
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 <bonobo/bonobo-object.h>
-#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);