]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/driver.cpp
Move speed quantization into a separate class
[r2c2.git] / source / libr2c2 / driver.cpp
index ea903afd14bbee7403052975457d2966a004ef4a..a587b962d230ed021bfbda24f12a133a370b667f 100644 (file)
@@ -6,6 +6,7 @@ Distributed under the GPL
 */
 
 #include <msp/core/except.h>
+#include "centralstation.h"
 #include "driver.h"
 #include "dummy.h"
 #include "intellibox.h"
@@ -25,6 +26,8 @@ Driver *Driver::create(const string &str)
 
        if(type=="ib" || type=="intellibox")
                return new Intellibox(params);
+       else if(type=="cs" || type=="centralstation")
+               return new CentralStation(params);
        else if(type=="dummy")
                return new Dummy;