]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/command.h
Style fixes, including:
[r2c2.git] / source / libmarklin / command.h
index 2106d237bb67f0d44464529297d6914daff7f78a..4e4c9866d1a705c3d125d852b8deab045897bd76 100644 (file)
@@ -9,16 +9,18 @@ namespace Marklin {
 
 class Command
 {
+private:
+       std::string cmd;
+       bool        sent;
+
 public:
        sigc::signal<void, Error, const std::string &> 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