diff --git a/src/date_gui.h b/src/date_gui.h --- a/src/date_gui.h +++ b/src/date_gui.h @@ -10,7 +10,7 @@ #ifndef DATE_GUI_H #define DATE_GUI_H -#include "date_type.h" +#include "timer/timer_game_calendar.h" #include "window_type.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, void *data); +typedef void SetDateCallback(const Window *w, TimerGameCalendar::Date date, void *data); -void ShowSetDateWindow(Window *parent, int window_number, Date initial_date, Year min_year, Year max_year, SetDateCallback *callback, void *callback_data); +void ShowSetDateWindow(Window *parent, int window_number, TimerGameCalendar::Date initial_date, TimerGameCalendar::Year min_year, TimerGameCalendar::Year max_year, SetDateCallback *callback, void *callback_data); #endif /* DATE_GUI_H */