![]() | ![]() | ![]() | GNOME Data Access manual | ![]() |
---|
struct GdaExportPrivate; enum GdaExportFlags; GdaExport* gda_export_new (GdaConnection *cnc); GList* gda_export_get_tables (GdaExport *exp); GList* gda_export_get_selected_tables (GdaExport *exp); void gda_export_select_table (GdaExport *exp, const gchar *table); void gda_export_select_table_list (GdaExport *exp, GList *list); void gda_export_unselect_table (GdaExport *exp, const gchar *table); void gda_export_run (GdaExport *exp, GdaExportFlags flags); void gda_export_stop (GdaExport *exp); GdaConnection* gda_export_get_connection (GdaExport *exp); void gda_export_set_connection (GdaExport *exp, GdaConnection *cnc);
GdaExport* gda_export_new (GdaConnection *cnc);
Creates a new
It works by first having a
When you're done, you just run the export (gda_export_run), first connecting to the different signals that will let you be informed of the export process progress.
cnc : | a |
Returns : | a newly allocated |
GList* gda_export_get_tables (GdaExport *exp);
Returns a list of all tables that exist in the
You are responsible to free the returned value yourself.
exp : | a |
Returns : | a GList containing the names of all the tables. |
GList* gda_export_get_selected_tables (GdaExport *exp);
Returns a list with the names of all the currently selected objects
in the given
You are responsible to free the returned value yourself.
exp : | a |
Returns : | a |
void gda_export_select_table (GdaExport *exp, const gchar *table);
Adds the given table to the list of selected tables.
exp : | a |
table : | name of the table. |
void gda_export_select_table_list (GdaExport *exp, GList *list);
Adds all the tables contained in the given list to the list of selected tables.
exp : | a |
list : | list of tables to be selected. |
void gda_export_unselect_table (GdaExport *exp, const gchar *table);
Removes the given table name from the list of selected tables.
exp : | a |
table : | name of the table. |
void gda_export_run (GdaExport *exp, GdaExportFlags flags);
Starts the execution of the given export object. This means that, after calling this function, your application will lose control about the export process and will only receive notifications via the class signals.
exp : | a |
flags : | execution flags. |
void gda_export_stop (GdaExport *exp);
Stops execution of the given export object.
exp : | a |
GdaConnection* gda_export_get_connection (GdaExport *exp);
exp : | a |
Returns : | the |
<<< GdaError | gda-field >>> |