xref: /OK3568_Linux_fs/app/forlinx/flapp/src/libs/server/testserver.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 #ifndef TESTSERVER_H
2 #define TESTSERVER_H
3 #include "platformserver.h"
4 #include "platformcore_global.h"
5 
6 class PLATMFORCORESHARED_EXPORT TestServer : public PlatformServer
7 {
8 public:
9     TestServer(const QString & name, QObject *parent = NULL);
10 
11 protected:
12     virtual void startwork();
13     virtual void stopwork();
14     virtual void sendData(const QByteArray &d);
15     void run();
16 
17 private:
18     int m_num;
19 };
20 
21 #endif // TESTSERVER_H
22