From c6c3b74f45727980163ea1aaf40c7b3be82372e1 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sat, 24 Mar 2007 23:21:55 +0000 Subject: 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 --- src/io.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3-70-g09d2