QTfrontend/netudpserver.h
changeset 633 9050a949db21
parent 486 7ea71cd3acd5
child 659 5eafb20566f1
equal deleted inserted replaced
632:5e09ae25729f 633:9050a949db21
    18 
    18 
    19 #ifndef _NET_UDPSERVER_INCLUDED
    19 #ifndef _NET_UDPSERVER_INCLUDED
    20 #define _NET_UDPSERVER_INCLUDED
    20 #define _NET_UDPSERVER_INCLUDED
    21 
    21 
    22 #include <QObject>
    22 #include <QObject>
       
    23 #include "netregister.h"
    23 
    24 
    24 class QUdpSocket;
    25 class QUdpSocket;
    25 
    26 
    26 class HWNetUdpServer : public QObject
    27 class HWNetUdpServer : public HWNetRegisterServer
    27 {
    28 {
    28   Q_OBJECT
    29   Q_OBJECT
    29 
    30 
    30  public:
    31  public:
    31   HWNetUdpServer(QObject *parent = 0);
    32   HWNetUdpServer(QObject *parent, const QString & descr, quint16 port);
    32 
    33 
    33  private slots:
    34  private slots:
    34   void onClientRead();
    35   void onClientRead();
    35 
    36 
    36  private:
    37  private: