From 6f9fd359d190dec5d31d91c5c6ff3a2368a8802b Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 11 Mar 2007 15:23:14 +0000 Subject: io_export_data() prototype added export_mode_t type added --- src/io.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/io.h b/src/io.h index 64eaaba..381bc1d 100755 --- a/src/io.h +++ b/src/io.h @@ -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 */ -- cgit v1.2.3-70-g09d2