]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/intellibox.h
Derive application classes from RegisteredApplication
[r2c2.git] / source / libr2c2 / intellibox.h
index e5f63de6c728dca7597d78887864aaffba68aa89..d3008d2f8ed200219d630f939d8c100f68f2dfee 100644 (file)
@@ -1,14 +1,8 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2010  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #ifndef LIBR2C2_INTELLIBOX_H_
 #define LIBR2C2_INTELLIBOX_H_
 
 #include <map>
+#include <msp/io/serial.h>
 #include <msp/time/timestamp.h>
 #include "driver.h"
 
@@ -119,7 +113,7 @@ private:
                unsigned length;
        };
 
-       int serial_fd;
+       Msp::IO::Serial serial;
        bool power;
        bool halted;
        std::map<unsigned, Locomotive> locos;