]> git.tdb.fi Git - r2c2.git/blobdiff - source/network/client.h
Add a new remote control program with GLtk-based UI
[r2c2.git] / source / network / client.h
index 9f142df89e15492a824fd46fbebc726bc39a9f62..94fa78545da9ef52b977acac9084b694256f7636 100644 (file)
@@ -54,6 +54,8 @@ public:
        const std::list<std::string> &get_routes() const { return routes; }
        void set_power(bool);
        void set_halt(bool);
+       bool get_power() const { return power; }
+       bool get_halt() const { return halt; }
        NetTrain &get_train(unsigned) const;
        const std::map<unsigned, NetTrain *> &get_trains() const { return trains; }