diff options
author | Frederic Culot <calcurse@culot.org> | 2007-03-11 15:23:14 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-03-11 15:23:14 +0000 |
commit | 6f9fd359d190dec5d31d91c5c6ff3a2368a8802b (patch) | |
tree | d15cb76e82846db5ca2b7c03527278f46499d7ce /src | |
parent | 151f4996c21a9830f9e13b1de0f31287b81b697f (diff) | |
download | calcurse-6f9fd359d190dec5d31d91c5c6ff3a2368a8802b.zip |
io_export_data() prototype added
export_mode_t type added
Diffstat (limited to 'src')
-rwxr-xr-x | src/io.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: io.h,v 1.2 2007/03/10 15:56:56 culot Exp $ */ +/* $calcurse: io.h,v 1.3 2007/03/11 15:23:14 culot Exp $ */ /* * Calcurse - text-based organizer @@ -27,6 +27,12 @@ #ifndef CALCURSE_IO_H #define CALCURSE_IO_H +typedef enum { + IO_EXPORT_NONINTERACTIVE, + IO_EXPORT_INTERACTIVE, + IO_EXPORT_NBMODES +} export_mode_t; + void io_init(char *cfile); void extract_data(char *dst_data, const char *org, int len); void save_cal(bool auto_save, bool confirm_quit, bool confirm_delete, @@ -37,5 +43,6 @@ int load_todo(void); int check_data_files(void); void startup_screen(bool skip_dialogs, int no_data_file); void progress_bar(bool save, int progress); +void io_export_data(export_mode_t mode); #endif /* CALCURSE_IO_H */ |