![]() | ![]() | ![]() | libgda API reference | ![]() |
---|
GdaExportPrivate; enum GdaExportFlags;GdaExport * gda_export_new (GdaConnection *cnc);void gda_export_free (GdaExport *exp);GList * gda_export_get_tables (GdaExport *exp);GList * gda_export_get_selected_tables (GdaExport *exp);void gda_export_select_table (GdaExport *exp, constgchar *table);void gda_export_select_table_list (GdaExport *exp,GList *tables);void gda_export_unselect_table (GdaExport *exp, constgchar *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);
Create 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);
Return a list of all tables that exist in the
You are responsible to free the returned value yourself.
exp : | |
Returns : | a GList containing the names of all the tables |
GList * gda_export_get_selected_tables (GdaExport *exp);
Return a list with the names of all the currently selected objects
in the given
You are responsible to free the returned value yourself.
exp : | |
Returns : | a |
void gda_export_select_table (GdaExport *exp, constgchar *table);
Add the given table to the list of selected tables
exp : | |
table : | name of the table |
void gda_export_select_table_list (GdaExport *exp,GList *tables);
Adds all the tables contained in the given list to the list of selected tables
exp : | a |
tables : |
|
void gda_export_unselect_table (GdaExport *exp, constgchar *table);
Remove 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 : | |
flags : | execution flags |
GdaConnection * gda_export_get_connection (GdaExport *exp);
Return the
exp : | |
Returns : | the |
<<< GdaConnection | GdaField >>> |