diff --git a/APRSWriterThread.cpp b/APRSWriterThread.cpp index aa92e97..d8d70d5 100644 --- a/APRSWriterThread.cpp +++ b/APRSWriterThread.cpp @@ -31,6 +31,7 @@ const unsigned int APRS_TIMEOUT = 10U; CAPRSWriterThread::CAPRSWriterThread(const std::string& callsign, const std::string& password, const std::string& address, const std::string& hostname, unsigned int port) : +CThread(), m_username(callsign), m_password(password), m_ssid(callsign), @@ -57,6 +58,7 @@ m_clientName("ircDDBGateway") } CAPRSWriterThread::CAPRSWriterThread(const std::string& callsign, const std::string& password, const std::string& address, const std::string& hostname, unsigned int port, const std::string& filter, const std::string& clientName) : +CThread(), m_username(callsign), m_password(password), m_ssid(callsign), diff --git a/APRSWriterThread.h b/APRSWriterThread.h index 4cbb8f9..aa07af2 100644 --- a/APRSWriterThread.h +++ b/APRSWriterThread.h @@ -32,15 +32,15 @@ public: CAPRSWriterThread(const std::string& callsign, const std::string& password, const std::string& address, const std::string& hostname, unsigned int port, const std::string& filter, const std::string& clientName); virtual ~CAPRSWriterThread(); - virtual bool start(); + bool start(); - virtual bool isConnected() const; + bool isConnected() const; - virtual void write(const char* data); + void write(const char* data); - virtual void* Entry(); + void* Entry(); - virtual void stop(); + void stop(); void clock(unsigned int ms);