]> git.tdb.fi Git - r2c2.git/blobdiff - source/serial/serial.h
Rename the project to R²C²
[r2c2.git] / source / serial / serial.h
index e03bb50d08c5e95bfc132d93957894b72067261c..b40a0b9136221746e1d2bd8f8fbdfc850356d3f4 100644 (file)
@@ -1,6 +1,6 @@
 /* $Id$
 
-This file is part of the MSP Märklin suite
+This file is part of R²C²
 Copyright © 2010  Mikkosoft Productions, Mikko Rasa
 Distributed under the GPL
 */
@@ -16,10 +16,10 @@ class Serial: public Msp::Application
 {
 private:
        Msp::IO::EventDispatcher event_disp;
-       Marklin::Catalogue catalogue;
-       Marklin::Client client;
+       R2C2::Catalogue catalogue;
+       R2C2::Client client;
        Msp::IO::Serial serial_port;
-       Marklin::NetTrain *train;
+       R2C2::NetTrain *train;
        bool reverse;
        char rx_buf[3];
        unsigned rx_fill;
@@ -31,9 +31,9 @@ public:
 
 private:
        virtual void tick();
-       void train_added(Marklin::NetTrain &);
+       void train_added(R2C2::NetTrain &);
        void error(const std::string &);
-       void set_train(Marklin::NetTrain *);
+       void set_train(R2C2::NetTrain *);
        void next_train();
        void prev_train();
        void data_available();