3 This file is part of the MSP Märklin suite
4 Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef MARKLIN_TRACKPART_H_
9 #define MARKLIN_TRACKPART_H_
11 #include <msp/datafile/loader.h>
19 class Loader: public Msp::DataFile::Loader
26 TrackPart &get_object() { return part; }
28 virtual void finish();
30 void start(float, float, float);
42 void collect_endpoints(std::vector<Endpoint> &) const;
43 Point get_point(float) const;
46 } // namespace Marklin