From a126904b7e462a72c276387dde1f5ba10a88d05d Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Mon, 15 Sep 2008 20:40:22 +0000 Subject: Initial work on icalendar import --- src/io.h | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'src/io.h') diff --git a/src/io.h b/src/io.h index e65fdbd..5fd468b 100755 --- a/src/io.h +++ b/src/io.h @@ -1,4 +1,4 @@ -/* $calcurse: io.h,v 1.11 2008/08/10 09:24:46 culot Exp $ */ +/* $calcurse: io.h,v 1.12 2008/09/15 20:40:22 culot Exp $ */ /* * Calcurse - text-based organizer @@ -31,10 +31,16 @@ typedef enum { - IO_EXPORT_NONINTERACTIVE, - IO_EXPORT_INTERACTIVE, - IO_EXPORT_NBMODES -} export_mode_t; + IO_MODE_NONINTERACTIVE, + IO_MODE_INTERACTIVE, + IO_NBMODES +} io_mode_t; + +typedef enum +{ + IO_IMPORT_ICAL, + IO_IMPORT_NBTYPES +} import_type_t; typedef enum { @@ -50,7 +56,8 @@ void io_load_app (void); void io_load_todo (void); int io_check_data_files (void); void io_startup_screen (bool, int); -void io_export_data (export_mode_t, export_type_t, conf_t *); +void io_export_data (io_mode_t, export_type_t, conf_t *); void io_export_bar (void); +void io_import_data (char *, char *, io_mode_t, import_type_t, conf_t *); #endif /* CALCURSE_IO_H */ -- cgit v1.2.3-54-g00ecf