3 This file is part of the MSP Märklin suite
4 Copyright © 2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef TIMETABLEDIALOG_H_
9 #define TIMETABLEDIALOG_H_
11 #include <msp/gltk/dialog.h>
12 #include <msp/gltk/entry.h>
13 #include <msp/gltk/toggle.h>
14 #include "libmarklin/timetable.h"
16 class TimetableDialog: public Msp::GLtk::Dialog
19 Marklin::Timetable &timetable;
20 Msp::GLtk::Entry *ent_timetable;
21 Msp::GLtk::Toggle *tgl_enabled;
24 TimetableDialog(const Msp::GLtk::Resources &, Marklin::Timetable &);
27 void enabled_toggled(bool);
29 virtual void on_response(int);