+/* $Id$
+
+This file is part of the MSP Märklin suite
+Copyright © 2010 Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
+#ifndef TIMETABLEDIALOG_H_
+#define TIMETABLEDIALOG_H_
+
+#include <msp/gltk/dialog.h>
+#include <msp/gltk/entry.h>
+#include <msp/gltk/toggle.h>
+#include "libmarklin/timetable.h"
+
+class TimetableDialog: public Msp::GLtk::Dialog
+{
+private:
+ Marklin::Timetable &timetable;
+ Msp::GLtk::Entry *ent_timetable;
+ Msp::GLtk::Toggle *tgl_enabled;
+
+public:
+ TimetableDialog(const Msp::GLtk::Resources &, Marklin::Timetable &);
+
+private:
+ void enabled_toggled(bool);
+
+ virtual void on_response(int);
+};
+
+#endif