120 GNC_FILE_DIALOG_OPEN,
121 GNC_FILE_DIALOG_IMPORT,
122 GNC_FILE_DIALOG_SAVE,
123 GNC_FILE_DIALOG_EXPORT
126 void gnc_file_new (
void);
127 gboolean gnc_file_open (
void);
128 void gnc_file_export(
void);
129 void gnc_file_save (
void);
130 void gnc_file_save_as (
void);
131 void gnc_file_do_export(
const char* filename);
132 void gnc_file_do_save_as(
const char* filename);
139 GNCFileDialogType type);
141 char * gnc_file_dialog (
const char * title,
143 const char * starting_dir,
144 GNCFileDialogType type);
146 gboolean gnc_file_open_file (
const char *filename, gboolean open_readonly);
148 gboolean gnc_file_query_save (gboolean can_cancel);
150 void gnc_file_quit (
void);
152 typedef void (*GNCShutdownCB) (int);
153 void gnc_file_set_shutdown_callback (GNCShutdownCB cb);
154 gboolean gnc_file_save_in_progress (
void);
QofBackendError
The errors that can be reported to the GUI & other front-end users.