refs #320 port Network to new vatlib

* CNetworkVatlib
* Contexts
* Samples
This commit is contained in:
Roland Winklmeier
2014-12-13 20:38:37 +01:00
parent a1ef1d4484
commit cb7ad005b0
19 changed files with 360 additions and 704 deletions

View File

@@ -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.