summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-03-24 23:21:55 +0000
committerFrederic Culot <calcurse@culot.org>2007-03-24 23:21:55 +0000
commitc6c3b74f45727980163ea1aaf40c7b3be82372e1 (patch)
tree9862a94045486559b3b9bcd6ba1142cc349b0839
parentac6dfd27b8c62e05a2cc7b3622748e0c4a01840f (diff)
downloadcalcurse-c6c3b74f45727980163ea1aaf40c7b3be82372e1.zip
extract_data renamed to io_extract_data() and save_cal() to io_save_cal()
io_save_cal() and io_export_data prototype updated to use the new conf_t type
-rwxr-xr-xsrc/io.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/io.h b/src/io.h
index 6d929ff..3b5ef28 100755
--- a/src/io.h
+++ b/src/io.h
@@ -1,4 +1,4 @@
-/* $calcurse: io.h,v 1.4 2007/03/17 16:56:00 culot Exp $ */
+/* $calcurse: io.h,v 1.5 2007/03/24 23:21:55 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -27,6 +27,8 @@
#ifndef CALCURSE_IO_H
#define CALCURSE_IO_H
+#include "vars.h"
+
typedef enum {
IO_EXPORT_NONINTERACTIVE,
IO_EXPORT_INTERACTIVE,
@@ -34,14 +36,12 @@ typedef enum {
} 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,
- bool skip_system_dialogs, bool skip_progress_bar,
- bool week_begins_on_monday, int layout);
+void io_extract_data(char *dst_data, const char *org, int len);
+void io_save_cal(conf_t *conf, int layout);
void load_app(void);
int load_todo(void);
int check_data_files(void);
void startup_screen(bool skip_dialogs, int no_data_file);
-void io_export_data(export_mode_t mode, bool skip_dialogs, bool skip_bar);
+void io_export_data(export_mode_t mode, conf_t *conf);
#endif /* CALCURSE_IO_H */