X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Flibmarklin%2Fcommand.h;fp=source%2Flibmarklin%2Fcommand.h;h=4e4c9866d1a705c3d125d852b8deab045897bd76;hb=1d735b80482317fd930eb47ca255ab9f1f120a7d;hp=2106d237bb67f0d44464529297d6914daff7f78a;hpb=aead7f2da831199fbb8f6950b067656b2965c2fa;p=r2c2.git diff --git a/source/libmarklin/command.h b/source/libmarklin/command.h index 2106d23..4e4c986 100644 --- a/source/libmarklin/command.h +++ b/source/libmarklin/command.h @@ -9,16 +9,18 @@ namespace Marklin { class Command { +private: + std::string cmd; + bool sent; + public: sigc::signal signal_done; - Command(const std::string &c): cmd(c), sent(false) { } - void set_sent(bool s) { sent=s; } + Command(const std::string &); + + void set_sent(bool); const std::string &get_command() const { return cmd; } bool get_sent() const { return sent; } -private: - std::string cmd; - bool sent; }; } // namespace Marklin