mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
committed by
Mathew Sutcliffe
parent
535ea65a9a
commit
8d15f307c2
@@ -36,6 +36,13 @@ namespace BlackCore
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
protected:
|
||||
/*!
|
||||
* \brief Constructor
|
||||
* \param parent
|
||||
*/
|
||||
INetwork(QObject *parent = nullptr) : QObject(parent) {}
|
||||
|
||||
public:
|
||||
virtual ~INetwork() {}
|
||||
|
||||
|
||||
@@ -29,8 +29,9 @@ namespace BlackCore
|
||||
|
||||
void exceptionDispatcher(const char* caller);
|
||||
|
||||
NetworkVatlib::NetworkVatlib()
|
||||
: m_net(Create_Cvatlib_Network()),
|
||||
NetworkVatlib::NetworkVatlib(QObject *parent)
|
||||
: INetwork(parent),
|
||||
m_net(Create_Cvatlib_Network()),
|
||||
m_status(Cvatlib_Network::connStatus_Idle),
|
||||
m_fsdTextCodec(QTextCodec::codecForName("latin1"))
|
||||
{
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace BlackCore
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
NetworkVatlib();
|
||||
NetworkVatlib(QObject *parent = nullptr);
|
||||
virtual ~NetworkVatlib();
|
||||
|
||||
protected: // QObject overrides
|
||||
|
||||
Reference in New Issue
Block a user