ITS
Fac2App.h
Go to the documentation of this file.
1 #ifndef FAC2APP_H
2 #define FAC2APP_H
3 
4 #include <QObject>
5 #include <QUdpSocket>
6 #include <QNetworkDatagram>
7 #include <QBluetoothSocket>
8 #include <ParameterDENM.h>
9 
10 class Fac2App : public QObject
11 {
12  Q_OBJECT
13 
14 public:
15  Fac2App(QBluetoothSocket *bt, ParameterDENM *denm);
16 
17 public slots:
19  void newBTSocket(QBluetoothSocket *bt);
20 
21 private:
22  QBluetoothSocket *btSocket;
23  QUdpSocket *udpSocket;
24  QString host;
25  quint16 port;
26 };
27 
28 #endif // FAC2APP_H
DENM configuration initializer.
QString host
Definition: Fac2App.h:24
QBluetoothSocket * btSocket
Definition: Fac2App.h:22
quint16 port
Definition: Fac2App.h:25
void sendMessageToApplication()
Definition: Fac2App.cpp:17
void newBTSocket(QBluetoothSocket *bt)
Definition: Fac2App.cpp:50
Fac2App(QBluetoothSocket *bt, ParameterDENM *denm)
Definition: Fac2App.cpp:4
QUdpSocket * udpSocket
Definition: Fac2App.h:23