diff options
Diffstat (limited to '')
| -rw-r--r-- | src/serializerconnection.cpp | 3 | ||||
| -rw-r--r-- | src/serializerconnection.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/serializerconnection.cpp b/src/serializerconnection.cpp index b2c545c..2934c8b 100644 --- a/src/serializerconnection.cpp +++ b/src/serializerconnection.cpp | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | #include "serializerconnection.h" | 1 | #include "serializerconnection.h" |
| 2 | 2 | ||
| 3 | SerializerConnection::SerializerConnection( | 3 | SerializerConnection::SerializerConnection( |
| 4 | Connection *pCon, int nTimeSec, int nTimeUSec ) : | 4 | Connection *pCon, bool bIO, int nTimeSec, int nTimeUSec ) : |
| 5 | Serializer( bIO ), | ||
| 5 | pCon( pCon ), | 6 | pCon( pCon ), |
| 6 | nTimeSec( nTimeSec ), | 7 | nTimeSec( nTimeSec ), |
| 7 | nTimeUSec( nTimeUSec ) | 8 | nTimeUSec( nTimeUSec ) |
diff --git a/src/serializerconnection.h b/src/serializerconnection.h index 85ee84d..e8d85c6 100644 --- a/src/serializerconnection.h +++ b/src/serializerconnection.h | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | #include <stdint.h> | 4 | #include <stdint.h> |
| 5 | 5 | ||
| 6 | #include "serializer.h" | 6 | #include "serializer.h" |
| 7 | #include "connection.h" | ||
| 7 | 8 | ||
| 8 | /** | 9 | /** |
| 9 | * | 10 | * |
| @@ -11,7 +12,7 @@ | |||
| 11 | class SerializerConnection : public Serializer | 12 | class SerializerConnection : public Serializer |
| 12 | { | 13 | { |
| 13 | public: | 14 | public: |
| 14 | SerializerConnection( Connection *pCon, int nTimeSec, int nTimeUSec ); | 15 | SerializerConnection( Connection *pCon, bool bIO, int nTimeSec, int nTimeUSec ); |
| 15 | virtual ~SerializerConnection(); | 16 | virtual ~SerializerConnection(); |
| 16 | 17 | ||
| 17 | private: | 18 | private: |
