mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2020-02-17 Fred Gleason <fredg@paravelsystems.com>
* Removed Q3Socket dependency from the Software Authority switcher driver.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// A Rivendell switcher driver for systems using Software Authority Protocol
|
||||
//
|
||||
// (C) Copyright 2002-2016 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-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,8 +24,8 @@
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#include <q3socket.h>
|
||||
#include <qhostaddress.h>
|
||||
#include <qtcpsocket.h>
|
||||
#include <qtimer.h>
|
||||
|
||||
#include <rd.h>
|
||||
@@ -54,7 +54,7 @@ class SoftwareAuthority : public Switcher
|
||||
void connectedData();
|
||||
void connectionClosedData();
|
||||
void readyReadData();
|
||||
void errorData(int err);
|
||||
void errorData(QAbstractSocket::SocketError err);
|
||||
|
||||
private:
|
||||
void SendCommand(const char *str);
|
||||
@@ -62,7 +62,7 @@ class SoftwareAuthority : public Switcher
|
||||
void ExecuteMacroCart(unsigned cartnum);
|
||||
QString PrettifyCommand(const char *cmd) const;
|
||||
QString BundleString(int offset,bool state);
|
||||
Q3Socket *swa_socket;
|
||||
QTcpSocket *swa_socket;
|
||||
char swa_buffer[SWAUTHORITY_MAX_LENGTH];
|
||||
unsigned swa_ptr;
|
||||
QHostAddress swa_ipaddress;
|
||||
|
||||
Reference in New Issue
Block a user