Factor out OnClick dispatching in Window::HandleEditBoxKey
[openttd/fttd.git] / src / autoreplace_gui.h
blob046ac899215d122079a01d012af349596bd8cb1a
1 /* $Id$ */
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
8 */
10 /** @file autoreplace_gui.h Functions related to the autoreplace GUIs*/
12 #ifndef AUTOREPLACE_GUI_H
13 #define AUTOREPLACE_GUI_H
15 #include "engine_type.h"
16 #include "group_type.h"
17 #include "vehicle_type.h"
19 void AddRemoveEngineFromAutoreplaceAndBuildWindows(VehicleType type);
20 void InvalidateAutoreplaceWindow(EngineID e, GroupID id_g);
21 void ShowReplaceGroupVehicleWindow(GroupID group, VehicleType veh);
23 #endif /* AUTOREPLACE_GUI_H */