-/* $Id$
-
-This file is part of the MSP Märklin suite
-Copyright © 2010 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
#ifndef TRAINVIEW_H_
#define TRAINVIEW_H_
#include <msp/gl/texture2d.h>
#include <msp/gltk/panel.h>
#include <msp/gltk/toggle.h>
-#include "libmarklin/train.h"
+#include "libr2c2/train.h"
class Engineer;
private:
Engineer &engineer;
- const Marklin::Train &train;
+ const R2C2::Train &train;
Msp::GLtk::Toggle *tgl_forward;
Mode mode;
bool forward;
bool stale;
public:
- TrainView(Engineer &, const Marklin::Train &);
+ TrainView(Engineer &, const R2C2::Train &);
~TrainView();
void set_mode(Mode);