2020-02-17 Fred Gleason <fredg@paravelsystems.com>

* Removed Q3Socket dependency from the WheatNet SLIO switcher
	driver.
	* Removed Q3Socket dependency from the WheatNet LIO switcher
	driver.
This commit is contained in:
Fred Gleason
2020-02-17 09:06:25 -05:00
parent df4e3c9ca7
commit f45bd74bb4
5 changed files with 23 additions and 16 deletions

View File

@@ -2,7 +2,7 @@
//
// A Rivendell switcher driver for Wheatnet SLIO devices
//
// (C) Copyright 2017 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2017-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -24,7 +24,7 @@
#include <vector>
#include <qsignalmapper.h>
#include <q3socket.h>
#include <qtcpsocket.h>
#include <qtimer.h>
#include <rd.h>
@@ -52,7 +52,7 @@ class WheatnetSlio : public Switcher
private slots:
void connectedData();
void readyReadData();
void errorData(int err);
void errorData(QAbstractSocket::SocketError err);
void resetStateData(int line);
void pollData();
void watchdogData();
@@ -63,7 +63,7 @@ class WheatnetSlio : public Switcher
void ProcessSlioevent(int chan,QString &cmd);
void ProcessCommand(const QString &cmd);
void SendCommand(const QString &cmd);
Q3Socket *slio_socket;
QTcpSocket *slio_socket;
QTimer *slio_watchdog_timer;
bool slio_watchdog_active;
QHostAddress slio_ip_address;