Add: INR currency (#8136)
[openttd-github.git] / src / date_gui.h
blob8d41ee3e71feeff05f4e6ca19e0230ff048ce81f
1 /*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6 */
8 /** @file date_gui.h Functions related to the graphical selection of a date. */
10 #ifndef DATE_GUI_H
11 #define DATE_GUI_H
13 #include "date_type.h"
14 #include "window_type.h"
16 /**
17 * Callback for when a date has been chosen
18 * @param w the window that sends the callback
19 * @param date the date that has been chosen
21 typedef void SetDateCallback(const Window *w, Date date);
23 void ShowSetDateWindow(Window *parent, int window_number, Date initial_date, Year min_year, Year max_year, SetDateCallback *callback);
25 #endif /* DATE_GUI_H */