+/* $Id$
+
+This file is part of the MSP Märklin suite
+Copyright © 2010 Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
+#ifndef MARKLIN3D_TRAIN_H_
+#define MARKLIN3D_TRAIN_H_
+
+#include "libmarklin/train.h"
+#include "object.h"
+
+namespace Marklin {
+
+class Layout3D;
+
+class Train3D: public Object3D
+{
+private:
+ Layout3D &layout;
+ const Train &train;
+
+public:
+ Train3D(Layout3D &, const Train &);
+ ~Train3D();
+
+ const Train &get_train() const { return train; }
+
+ virtual Point get_node() const;
+};
+
+} // namespace Marklin
+
+#endif