#ifndef TESTSERVER_H #define TESTSERVER_H #include "platformserver.h" #include "platformcore_global.h" class PLATMFORCORESHARED_EXPORT TestServer : public PlatformServer { public: TestServer(const QString & name, QObject *parent = NULL); protected: virtual void startwork(); virtual void stopwork(); virtual void sendData(const QByteArray &d); void run(); private: int m_num; }; #endif // TESTSERVER_H