mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Remark: Doxygen <70 warnings
This commit is contained in:
@@ -26,8 +26,10 @@ namespace BlackCore
|
||||
using namespace BlackMisc::Aviation;
|
||||
using namespace BlackMisc::Network;
|
||||
|
||||
//! \brief dispatch exception
|
||||
void exceptionDispatcher(const char *caller);
|
||||
|
||||
//! \brief Constructor
|
||||
CNetworkVatlib::CNetworkVatlib(QObject *parent)
|
||||
: INetwork(parent),
|
||||
m_loginMode(LoginNormal),
|
||||
@@ -174,6 +176,11 @@ namespace BlackCore
|
||||
catch (...) { exceptionDispatcher(Q_FUNC_INFO); }
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Convert connection status (from Cvatlib_Network to INetwork)
|
||||
* \param status
|
||||
* \return
|
||||
*/
|
||||
INetwork::ConnectionStatus convertConnectionStatus(Cvatlib_Network::connStatus status)
|
||||
{
|
||||
switch (status)
|
||||
@@ -576,6 +583,11 @@ namespace BlackCore
|
||||
/********************************** shimlib callbacks ************************************/
|
||||
/********************************** * * * * * * * * * * * * * * * * * * * ************************************/
|
||||
|
||||
/*!
|
||||
* \brief Cast from *void to *CNetworkVatlib
|
||||
* \param cbvar
|
||||
* \return
|
||||
*/
|
||||
CNetworkVatlib *cbvar_cast(void *cbvar)
|
||||
{
|
||||
return static_cast<CNetworkVatlib *>(cbvar);
|
||||
|
||||
Reference in New Issue
Block a user