mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
refs #320 port Network to new vatlib
* CNetworkVatlib * Contexts * Samples
This commit is contained in:
@@ -144,18 +144,6 @@ namespace BlackCore
|
||||
*/
|
||||
virtual bool isPendingConnection() const = 0;
|
||||
|
||||
/*!
|
||||
* Returns a list of URLs where network status data can be found.
|
||||
* To obtain the status, one of these URLs should be picked at random.
|
||||
*/
|
||||
virtual QList<QUrl> getStatusUrls() const = 0;
|
||||
|
||||
/*!
|
||||
* Returns a list of known servers which may be connected to.
|
||||
* Not all servers may be accepting connections; consult the CServer::isAcceptingConnections method.
|
||||
*/
|
||||
virtual BlackMisc::Network::CServerList getKnownServers() const = 0;
|
||||
|
||||
public slots:
|
||||
////////////////////////////////////////////////////////////////
|
||||
//! \name Network slots
|
||||
@@ -478,7 +466,7 @@ namespace BlackCore
|
||||
/*!
|
||||
* The status of our connection has changed.
|
||||
*/
|
||||
void connectionStatusChanged(ConnectionStatus oldStatus, ConnectionStatus newStatus, QString errorMessage = "");
|
||||
void connectionStatusChanged(ConnectionStatus oldStatus, ConnectionStatus newStatus);
|
||||
|
||||
/*!
|
||||
* We received a reply to one of our pings.
|
||||
@@ -490,7 +478,7 @@ namespace BlackCore
|
||||
* We received a reply to one of our queries.
|
||||
* \sa sendCapabilitiesQuery
|
||||
*/
|
||||
void capabilitiesReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, quint32 capabilitiesFlags);
|
||||
void capabilitiesReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, int capabilitiesFlags);
|
||||
|
||||
/*!
|
||||
* We received a reply to one of our queries.
|
||||
|
||||
Reference in New Issue
Block a user