/* Standard GObject macros */
#define E_TYPE_IMPORT_HOOK \
(e_import_hook_get_type ())
#define E_IMPORT_HOOK(obj) \
(G_TYPE_CHECK_INSTANCE_CAST \
((obj), E_TYPE_IMPORT_HOOK, EImportHook))
#define E_IMPORT_HOOK_CLASS(cls) \
(G_TYPE_CHECK_CLASS_CAST \
((cls), E_TYPE_IMPORT_HOOK, EImportHookClass))
#define E_IS_IMPORT_HOOK(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE \
((obj), E_TYPE_IMPORT_HOOK))
#define E_IS_IMPORT_HOOK_CLASS(cls) \
(G_TYPE_CHECK_CLASS_TYPE \
((cls), E_TYPE_IMPORT_HOOK))
#define E_IMPORT_HOOK_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS \
((obj), E_TYPE_IMPORT_HOOK, EImportHookClass))
typedef struct _EPluginHookTargetMap EImportHookTargetMap;
typedef struct _EPluginHookTargetKey EImportHookTargetMask;
typedef struct _EImportHook EImportHook;
typedef struct _EImportHookClass EImportHookClass;
typedef struct _EImportHookImporter EImportHookImporter;
struct _EImportHookImporter {
EImportImporter importer;
/* user_data == EImportHook */
gchar *supported;
gchar *get_widget;
gchar *import;
gchar *cancel;
};
/**
* struct _EImportHook - Plugin hook for importuration windows.
*
* @hook: Superclass.
* @groups: A list of EImportHookGroup's of all importuration windows
* this plugin hooks into.
*
**/
struct _EImportHook {
EPluginHook hook;
GSList *importers;
};
/**
* EImportHookClass:
* @hook_class: Superclass.
* @target_map: A table of EImportHookTargetMap structures describing
* the possible target types supported by this class.
* @import_class: The EImport derived class that this hook
* implementation drives.
*
* This is an abstract class defining the plugin hook point for
* import windows.
*
**/
struct _EImportHookClass {
EPluginHookClass hook_class;
/* EImportHookTargetMap by .type */
GHashTable *target_map;
/* the import class these imports's belong to */
EImportClass *import_class;
};
GType e_import_hook_get_type (void);
void e_import_hook_class_add_target_map
(EImportHookClass *klass,
const EImportHookTargetMap *map);
G_END_DECLS
#endif /* E_IMPORT_H */
eep-1.3.2&id=dc58c1c48fd1be69eb1a859803badcbf94beb521&showmsg=1'>Expand)Author | Age | Files | Lines |
* | Mark a few ports BROKEN, unfetchable | antoine | 2019-11-06 | 1 | -0/+2 |
* | Drop the ipv6 virtual category for i* category as it is not relevant anymore | bapt | 2019-10-09 | 1 | -1/+1 |
* | Convert to UCL & cleanup pkg-message (categories h-k) | mat | 2019-08-14 | 1 | -0/+6 |
* | Now builds on powerpc64 (and thus presumably mips*.) | linimon | 2018-11-15 | 1 | -4/+0 |
* | Mark ports broken on mips64 that are already broken on powerpc64. In | linimon | 2018-07-02 | 1 | -0/+2 |
* | - Remove always-true OSVERSION condition | amdmi3 | 2018-06-16 | 1 | -6/+4 |
* | Provide more descriptive error messages for ports failing on powerpc64. | linimon | 2017-04-30 | 1 | -1/+1 |
* | Remove all USE_OPENSSL occurrences. | mat | 2017-03-15 | 1 | -2/+1 |
* | When there is a do-install target, do not use a post-install target, do | mat | 2016-07-19 |