CongServiceImporter

CongServiceImporter —

Synopsis




#define     CONG_SERVICE_IMPORTER           (obj)
#define     CONG_SERVICE_IMPORTER_CLASS     (klass)
#define     IS_CONG_SERVICE_IMPORTER        (obj)
CongServiceImporter* cong_service_importer_construct
                                            (CongServiceImporter *importer,
                                             const gchar *name,
                                             const gchar *description,
                                             const gchar *id,
                                             CongServiceImporterMakeFilterCallback filter_factory_callback,
                                             CongServiceImporterOptionsWidgetCallback options_widget_callback,
                                             CongServiceImporterActionCallback action_callback,
                                             gpointer user_data);
CongServiceImporter* cong_plugin_register_importer
                                            (CongPlugin *plugin,
                                             const gchar *name,
                                             const gchar *description,
                                             const gchar *id,
                                             CongServiceImporterMakeFilterCallback filter_factory_callback,
                                             CongServiceImporterOptionsWidgetCallback options_widget_callback,
                                             CongServiceImporterActionCallback action_callback,
                                             gpointer user_data);
GtkFileFilter* cong_importer_make_file_filter
                                            (CongServiceImporter *importer);
void        cong_importer_invoke            (CongServiceImporter *importer,
                                             const gchar *filename,
                                             const gchar *mime_type,
                                             GtkWindow *toplevel_window);
void        cong_plugin_for_each_importer   (CongPlugin *plugin,
                                             void (*callback) (CongServiceImporter *importer,gpointer user_data),
                                             gpointer user_data);
GtkFileFilter* cong_service_importer_make_basic_filter
                                            (CongServiceImporter *importer);

Description

Details

CONG_SERVICE_IMPORTER()

#define CONG_SERVICE_IMPORTER(obj)         G_TYPE_CHECK_INSTANCE_CAST (obj, CONG_SERVICE_IMPORTER_TYPE, CongServiceImporter)

obj :

CONG_SERVICE_IMPORTER_CLASS()

#define CONG_SERVICE_IMPORTER_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, CONG_SERVICE_IMPORTER_TYPE, CongServiceImporterClass)

klass :

IS_CONG_SERVICE_IMPORTER()

#define IS_CONG_SERVICE_IMPORTER(obj)      G_TYPE_CHECK_INSTANCE_TYPE (obj, CONG_SERVICE_IMPORTER_TYPE)

obj :

cong_service_importer_construct ()

CongServiceImporter* cong_service_importer_construct
                                            (CongServiceImporter *importer,
                                             const gchar *name,
                                             const gchar *description,
                                             const gchar *id,
                                             CongServiceImporterMakeFilterCallback filter_factory_callback,
                                             CongServiceImporterOptionsWidgetCallback options_widget_callback,
                                             CongServiceImporterActionCallback action_callback,
                                             gpointer user_data);

TODO: Write me

importer :
name :
description :
id :
filter_factory_callback :
options_widget_callback :
action_callback :
user_data :
Returns :

cong_plugin_register_importer ()

CongServiceImporter* cong_plugin_register_importer
                                            (CongPlugin *plugin,
                                             const gchar *name,
                                             const gchar *description,
                                             const gchar *id,
                                             CongServiceImporterMakeFilterCallback filter_factory_callback,
                                             CongServiceImporterOptionsWidgetCallback options_widget_callback,
                                             CongServiceImporterActionCallback action_callback,
                                             gpointer user_data);

TODO: Write me

plugin :
name :
description :
id :
filter_factory_callback :
options_widget_callback :
action_callback :
user_data :
Returns :

cong_importer_make_file_filter ()

GtkFileFilter* cong_importer_make_file_filter
                                            (CongServiceImporter *importer);

Run this importer's callback to create a GtkFileFilter for the File->Importer dialog

importer : the importer
Returns :

cong_importer_invoke ()

void        cong_importer_invoke            (CongServiceImporter *importer,
                                             const gchar *filename,
                                             const gchar *mime_type,
                                             GtkWindow *toplevel_window);

TODO: Write me

importer :
filename :
mime_type :
toplevel_window :

cong_plugin_for_each_importer ()

void        cong_plugin_for_each_importer   (CongPlugin *plugin,
                                             void (*callback) (CongServiceImporter *importer,gpointer user_data),
                                             gpointer user_data);

TODO: Write me

plugin :
callback :
user_data :

cong_service_importer_make_basic_filter ()

GtkFileFilter* cong_service_importer_make_basic_filter
                                            (CongServiceImporter *importer);

importer :
Returns :