aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-09-15 20:40:22 +0000
committerFrederic Culot <calcurse@culot.org>2008-09-15 20:40:22 +0000
commita126904b7e462a72c276387dde1f5ba10a88d05d (patch)
tree9324fbe0c28ddc38cfb7361002ddca18ddbea006 /src/io.h
parent2a873eafb37023ad55e02f4c31a475b5a0ac4168 (diff)
downloadcalcurse-a126904b7e462a72c276387dde1f5ba10a88d05d.tar.gz
calcurse-a126904b7e462a72c276387dde1f5ba10a88d05d.zip
Initial work on icalendar import
Diffstat (limited to 'src/io.h')
-rwxr-xr-xsrc/io.h19
1 files changed, 13 insertions, 6 deletions
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 */