]> git.tdb.fi Git - r2c2.git/commitdiff
Move members after type declarations
authorMikko Rasa <tdb@tdb.fi>
Tue, 15 Apr 2014 15:37:03 +0000 (18:37 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 15 Apr 2014 15:37:03 +0000 (18:37 +0300)
source/libr2c2/trainrouter.h

index 3c23496710a7b8e3b8df004ca40f1a988faf5e26..27307e7849a885569b358d8bb8f2bcff49f4ac80 100644 (file)
@@ -25,10 +25,6 @@ public:
                void route(const std::string &);
        };
 
-       sigc::signal<void, const Route *> signal_route_changed;
-       sigc::signal<void, const TrackChain *> signal_arrived;
-       sigc::signal<void, const TrackChain *> signal_waypoint_reached;
-
        struct SequencePoint
        {
                Block *block;
@@ -44,6 +40,12 @@ public:
 private:
        typedef std::list<const Route *> RouteList;
 
+public:
+       sigc::signal<void, const Route *> signal_route_changed;
+       sigc::signal<void, const TrackChain *> signal_arrived;
+       sigc::signal<void, const TrackChain *> signal_waypoint_reached;
+
+private:
        int priority;
        RouteList routes;
        RouteList::iterator reserving_route;