#define LIBMARKLIN_TRACKTYPE_H_
#include <msp/datafile/loader.h>
-#include "endpoint.h"
+#include "geometry.h"
#include "trackpart.h"
namespace Marklin {
class TrackType
{
public:
+ struct Endpoint
+ {
+ Point pos;
+ float dir; // Direction outwards from the endpoint
+ unsigned paths;
+
+ Endpoint(float, float, float, unsigned);
+ };
+
class Loader: public Msp::DataFile::BasicLoader<TrackType>
{
public: