/* $Id$
This file is part of the MSP Märklin suite
-Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
+Copyright © 2007-2008 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
#ifndef LIBMARKLIN_ROUTE_H_
#define LIBMARKLIN_ROUTE_H_
-#include <list>
#include <map>
#include <set>
#include <string>
class Route
{
-public:
- Route();
- const std::map<unsigned, Turnout *> &get_turnouts() const { return turnouts; }
- void add_track(Track *);
- ~Route();
private:
std::string name;
std::set<Track *> tracks;
std::map<unsigned, Turnout *> turnouts;
+
+public:
+ Route();
+ ~Route();
+
+ const std::map<unsigned, Turnout *> &get_turnouts() const { return turnouts; }
+ void add_track(Track *);
};
} // namespace Marklin