summaryrefslogtreecommitdiff
path: root/src/date_gui.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-11-04 00:10:13 +0100
committerMichael Lutz <michi@icosahedron.de>2021-12-16 22:28:32 +0100
commit2637c06f88ed6f9dea55449883f42a62c30f19d8 (patch)
treed54f06200b16c0c51b40cce65242e3099c8b4b7c /src/date_gui.h
parent211c630cbe4185a2adf8b8cd8f52ca58f8bf17ed (diff)
downloadopenttd-2637c06f88ed6f9dea55449883f42a62c30f19d8.tar.xz
Codechange: Un-bitstuff timetable commands.
Diffstat (limited to 'src/date_gui.h')
-rw-r--r--src/date_gui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/date_gui.h b/src/date_gui.h
index 8d41ee3e7..da866d01f 100644
--- a/src/date_gui.h
+++ b/src/date_gui.h
@@ -18,8 +18,8 @@
* @param w the window that sends the callback
* @param date the date that has been chosen
*/
-typedef void SetDateCallback(const Window *w, Date date);
+typedef void SetDateCallback(const Window *w, Date date, void *data);
-void ShowSetDateWindow(Window *parent, int window_number, Date initial_date, Year min_year, Year max_year, SetDateCallback *callback);
+void ShowSetDateWindow(Window *parent, int window_number, Date initial_date, Year min_year, Year max_year, SetDateCallback *callback, void *callback_data);
#endif /* DATE_GUI_H */