00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef QOSCCLIENT_H
00020 #define QOSCCLIENT_H
00021
00022 #include "qosctypes.h"
00023
00028 #include <QtNetwork/QHostAddress>
00029
00030 class QOscServer;
00031
00037 class QOscClient : public QOscBase
00038 {
00039 Q_OBJECT
00040 public:
00047 QOscClient( const QHostAddress&, quint16 port, QObject* );
00049 ~QOscClient();
00050
00054 void setAddress( const QHostAddress&, quint16 port );
00055
00062 void setAnswerAddress( QOscServer* );
00063
00064 public slots:
00065 void sendData( QString, QVariant =QVariant::Invalid );
00066 void sendData( QString, QList<QVariant> );
00067
00068 private:
00069 QHostAddress _address;
00070 quint16 _port;
00071 };
00072
00073 #endif // QOSCCLIENT_H