summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-07-01 15:45:11 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-07-02 10:15:36 +0200
commit233980622f09bd51d2b7bf90f8371cd307e18ea6 (patch)
tree76a031e072093111991e17350d10e100b2999a6b /src/calcurse.h
parent7982c98be4180c17c90e656bbf1f61e94ceaad69 (diff)
downloadcalcurse-233980622f09bd51d2b7bf90f8371cd307e18ea6.zip
Refactor wins_launch_external()
* Do window preparation and restoring in separate functions wins_prepare_external() and wins_unprepare_external(). * Use fork_exec() and child_wait() instead of system(). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index 14becbd..5c5c6d6 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -935,7 +935,9 @@ void wins_update_border (void);
void wins_update_panels (void);
void wins_update (void);
void wins_reset (void);
-void wins_launch_external (const char *, const char *);
+void wins_prepare_external (void);
+void wins_unprepare_external (void);
+void wins_launch_external (char *, char *);
void wins_status_bar (void);
void wins_erase_status_bar (void);
void wins_other_status_page (int);