]> git.tdb.fi Git - r2c2.git/blobdiff - source/remote/remote.h
Rename the project to R²C²
[r2c2.git] / source / remote / remote.h
index a4bfc428e7ed467797e90b59414ded97baf2a367..0d6d413d2e2db93ff38a6874a1cbfba1c9f34797 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
-This file is part of the MSP Märklin suite
-Copyright © 2009  Mikkosoft Productions, Mikko Rasa
+This file is part of R²C²
+Copyright © 2009-2010  Mikkosoft Productions, Mikko Rasa
 Distributed under the GPL
 */
 
@@ -20,8 +20,8 @@ class Remote: public Msp::Application
 {
 private:
        Msp::IO::EventDispatcher event_disp;
-       Marklin::Catalogue catalogue;
-       Marklin::Client client;
+       R2C2::Catalogue catalogue;
+       R2C2::Client client;
        Gtk::Main gtk;
        Gtk::Window window;
        Gtk::Box *train_box;
@@ -31,10 +31,12 @@ private:
 
 public:
        Remote(int argc, char **argv);
+
+       const R2C2::Catalogue &get_catalogue() const { return catalogue; }
 private:
        void tick();
 
-       void train_added(Marklin::NetTrain &);
+       void train_added(R2C2::NetTrain &);
 };
 
 #endif