mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
* set infobar status correctly when GUI connects after the core has been started * more detailed information in information statusbar * allow to obtain currently connected server in network context * made many network vatlib slots normal member functions * fixed rendered aircraft flag setting in FSX driver
This commit is contained in:
committed by
Mathew Sutcliffe
parent
1d89862080
commit
3c15f2ad89
@@ -139,23 +139,26 @@ namespace BlackCore
|
||||
status == DisconnectedFailed || status == DisconnectedLost;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
//! \name Network slots
|
||||
//! @{
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
/*!
|
||||
* Returns true if the current ConnectionStatus is a connected state.
|
||||
*/
|
||||
virtual bool isConnected() const = 0;
|
||||
|
||||
/*!
|
||||
* Get preset server.
|
||||
*/
|
||||
virtual BlackMisc::Network::CServer getPresetServer() const = 0;
|
||||
|
||||
/*!
|
||||
* Returns true if the current ConnectionStatus is in transition, e.g. connecting.
|
||||
*/
|
||||
virtual bool isPendingConnection() const = 0;
|
||||
|
||||
public slots:
|
||||
////////////////////////////////////////////////////////////////
|
||||
//! \name Network slots
|
||||
//! @{
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
/*!
|
||||
* Set the server which will be connected to.
|
||||
* \pre Network must be disconnected when calling this function.
|
||||
|
||||
Reference in New Issue
Block a user