diff options
author | Frederic Culot <calcurse@culot.org> | 2008-09-15 20:40:22 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2008-09-15 20:40:22 +0000 |
commit | a126904b7e462a72c276387dde1f5ba10a88d05d (patch) | |
tree | 9324fbe0c28ddc38cfb7361002ddca18ddbea006 /src/io.h | |
parent | 2a873eafb37023ad55e02f4c31a475b5a0ac4168 (diff) | |
download | calcurse-a126904b7e462a72c276387dde1f5ba10a88d05d.zip |
Initial work on icalendar import
Diffstat (limited to 'src/io.h')
-rwxr-xr-x | src/io.h | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -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 */ |