]> git.tdb.fi Git - r2c2.git/blob - source/engineer/routeselect.h
Add framework for generating simple meshes for vehicles
[r2c2.git] / source / engineer / routeselect.h
1 /* $Id$
2
3 This file is part of the MSP Märklin suite
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 "libmarklin/train.h"
13 #include "dialog.h"
14
15 class Engineer;
16
17 class RouteSelect: public Dialog
18 {
19 private:
20         Engineer &engineer;
21         Marklin::Train &train;
22         Msp::GLtk::Dropdown *drp_route;
23
24 public:
25         RouteSelect(Engineer &, const Msp::GLtk::Resources &, Marklin::Train &);
26 private:
27         virtual void on_ok_clicked();
28 };
29
30 #endif