]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/endpoint.h
Move Endpoint inside TrackType
[r2c2.git] / source / libmarklin / endpoint.h
diff --git a/source/libmarklin/endpoint.h b/source/libmarklin/endpoint.h
deleted file mode 100644 (file)
index 7382404..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/* $Id$
-
-This file is part of the MSP Märklin suite
-Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
-#ifndef MARKLIN_ENDPOINT_H_
-#define MARKLIN_ENDPOINT_H_
-
-#include "geometry.h"
-
-namespace Marklin {
-
-struct Endpoint
-{
-       Point pos;
-       float dir;  // Direction outwards from the endpoint
-       unsigned paths;
-
-       Endpoint(): dir(0), paths(0) { }
-       Endpoint(float x, float y, float d, unsigned p): pos(x, y), dir(d), paths(p) { }
-};
-
-} // namespace Marklin
-
-#endif