]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/serial.h
Use the new Handle class to hide platform details from public headers
[libs/core.git] / source / io / serial.h
index 069789c85097a69e8510d347ca43a02630009a2a..dba62fbf955e5db860f763c2a233cb3e130d75fe 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_IO_SERIAL_H_
 
 #include "base.h"
+#include "handle.h"
 
 namespace Msp {
 namespace IO {
@@ -40,7 +41,7 @@ private:
        virtual unsigned do_read(char *, unsigned);
 
 public:
-       virtual Handle get_event_handle();
+       virtual const Handle &get_event_handle();
 };
 
 } // namespace IO