Top | ![]() |
![]() |
![]() |
![]() |
void | (*EImportCompleteFunc) () |
void | (*EImportStatusFunc) () |
void | (*EImportFactoryFunc) () |
void | (*EImportImporterFunc) () |
gboolean | (*EImportSupportedFunc) () |
GtkWidget * | (*EImportWidgetFunc) () |
void | (*EImportImportFunc) () |
EImport * | e_import_new () |
void | e_import_class_add_importer () |
GSList * | e_import_get_importers () |
EImport * | e_import_construct () |
void | e_import_import () |
void | e_import_cancel () |
GtkWidget * | e_import_get_widget () |
GtkWidget * | e_import_get_preview_widget () |
void | e_import_status () |
void | e_import_complete () |
gpointer | e_import_target_new () |
void | e_import_target_free () |
EImportTargetURI * | e_import_target_new_uri () |
EImportTargetHome * | e_import_target_new_home () |
void | e_import_hook_class_add_target_map () |
enum | e_import_target_t |
struct | EImportImporter |
struct | EImportTarget |
struct | EImportTargetURI |
struct | EImportTargetHome |
typedef | EImportHookTargetMap |
typedef | EImportHookTargetMask |
struct | EImportHookImporter |
struct | EImportHookClass |
EImportFactory |
void (*EImportCompleteFunc) (EImport *ei
,const GError *error
,gpointer user_data
);
EImportCompleteFunc
is deprecated and should not be used in newly-written code.
void (*EImportStatusFunc) (EImport *ei
,const gchar *what
,gint pc
,gpointer data
);
EImportStatusFunc
is deprecated and should not be used in newly-written code.
void (*EImportFactoryFunc) (EImport *ei
,gpointer data
);
EImportFactoryFunc
is deprecated and should not be used in newly-written code.
void (*EImportImporterFunc) (EImportImporter *importer
,gpointer data
);
EImportImporterFunc
is deprecated and should not be used in newly-written code.
gboolean (*EImportSupportedFunc) (EImport *ei
,EImportTarget *Param2
,EImportImporter *im
);
EImportSupportedFunc
is deprecated and should not be used in newly-written code.
GtkWidget * (*EImportWidgetFunc) (EImport *ei
,EImportTarget *Param2
,EImportImporter *im
);
EImportWidgetFunc
is deprecated and should not be used in newly-written code.
void (*EImportImportFunc) (EImport *ei
,EImportTarget *Param2
,EImportImporter *im
);
EImportImportFunc
is deprecated and should not be used in newly-written code.
EImport *
e_import_new (const gchar *id
);
e_import_new
is deprecated and should not be used in newly-written code.
void e_import_class_add_importer (EImportClass *klass
,EImportImporter *importer
,EImportImporterFunc freefunc
,gpointer data
);
e_import_class_add_importer
is deprecated and should not be used in newly-written code.
GSList * e_import_get_importers (EImport *import
,EImportTarget *target
);
e_import_get_importers
is deprecated and should not be used in newly-written code.
Get a list of importers. If target
is supplied, then only
importers which support the type and location specified by the
target are listed. If target
is NULL, then all importers are
listed.
EImport * e_import_construct (EImport *import
,const gchar *id
);
e_import_construct
is deprecated and should not be used in newly-written code.
Used by implementing classes to initialise base parameters.
void e_import_import (EImport *import
,EImportTarget *target
,EImportImporter *importer
,EImportStatusFunc status
,EImportCompleteFunc done
,gpointer data
);
e_import_import
is deprecated and should not be used in newly-written code.
Run the import function of the selected importer. Once the
importer has finished, it MUST call the e_import_complete()
function. This allows importers to run in synchronous or
asynchronous mode.
When complete, the done
callback will be called.
void e_import_cancel (EImport *import
,EImportTarget *target
,EImportImporter *importer
);
e_import_cancel
is deprecated and should not be used in newly-written code.
GtkWidget * e_import_get_widget (EImport *import
,EImportTarget *target
,EImportImporter *importer
);
e_import_get_widget
is deprecated and should not be used in newly-written code.
Gets a widget that the importer uses to configure its destination. This widget should be packed into a container widget. It should not be shown_all.
GtkWidget * e_import_get_preview_widget (EImport *import
,EImportTarget *target
,EImportImporter *im
);
e_import_get_preview_widget
is deprecated and should not be used in newly-written code.
Gets a widget that the importer uses to preview data to be imported. This widget should be packed into a container widget. It should not be shown_all.
void e_import_status (EImport *import
,EImportTarget *target
,const gchar *what
,gint pc
);
e_import_status
is deprecated and should not be used in newly-written code.
void e_import_complete (EImport *import
,EImportTarget *target
,const GError *error
);
e_import_complete
is deprecated and should not be used in newly-written code.
Signify that an import is complete. This must be called by importer implementations when they are done.
gpointer e_import_target_new (EImport *import
,gint type
,gsize size
);
e_import_target_new
is deprecated and should not be used in newly-written code.
Allocate a new import target suitable for this class. Implementing classes will define the actual content of the target.
void e_import_target_free (EImport *import
,gpointer target
);
e_import_target_free
is deprecated and should not be used in newly-written code.
Free a target. The implementing class can override this method to free custom targets.
EImportTargetURI * e_import_target_new_uri (EImport *import
,const gchar *uri_src
,const gchar *uri_dst
);
e_import_target_new_uri
is deprecated and should not be used in newly-written code.
EImportTargetHome *
e_import_target_new_home (EImport *import
);
e_import_target_new_home
is deprecated and should not be used in newly-written code.
void e_import_hook_class_add_target_map (EImportHookClass *klass
,const EImportHookTargetMap *map
);
e_import_hook_class_add_target_map
is deprecated and should not be used in newly-written code.
class
: The dervied EimportHook class.
map
: A map used to describe a single EImportTarget type for this
class.
Add a targe tmap to a concrete derived class of EImport. The target map enumates the target types available for the implenting class.
e_import_target_t
is deprecated and should not be used in newly-written code.
struct EImportImporter { enum _e_import_target_t type; gint pri; EImportSupportedFunc supported; EImportWidgetFunc get_widget; EImportImportFunc import; EImportImportFunc cancel; EImportWidgetFunc get_preview; gpointer user_data; /* ?? */ gchar *name; gchar *description; };
EImportImporter
is deprecated and should not be used in newly-written code.
struct EImportTarget { EImport *import; guint32 type; GData *data; /* implementation fields follow, depends on target type */ };
EImportTarget
is deprecated and should not be used in newly-written code.
struct EImportTargetURI { EImportTarget target; gchar *uri_src; gchar *uri_dest; };
EImportTargetURI
is deprecated and should not be used in newly-written code.
struct EImportTargetHome { EImportTarget target; };
EImportTargetHome
is deprecated and should not be used in newly-written code.
typedef struct _EPluginHookTargetMap EImportHookTargetMap;
EImportHookTargetMap
is deprecated and should not be used in newly-written code.
typedef struct _EPluginHookTargetKey EImportHookTargetMask;
EImportHookTargetMask
is deprecated and should not be used in newly-written code.
struct EImportHookImporter { EImportImporter importer; /* user_data == EImportHook */ gchar *supported; gchar *get_widget; gchar *import; gchar *cancel; };
EImportHookImporter
is deprecated and should not be used in newly-written code.
struct EImportHookClass { EPluginHookClass hook_class; /* EImportHookTargetMap by .type */ GHashTable *target_map; /* the import class these imports's belong to */ EImportClass *import_class; };
EImportHookClass
is deprecated and should not be used in newly-written code.
This is an abstract class defining the plugin hook point for import windows.