]> git.tdb.fi Git - r2c2.git/blob - routeselect.h
6552175ea562d625f0ea7cbb52a5d65fcd783420
[r2c2.git] / routeselect.h
1 /* $Id$
2
3 This file is part of R²C²
4 Copyright © 2009 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
6 */
7
8 #ifndef ROUTESELECT_H_
9 #define ROUTESELECT_H_
10
11 #include <msp/gltk/dropdown.h>
12 #include "libr2c2/train.h"
13 #include "dialog.h"
14
15 class Engineer;
16
17 class RouteSelect: public Dialog
18 {
19 private:
20         Engineer &engineer;
21         R2C2::Train &train;
22         Msp::GLtk::Dropdown *drp_route;
23
24 public:
25         RouteSelect(Engineer &, R2C2::Train &);
26 private:
27         virtual void on_ok_clicked();
28 };
29
30 #endif