X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fserial%2Fserial.h;h=d2ae4dd06952f50e38c8f2feb7130cf6281c6173;hb=54cb832334a83fc266b59e2c9b60ee936db7118f;hp=b40a0b9136221746e1d2bd8f8fbdfc850356d3f4;hpb=1ff06c5bc46a677fa389ef86c6b26664368f1653;p=r2c2.git diff --git a/source/serial/serial.h b/source/serial/serial.h index b40a0b9..d2ae4dd 100644 --- a/source/serial/serial.h +++ b/source/serial/serial.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef SERIAL_H_ #define SERIAL_H_ @@ -12,7 +5,7 @@ Distributed under the GPL #include #include "network/client.h" -class Serial: public Msp::Application +class Serial: public Msp::RegisteredApplication { private: Msp::IO::EventDispatcher event_disp; @@ -24,8 +17,6 @@ private: char rx_buf[3]; unsigned rx_fill; - static Msp::Application::RegApp reg; - public: Serial(int, char **);