diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-01-23 08:37:44 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-01-23 08:37:44 +0800 |
commit | 9908f0dba12569b2b9fe0b48de9d46ec3f2386bc (patch) | |
tree | 70cb90835c03f9f38014008932e5695e63ae47e0 /shell/importer/evolution-importer-client.h | |
parent | ff2d16601e0b4b71339b0820f4d2a5e0e92fdb92 (diff) | |
download | gsoc2013-evolution-9908f0dba12569b2b9fe0b48de9d46ec3f2386bc.tar.gz gsoc2013-evolution-9908f0dba12569b2b9fe0b48de9d46ec3f2386bc.tar.zst gsoc2013-evolution-9908f0dba12569b2b9fe0b48de9d46ec3f2386bc.zip |
New listener object. Plus some oneway stuff as well.
svn path=/trunk/; revision=7729
Diffstat (limited to 'shell/importer/evolution-importer-client.h')
-rw-r--r-- | shell/importer/evolution-importer-client.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/shell/importer/evolution-importer-client.h b/shell/importer/evolution-importer-client.h index e122a7cfdd..178d20254f 100644 --- a/shell/importer/evolution-importer-client.h +++ b/shell/importer/evolution-importer-client.h @@ -26,6 +26,7 @@ #include <bonobo/bonobo-object-client.h> #include <importer/evolution-importer.h> +#include <importer/evolution-importer-listener.h> #ifdef __cplusplus extern "C" { @@ -40,24 +41,16 @@ extern "C" { typedef struct _EvolutionImporterClient EvolutionImporterClient; -typedef struct _EvolutionImporterClientPrivate EvolutionImporterClientPrivate; typedef struct _EvolutionImporterClientClass EvolutionImporterClientClass; struct _EvolutionImporterClient { BonoboObjectClient parent; - - EvolutionImporterClientPrivate *private; }; struct _EvolutionImporterClientClass { BonoboObjectClientClass parent_class; }; -typedef void (* EvolutionImporterClientCallback) (EvolutionImporterClient *client, - EvolutionImporterResult result, - gboolean more_items, - void *data); - GtkType evolution_importer_client_get_type (void); EvolutionImporterClient *evolution_importer_client_new (const CORBA_Object objref); @@ -68,8 +61,7 @@ gboolean evolution_importer_client_support_format (EvolutionImporterClient *clie gboolean evolution_importer_client_load_file (EvolutionImporterClient *client, const char *filename); void evolution_importer_client_process_item (EvolutionImporterClient *client, - EvolutionImporterClientCallback callback, - void *closure); + EvolutionImporterListener *listener); const char *evolution_importer_client_get_error (EvolutionImporterClient *client); #ifdef __cplusplus |