changeset 413 | 523f1769f2bc |
child 486 | 7ea71cd3acd5 |
412:2ddcc3e3e644 | 413:523f1769f2bc |
---|---|
1 #ifndef _NET_UDPSERVER_INCLUDED |
|
2 #define _NET_UDPSERVER_INCLUDED |
|
3 |
|
4 #include <QObject> |
|
5 |
|
6 class QUdpSocket; |
|
7 |
|
8 class HWNetUdpServer : public QObject |
|
9 { |
|
10 Q_OBJECT |
|
11 |
|
12 public: |
|
13 HWNetUdpServer(QObject *parent = 0); |
|
14 |
|
15 private slots: |
|
16 void onClientRead(); |
|
17 |
|
18 private: |
|
19 QUdpSocket* pUdpSocket; |
|
20 }; |
|
21 |
|
22 #endif // _NET_UDPSERVER_INCLUDED |