mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
refs #559, adjustments cache/settings moved
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
#include "blackcore/contextapplicationproxy.h"
|
#include "blackcore/contextapplicationproxy.h"
|
||||||
#include "blackcore/contextapplicationempty.h"
|
#include "blackcore/contextapplicationempty.h"
|
||||||
#include "blackcore/inputmanager.h"
|
#include "blackcore/inputmanager.h"
|
||||||
#include "blackcore/settingscache.h"
|
#include "blackmisc/settingscache.h"
|
||||||
#include "blackmisc/statusmessage.h"
|
#include "blackmisc/statusmessage.h"
|
||||||
#include "blackmisc/loghandler.h"
|
#include "blackmisc/loghandler.h"
|
||||||
#include "blackmisc/logmessage.h"
|
#include "blackmisc/logmessage.h"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#include "contextapplicationimpl.h"
|
#include "contextapplicationimpl.h"
|
||||||
#include "contextruntime.h"
|
#include "contextruntime.h"
|
||||||
#include "inputmanager.h"
|
#include "inputmanager.h"
|
||||||
#include "settingscache.h"
|
#include "blackmisc/settingscache.h"
|
||||||
#include "blackmisc/logmessage.h"
|
#include "blackmisc/logmessage.h"
|
||||||
#include "blackmisc/loghandler.h"
|
#include "blackmisc/loghandler.h"
|
||||||
#include <QtMsgHandler>
|
#include <QtMsgHandler>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include "blackcore/contextapplicationproxy.h"
|
#include "blackcore/contextapplicationproxy.h"
|
||||||
#include "blackcore/inputmanager.h"
|
#include "blackcore/inputmanager.h"
|
||||||
#include "blackcore/settingscache.h"
|
#include "blackmisc/settingscache.h"
|
||||||
#include "blackmisc/blackmiscfreefunctions.h"
|
#include "blackmisc/blackmiscfreefunctions.h"
|
||||||
#include "blackmisc/loghandler.h"
|
#include "blackmisc/loghandler.h"
|
||||||
#include "blackmisc/identifierlist.h"
|
#include "blackmisc/identifierlist.h"
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ namespace BlackCore
|
|||||||
QHash<BlackMisc::Aviation::CComSystem::ComUnit, QSharedPointer<IVoiceChannel>> m_voiceChannelMapping;
|
QHash<BlackMisc::Aviation::CComSystem::ComUnit, QSharedPointer<IVoiceChannel>> m_voiceChannelMapping;
|
||||||
|
|
||||||
// settings
|
// settings
|
||||||
CSetting<BlackCore::Settings::Audio::AudioSettings> m_audioSettings { this };
|
BlackMisc::CSetting<BlackCore::Settings::Audio::AudioSettings> m_audioSettings { this };
|
||||||
};
|
};
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ namespace BlackCore
|
|||||||
QString m_voiceRoom2UrlOverride; //!< overridden voice room url
|
QString m_voiceRoom2UrlOverride; //!< overridden voice room url
|
||||||
mutable QReadWriteLock m_lockAircraft; //!< lock aircraft
|
mutable QReadWriteLock m_lockAircraft; //!< lock aircraft
|
||||||
|
|
||||||
CSetting<Settings::Network::CurrentTrafficServer> m_currentNetworkServer { this };
|
BlackMisc::CSetting<Settings::Network::CurrentTrafficServer> m_currentNetworkServer { this };
|
||||||
|
|
||||||
//! Init my very own aircraft with some defaults, before overridden by simulator
|
//! Init my very own aircraft with some defaults, before overridden by simulator
|
||||||
void initOwnAircraft();
|
void initOwnAircraft();
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ namespace BlackCore
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
bool m_init = false; //!< flag
|
bool m_init = false; //!< flag
|
||||||
CSetting<Settings::Network::DBusServerAddress> m_dbusServerAddress { this };
|
BlackMisc::CSetting<Settings::Network::DBusServerAddress> m_dbusServerAddress { this };
|
||||||
|
|
||||||
// DBus
|
// DBus
|
||||||
BlackMisc::CDBusServer *m_dbusServer = nullptr;
|
BlackMisc::CDBusServer *m_dbusServer = nullptr;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
#define BLACKCORE_DATA_AIRCRAFTMODELS_H
|
#define BLACKCORE_DATA_AIRCRAFTMODELS_H
|
||||||
|
|
||||||
#include "blackcore/blackcoreexport.h"
|
#include "blackcore/blackcoreexport.h"
|
||||||
#include "blackcore/datacache.h"
|
#include "blackmisc/datacache.h"
|
||||||
#include "blackmisc/simulation/aircraftmodellist.h"
|
#include "blackmisc/simulation/aircraftmodellist.h"
|
||||||
#include "blackmisc/variant.h"
|
#include "blackmisc/variant.h"
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ namespace BlackCore
|
|||||||
namespace Data
|
namespace Data
|
||||||
{
|
{
|
||||||
//! Trait for own simulator models
|
//! Trait for own simulator models
|
||||||
struct OwnSimulatorAircraftModels : public BlackCore::CDataTrait<BlackMisc::Simulation::CAircraftModelList>
|
struct OwnSimulatorAircraftModels : public BlackMisc::CDataTrait<BlackMisc::Simulation::CAircraftModelList>
|
||||||
{
|
{
|
||||||
//! Key in data cache
|
//! Key in data cache
|
||||||
static const char *key() { return "simulator/models"; }
|
static const char *key() { return "simulator/models"; }
|
||||||
@@ -36,7 +36,7 @@ namespace BlackCore
|
|||||||
};
|
};
|
||||||
|
|
||||||
//! Trait for vPilot derived models
|
//! Trait for vPilot derived models
|
||||||
struct VPilotAircraftModels : public BlackCore::CDataTrait<BlackMisc::Simulation::CAircraftModelList>
|
struct VPilotAircraftModels : public BlackMisc::CDataTrait<BlackMisc::Simulation::CAircraftModelList>
|
||||||
{
|
{
|
||||||
//! Key in data cache
|
//! Key in data cache
|
||||||
static const char *key() { return "vpilot/models"; }
|
static const char *key() { return "vpilot/models"; }
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
#define BLACKCORE_DATA_AUTHENTICATEDUSER_H
|
#define BLACKCORE_DATA_AUTHENTICATEDUSER_H
|
||||||
|
|
||||||
#include "blackcore/blackcoreexport.h"
|
#include "blackcore/blackcoreexport.h"
|
||||||
#include "blackcore/datacache.h"
|
#include "blackmisc/datacache.h"
|
||||||
#include "blackmisc/network/authenticateduser.h"
|
#include "blackmisc/network/authenticateduser.h"
|
||||||
|
|
||||||
namespace BlackCore
|
namespace BlackCore
|
||||||
@@ -21,7 +21,7 @@ namespace BlackCore
|
|||||||
namespace Data
|
namespace Data
|
||||||
{
|
{
|
||||||
//! Trait for for global setup data
|
//! Trait for for global setup data
|
||||||
struct AuthenticatedUser : public BlackCore::CDataTrait<BlackMisc::Network::CAuthenticatedUser>
|
struct AuthenticatedUser : public BlackMisc::CDataTrait<BlackMisc::Network::CAuthenticatedUser>
|
||||||
{
|
{
|
||||||
//! Key in data cache
|
//! Key in data cache
|
||||||
static const char *key() { return "readers/global/user"; }
|
static const char *key() { return "readers/global/user"; }
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
#define BLACKCORE_DATA_GLOBALSETUP_H
|
#define BLACKCORE_DATA_GLOBALSETUP_H
|
||||||
|
|
||||||
#include "blackcore/blackcoreexport.h"
|
#include "blackcore/blackcoreexport.h"
|
||||||
#include "blackcore/datacache.h"
|
#include "blackmisc/datacache.h"
|
||||||
#include "blackmisc/network/serverlist.h"
|
#include "blackmisc/network/serverlist.h"
|
||||||
#include "blackmisc/network/urllist.h"
|
#include "blackmisc/network/urllist.h"
|
||||||
#include "blackmisc/valueobject.h"
|
#include "blackmisc/valueobject.h"
|
||||||
@@ -149,7 +149,7 @@ namespace BlackCore
|
|||||||
};
|
};
|
||||||
|
|
||||||
//! Trait for global setup data
|
//! Trait for global setup data
|
||||||
struct GlobalSetup : public BlackCore::CDataTrait<CGlobalSetup>
|
struct GlobalSetup : public BlackMisc::CDataTrait<CGlobalSetup>
|
||||||
{
|
{
|
||||||
//! Key in data cache
|
//! Key in data cache
|
||||||
static const char *key() { return "readers/setup"; }
|
static const char *key() { return "readers/setup"; }
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
#define BLACKCORE_DATA_UPDATEINFO_H
|
#define BLACKCORE_DATA_UPDATEINFO_H
|
||||||
|
|
||||||
#include "blackcore/blackcoreexport.h"
|
#include "blackcore/blackcoreexport.h"
|
||||||
#include "blackcore/datacache.h"
|
#include "blackmisc/datacache.h"
|
||||||
#include "blackmisc/network/urllist.h"
|
#include "blackmisc/network/urllist.h"
|
||||||
#include "blackmisc/valueobject.h"
|
#include "blackmisc/valueobject.h"
|
||||||
#include "blackmisc/variant.h"
|
#include "blackmisc/variant.h"
|
||||||
@@ -103,7 +103,7 @@ namespace BlackCore
|
|||||||
};
|
};
|
||||||
|
|
||||||
//! Trait for global setup data
|
//! Trait for global setup data
|
||||||
struct UpdateInfo : public BlackCore::CDataTrait<CUpdateInfo>
|
struct UpdateInfo : public BlackMisc::CDataTrait<CUpdateInfo>
|
||||||
{
|
{
|
||||||
//! Key in data cache
|
//! Key in data cache
|
||||||
static const char *key() { return "readers/updateinfo"; }
|
static const char *key() { return "readers/updateinfo"; }
|
||||||
|
|||||||
@@ -59,8 +59,8 @@ namespace BlackCore
|
|||||||
void ps_userChanged();
|
void ps_userChanged();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< data cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< data cache
|
||||||
BlackCore::CData<BlackCore::Data::AuthenticatedUser> m_user {this, &CDatabaseAuthenticationService::ps_userChanged};
|
BlackMisc::CData<BlackCore::Data::AuthenticatedUser> m_user {this, &CDatabaseAuthenticationService::ps_userChanged};
|
||||||
|
|
||||||
QNetworkAccessManager *m_networkManager = nullptr;
|
QNetworkAccessManager *m_networkManager = nullptr;
|
||||||
bool m_shutdown = false;
|
bool m_shutdown = false;
|
||||||
|
|||||||
@@ -43,11 +43,11 @@ namespace BlackCore
|
|||||||
void ps_postResponse(QNetworkReply *nwReplyPtr);
|
void ps_postResponse(QNetworkReply *nwReplyPtr);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< data cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< data cache
|
||||||
BlackMisc::Network::CUrl m_modelUrl;
|
BlackMisc::Network::CUrl m_modelUrl;
|
||||||
QNetworkAccessManager *m_networkManager = nullptr;
|
QNetworkAccessManager *m_networkManager = nullptr;
|
||||||
QNetworkReply *m_pendingReply = nullptr;
|
QNetworkReply *m_pendingReply = nullptr;
|
||||||
bool m_shutdown = false;
|
bool m_shutdown = false;
|
||||||
|
|
||||||
//! URL model web service
|
//! URL model web service
|
||||||
static BlackMisc::Network::CUrl getModelWriteUrl(const BlackMisc::Network::CUrl &baseUrl);
|
static BlackMisc::Network::CUrl getModelWriteUrl(const BlackMisc::Network::CUrl &baseUrl);
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ namespace BlackCore
|
|||||||
mutable QReadWriteLock m_lockAircraft;
|
mutable QReadWriteLock m_lockAircraft;
|
||||||
mutable QReadWriteLock m_lockCountry;
|
mutable QReadWriteLock m_lockCountry;
|
||||||
|
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
||||||
|
|
||||||
//! Base URL
|
//! Base URL
|
||||||
BlackMisc::Network::CUrl getBaseUrl() const;
|
BlackMisc::Network::CUrl getBaseUrl() const;
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ namespace BlackCore
|
|||||||
BlackMisc::Input::CHotkeyCombination m_lastCombination;
|
BlackMisc::Input::CHotkeyCombination m_lastCombination;
|
||||||
BlackMisc::Input::CHotkeyCombination m_capturedCombination;
|
BlackMisc::Input::CHotkeyCombination m_capturedCombination;
|
||||||
|
|
||||||
BlackCore::CSetting<BlackCore::Settings::Application::ActionHotkeys> m_actionHotkeys { this, &CInputManager::ps_changeHotkeySettings };
|
BlackMisc::CSetting<BlackCore::Settings::Application::ActionHotkeys> m_actionHotkeys { this, &CInputManager::ps_changeHotkeySettings };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ namespace BlackCore
|
|||||||
mutable QReadWriteLock m_lockLivery;
|
mutable QReadWriteLock m_lockLivery;
|
||||||
mutable QReadWriteLock m_lockModels;
|
mutable QReadWriteLock m_lockModels;
|
||||||
|
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
||||||
|
|
||||||
//! Base URL
|
//! Base URL
|
||||||
BlackMisc::Network::CUrl getBaseUrl() const;
|
BlackMisc::Network::CUrl getBaseUrl() const;
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ namespace BlackCore
|
|||||||
static int const c_updateIntervalMsec = 5000;
|
static int const c_updateIntervalMsec = 5000;
|
||||||
static int const c_logoffTimeoutSec = 5;
|
static int const c_logoffTimeoutSec = 5;
|
||||||
|
|
||||||
CSetting<Settings::Network::WireTextCodec> m_fsdTextCodecSetting { this };
|
BlackMisc::CSetting<Settings::Network::WireTextCodec> m_fsdTextCodecSetting { this };
|
||||||
QTextCodec *m_fsdTextCodec = nullptr;
|
QTextCodec *m_fsdTextCodec = nullptr;
|
||||||
|
|
||||||
BlackMisc::Aviation::CAircraftParts m_sentAircraftConfig;
|
BlackMisc::Aviation::CAircraftParts m_sentAircraftConfig;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#ifndef BLACKCORE_SETTINGS_APPLICATION_H
|
#ifndef BLACKCORE_SETTINGS_APPLICATION_H
|
||||||
#define BLACKCORE_SETTINGS_APPLICATION_H
|
#define BLACKCORE_SETTINGS_APPLICATION_H
|
||||||
|
|
||||||
#include "blackcore/settingscache.h"
|
#include "blackmisc/settingscache.h"
|
||||||
#include "blackmisc/input/actionhotkeylist.h"
|
#include "blackmisc/input/actionhotkeylist.h"
|
||||||
|
|
||||||
namespace BlackCore
|
namespace BlackCore
|
||||||
@@ -22,12 +22,12 @@ namespace BlackCore
|
|||||||
namespace Application
|
namespace Application
|
||||||
{
|
{
|
||||||
//! User configured hotkeys
|
//! User configured hotkeys
|
||||||
struct ActionHotkeys : public CSettingTrait<BlackMisc::Input::CActionHotkeyList>
|
struct ActionHotkeys : public BlackMisc::CSettingTrait<BlackMisc::Input::CActionHotkeyList>
|
||||||
{
|
{
|
||||||
//! \copydoc BlackCore::CSettingTrait::key
|
//! \copydoc BlackMisc::CSettingTrait::key
|
||||||
static const char *key() { return "application/actionhotkeys"; }
|
static const char *key() { return "application/actionhotkeys"; }
|
||||||
|
|
||||||
//! \copydoc BlackCore::CSettingTrait::isValid
|
//! \copydoc BlackMisc::CSettingTrait::isValid
|
||||||
static bool isValid(const BlackMisc::Input::CActionHotkeyList &value)
|
static bool isValid(const BlackMisc::Input::CActionHotkeyList &value)
|
||||||
{
|
{
|
||||||
for (const auto &actionHotkey : value)
|
for (const auto &actionHotkey : value)
|
||||||
@@ -39,8 +39,8 @@ namespace BlackCore
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
} // ns
|
||||||
}
|
} // ns
|
||||||
}
|
} // ns
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#ifndef BLACKCORE_SETTINGS_AUDIO_H
|
#ifndef BLACKCORE_SETTINGS_AUDIO_H
|
||||||
#define BLACKCORE_SETTINGS_AUDIO_H
|
#define BLACKCORE_SETTINGS_AUDIO_H
|
||||||
|
|
||||||
#include "blackcore/settingscache.h"
|
#include "blackmisc/settingscache.h"
|
||||||
#include "blackmisc/audio/settings/settingsaudio.h"
|
#include "blackmisc/audio/settings/settingsaudio.h"
|
||||||
|
|
||||||
namespace BlackCore
|
namespace BlackCore
|
||||||
@@ -22,15 +22,15 @@ namespace BlackCore
|
|||||||
namespace Audio
|
namespace Audio
|
||||||
{
|
{
|
||||||
//! Name of text codec to use with text in FSD protocol
|
//! Name of text codec to use with text in FSD protocol
|
||||||
struct AudioSettings : public CSettingTrait<BlackMisc::Audio::Settings::CSettingsAudio>
|
struct AudioSettings : public BlackMisc::CSettingTrait<BlackMisc::Audio::Settings::CSettingsAudio>
|
||||||
{
|
{
|
||||||
//! \copydoc BlackCore::CSettingTrait::key
|
//! \copydoc BlackMisc::CSettingTrait::key
|
||||||
static const char *key() { return "audio/setup"; }
|
static const char *key() { return "audio/setup"; }
|
||||||
|
|
||||||
//! \copydoc BlackCore::CSettingTrait::defaultValue
|
//! \copydoc BlackMisc::CSettingTrait::defaultValue
|
||||||
static const BlackMisc::Audio::Settings::CSettingsAudio &defaultValue() { static const BlackMisc::Audio::Settings::CSettingsAudio a; return a; }
|
static const BlackMisc::Audio::Settings::CSettingsAudio &defaultValue() { static const BlackMisc::Audio::Settings::CSettingsAudio a; return a; }
|
||||||
|
|
||||||
//! \copydoc BlackCore::CSettingTrait::isValid
|
//! \copydoc BlackMisc::CSettingTrait::isValid
|
||||||
static bool isValid(const BlackMisc::Audio::Settings::CSettingsAudio &value) { Q_UNUSED(value); return true; }
|
static bool isValid(const BlackMisc::Audio::Settings::CSettingsAudio &value) { Q_UNUSED(value); return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#ifndef BLACKCORE_SETTINGS_NETWORK_H
|
#ifndef BLACKCORE_SETTINGS_NETWORK_H
|
||||||
#define BLACKCORE_SETTINGS_NETWORK_H
|
#define BLACKCORE_SETTINGS_NETWORK_H
|
||||||
|
|
||||||
#include "blackcore/settingscache.h"
|
#include "blackmisc/settingscache.h"
|
||||||
#include "blackmisc/network/serverlist.h"
|
#include "blackmisc/network/serverlist.h"
|
||||||
#include <QTextCodec>
|
#include <QTextCodec>
|
||||||
|
|
||||||
@@ -23,32 +23,32 @@ namespace BlackCore
|
|||||||
namespace Network
|
namespace Network
|
||||||
{
|
{
|
||||||
//! Name of text codec to use with text in FSD protocol
|
//! Name of text codec to use with text in FSD protocol
|
||||||
struct WireTextCodec : public CSettingTrait<QString>
|
struct WireTextCodec : public BlackMisc::CSettingTrait<QString>
|
||||||
{
|
{
|
||||||
//! \copydoc BlackCore::CSettingTrait::key
|
//! \copydoc BlackMisc::CSettingTrait::key
|
||||||
static const char *key() { return "network/wiretextcodec"; }
|
static const char *key() { return "network/wiretextcodec"; }
|
||||||
|
|
||||||
//! \copydoc BlackCore::CSettingTrait::defaultValue
|
//! \copydoc BlackMisc::CSettingTrait::defaultValue
|
||||||
static const QString &defaultValue() { static const QString dv("latin1"); return dv; }
|
static const QString &defaultValue() { static const QString dv("latin1"); return dv; }
|
||||||
|
|
||||||
//! \copydoc BlackCore::CSettingTrait::isValid
|
//! \copydoc BlackMisc::CSettingTrait::isValid
|
||||||
static bool isValid(const QString &value) { return QTextCodec::codecForName(qPrintable(value)); }
|
static bool isValid(const QString &value) { return QTextCodec::codecForName(qPrintable(value)); }
|
||||||
};
|
};
|
||||||
|
|
||||||
//! Virtual air traffic servers
|
//! Virtual air traffic servers
|
||||||
struct TrafficServers : public CSettingTrait<BlackMisc::Network::CServerList>
|
struct TrafficServers : public BlackMisc::CSettingTrait<BlackMisc::Network::CServerList>
|
||||||
{
|
{
|
||||||
//! \copydoc BlackCore::CSettingTrait::key
|
//! \copydoc BlackMisc::CSettingTrait::key
|
||||||
static const char *key() { return "network/trafficservers"; }
|
static const char *key() { return "network/trafficservers"; }
|
||||||
};
|
};
|
||||||
|
|
||||||
//! Currently selected virtual air traffic server
|
//! Currently selected virtual air traffic server
|
||||||
struct CurrentTrafficServer : public CSettingTrait<BlackMisc::Network::CServer>
|
struct CurrentTrafficServer : public BlackMisc::CSettingTrait<BlackMisc::Network::CServer>
|
||||||
{
|
{
|
||||||
//! \copydoc BlackCore::CSettingTrait::key
|
//! \copydoc BlackMisc::CSettingTrait::key
|
||||||
static const char *key() { return "network/currenttrafficserver"; }
|
static const char *key() { return "network/currenttrafficserver"; }
|
||||||
|
|
||||||
//! \copydoc BlackCore::CSettingTrait::defaultValue
|
//! \copydoc BlackMisc::CSettingTrait::defaultValue
|
||||||
static const BlackMisc::Network::CServer &defaultValue()
|
static const BlackMisc::Network::CServer &defaultValue()
|
||||||
{
|
{
|
||||||
using namespace BlackMisc::Network;
|
using namespace BlackMisc::Network;
|
||||||
@@ -58,12 +58,12 @@ namespace BlackCore
|
|||||||
};
|
};
|
||||||
|
|
||||||
//! DBus server address
|
//! DBus server address
|
||||||
struct DBusServerAddress : public CSettingTrait<QString>
|
struct DBusServerAddress : public BlackMisc::CSettingTrait<QString>
|
||||||
{
|
{
|
||||||
//! \copydoc BlackCore::CSettingTrait::key
|
//! \copydoc BlackMisc::CSettingTrait::key
|
||||||
static const char *key() { return "network/dbusserver"; }
|
static const char *key() { return "network/dbusserver"; }
|
||||||
|
|
||||||
//! \copydoc BlackCore::CSettingTrait::defaultValue
|
//! \copydoc BlackMisc::CSettingTrait::defaultValue
|
||||||
static const QString &defaultValue() { static const QString dv("session"); return dv; }
|
static const QString &defaultValue() { static const QString dv("session"); return dv; }
|
||||||
};
|
};
|
||||||
} // ns
|
} // ns
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
/* Copyright (C) 2013 VATSIM Community / contributors
|
|
||||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
||||||
|
|
||||||
#ifndef BLACKCORE_SETTINGSALLCLASSES_H
|
|
||||||
#define BLACKCORE_SETTINGSALLCLASSES_H
|
|
||||||
|
|
||||||
#include "blackmisc/settingsblackmiscclasses.h"
|
|
||||||
|
|
||||||
#endif // guard
|
|
||||||
@@ -70,8 +70,8 @@ namespace BlackCore
|
|||||||
QNetworkAccessManager *m_networkManagerUpdateInfo = nullptr;
|
QNetworkAccessManager *m_networkManagerUpdateInfo = nullptr;
|
||||||
BlackMisc::LockFree<BlackMisc::Network::CFailoverUrlList> m_bootstrapUrls;
|
BlackMisc::LockFree<BlackMisc::Network::CFailoverUrlList> m_bootstrapUrls;
|
||||||
BlackMisc::LockFree<BlackMisc::Network::CFailoverUrlList> m_updateInfoUrls;
|
BlackMisc::LockFree<BlackMisc::Network::CFailoverUrlList> m_updateInfoUrls;
|
||||||
CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< data cache setup
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< data cache setup
|
||||||
CData<BlackCore::Data::UpdateInfo> m_updateInfo {this}; //!< data cache update info
|
BlackMisc::CData<BlackCore::Data::UpdateInfo> m_updateInfo {this}; //!< data cache update info
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CSetupReader(QObject *owner);
|
explicit CSetupReader(QObject *owner);
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ namespace BlackCore
|
|||||||
void ps_read();
|
void ps_read();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
||||||
QNetworkAccessManager *m_networkManager = nullptr;
|
QNetworkAccessManager *m_networkManager = nullptr;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ namespace BlackCore
|
|||||||
BlackMisc::Aviation::CAtcStationList m_atcStations;
|
BlackMisc::Aviation::CAtcStationList m_atcStations;
|
||||||
BlackMisc::Simulation::CSimulatedAircraftList m_aircraft;
|
BlackMisc::Simulation::CSimulatedAircraftList m_aircraft;
|
||||||
QMap<BlackMisc::Aviation::CCallsign, BlackMisc::Network::CVoiceCapabilities> m_voiceCapabilities;
|
QMap<BlackMisc::Aviation::CCallsign, BlackMisc::Network::CVoiceCapabilities> m_voiceCapabilities;
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
||||||
|
|
||||||
//! Split line and assign values to their corresponding attribute names
|
//! Split line and assign values to their corresponding attribute names
|
||||||
static const QMap<QString, QString> clientPartsToMap(const QString ¤tLine, const QStringList &clientSectionAttributes);
|
static const QMap<QString, QString> clientPartsToMap(const QString ¤tLine, const QStringList &clientSectionAttributes);
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ namespace BlackCore
|
|||||||
QNetworkAccessManager *m_networkManager = nullptr;
|
QNetworkAccessManager *m_networkManager = nullptr;
|
||||||
BlackMisc::Weather::CMetarDecoder m_metarDecoder;
|
BlackMisc::Weather::CMetarDecoder m_metarDecoder;
|
||||||
BlackMisc::Weather::CMetarSet m_metars;
|
BlackMisc::Weather::CMetarSet m_metars;
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif // guard
|
#endif // guard
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ namespace BlackCore
|
|||||||
CWebReaderFlags::WebReader m_readerFlags = CWebReaderFlags::WebReaderFlag::None; //!< which readers are available
|
CWebReaderFlags::WebReader m_readerFlags = CWebReaderFlags::WebReaderFlag::None; //!< which readers are available
|
||||||
int m_autoReadAfterSetupMs = -1; //!< directly read all known readers after setup was syncronized
|
int m_autoReadAfterSetupMs = -1; //!< directly read all known readers after setup was syncronized
|
||||||
bool m_initialRead = false; //!< Initial read conducted
|
bool m_initialRead = false; //!< Initial read conducted
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this, &CWebDataServices::ps_setupChanged}; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this, &CWebDataServices::ps_setupChanged}; //!< setup cache
|
||||||
|
|
||||||
// for reading XML and VATSIM data files
|
// for reading XML and VATSIM data files
|
||||||
CVatsimBookingReader *m_vatsimBookingReader = nullptr;
|
CVatsimBookingReader *m_vatsimBookingReader = nullptr;
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ namespace BlackGui
|
|||||||
void initAudioDeviceLists();
|
void initAudioDeviceLists();
|
||||||
|
|
||||||
QScopedPointer<Ui::CAudioSetupComponent> ui;
|
QScopedPointer<Ui::CAudioSetupComponent> ui;
|
||||||
BlackCore::CSetting<BlackCore::Settings::Audio::AudioSettings> m_audioSettings { this, &CAudioSetupComponent::ps_reloadSettings };
|
BlackMisc::CSetting<BlackCore::Settings::Audio::AudioSettings> m_audioSettings { this, &CAudioSetupComponent::ps_reloadSettings };
|
||||||
|
|
||||||
};
|
};
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
QScopedPointer<Ui::CDbDebugDatabaseSetup> ui;
|
QScopedPointer<Ui::CDbDebugDatabaseSetup> ui;
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< data cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< data cache
|
||||||
};
|
};
|
||||||
} // ns
|
} // ns
|
||||||
} // ns
|
} // ns
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ namespace BlackGui
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
QScopedPointer<Ui::CDbLoginComponent> ui;
|
QScopedPointer<Ui::CDbLoginComponent> ui;
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this, &CDbLoginComponent::ps_setupChanged}; //!< data cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this, &CDbLoginComponent::ps_setupChanged}; //!< data cache
|
||||||
BlackCore::CDatabaseAuthenticationService m_loginService {this}; //!< login service
|
BlackCore::CDatabaseAuthenticationService m_loginService {this}; //!< login service
|
||||||
|
|
||||||
//! Overlay messages
|
//! Overlay messages
|
||||||
void displayOverlayMessages(const BlackMisc::CStatusMessageList &msgs);
|
void displayOverlayMessages(const BlackMisc::CStatusMessageList &msgs);
|
||||||
|
|||||||
@@ -164,10 +164,10 @@ namespace BlackGui
|
|||||||
private:
|
private:
|
||||||
QScopedPointer<Ui::CDbMappingComponent> ui;
|
QScopedPointer<Ui::CDbMappingComponent> ui;
|
||||||
BlackMisc::Simulation::FsCommon::CVPilotRulesReader m_vPilotReader; //!< read vPilot rules
|
BlackMisc::Simulation::FsCommon::CVPilotRulesReader m_vPilotReader; //!< read vPilot rules
|
||||||
BlackCore::CData<BlackCore::Data::VPilotAircraftModels> m_cachedVPilotModels { this, &CDbMappingComponent::ps_onVPilotCacheChanged }; //!< cache for latest vPilot rules
|
BlackMisc::CData<BlackCore::Data::VPilotAircraftModels> m_cachedVPilotModels { this, &CDbMappingComponent::ps_onVPilotCacheChanged }; //!< cache for latest vPilot rules
|
||||||
std::unique_ptr<BlackMisc::Simulation::IAircraftModelLoader> m_modelLoader; //!< read own aircraft models
|
std::unique_ptr<BlackMisc::Simulation::IAircraftModelLoader> m_modelLoader; //!< read own aircraft models
|
||||||
BlackCore::CData<BlackCore::Data::OwnSimulatorAircraftModels> m_cachedOwnModels { this }; //!< cache for latest models
|
BlackMisc::CData<BlackCore::Data::OwnSimulatorAircraftModels> m_cachedOwnModels { this }; //!< cache for latest models
|
||||||
BlackCore::CData<BlackCore::Data::AuthenticatedUser> m_user {this, &CDbMappingComponent::ps_userChanged};
|
BlackMisc::CData<BlackCore::Data::AuthenticatedUser> m_user {this, &CDbMappingComponent::ps_userChanged};
|
||||||
bool m_vPilot1stInit = true;
|
bool m_vPilot1stInit = true;
|
||||||
bool m_withVPilot = false;
|
bool m_withVPilot = false;
|
||||||
|
|
||||||
|
|||||||
@@ -147,8 +147,8 @@ namespace BlackGui
|
|||||||
QScopedPointer<Ui::CLoginComponent> ui;
|
QScopedPointer<Ui::CLoginComponent> ui;
|
||||||
const int LogoffIntervalSeconds = 10;
|
const int LogoffIntervalSeconds = 10;
|
||||||
QTimer *m_logoffCountdownTimer { nullptr };
|
QTimer *m_logoffCountdownTimer { nullptr };
|
||||||
BlackCore::CSetting<BlackCore::Settings::Network::TrafficServers> m_otherTrafficNetworkServers { this, &CLoginComponent::ps_reloadSettings };
|
BlackMisc::CSetting<BlackCore::Settings::Network::TrafficServers> m_otherTrafficNetworkServers { this, &CLoginComponent::ps_reloadSettings };
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
QScopedPointer<Ui::CSettingsHotkeyComponent> ui;
|
QScopedPointer<Ui::CSettingsHotkeyComponent> ui;
|
||||||
BlackGui::Models::CActionHotkeyListModel m_model;
|
BlackGui::Models::CActionHotkeyListModel m_model;
|
||||||
BlackCore::CSetting<BlackCore::Settings::Application::ActionHotkeys> m_actionHotkeys { this };
|
BlackMisc::CSetting<BlackCore::Settings::Application::ActionHotkeys> m_actionHotkeys { this };
|
||||||
BlackCore::CActionBind m_action { "/Test/Message", this, &CSettingsHotkeyComponent::ps_hotkeySlot };
|
BlackCore::CActionBind m_action { "/Test/Message", this, &CSettingsHotkeyComponent::ps_hotkeySlot };
|
||||||
|
|
||||||
void ps_hotkeySlot(bool keyDown);
|
void ps_hotkeySlot(bool keyDown);
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ namespace BlackGui
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
QScopedPointer<Ui::CSettingsNetworkServersComponent> ui;
|
QScopedPointer<Ui::CSettingsNetworkServersComponent> ui;
|
||||||
BlackCore::CSetting<BlackCore::Settings::Network::TrafficServers> m_trafficNetworkServers { this, &CSettingsNetworkServersComponent::ps_reloadSettings };
|
BlackMisc::CSetting<BlackCore::Settings::Network::TrafficServers> m_trafficNetworkServers { this, &CSettingsNetworkServersComponent::ps_reloadSettings };
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
||||||
};
|
};
|
||||||
} // ns
|
} // ns
|
||||||
} // ns
|
} // ns
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
#define BLACKSIMPLUGIN_SIMULATOR_FSX_CONFIG_H
|
#define BLACKSIMPLUGIN_SIMULATOR_FSX_CONFIG_H
|
||||||
|
|
||||||
#include "blackgui/pluginconfig.h"
|
#include "blackgui/pluginconfig.h"
|
||||||
#include "blackcore/settingscache.h"
|
#include "blackmisc/settingscache.h"
|
||||||
|
|
||||||
namespace BlackSimPlugin
|
namespace BlackSimPlugin
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -214,7 +214,7 @@ namespace BlackSimPlugin
|
|||||||
private:
|
private:
|
||||||
QDBusConnection m_conn { "default" };
|
QDBusConnection m_conn { "default" };
|
||||||
QDBusServiceWatcher *m_watcher { nullptr };
|
QDBusServiceWatcher *m_watcher { nullptr };
|
||||||
BlackCore::CSetting<XBusServer> m_xbusServerSetting { this, &CSimulatorXPlaneListener::ps_xbusServerSettingChanged };
|
BlackMisc::CSetting<XBusServer> m_xbusServerSetting { this, &CSimulatorXPlaneListener::ps_xbusServerSettingChanged };
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
#define BLACKSIMPLUGIN_SIMULATOR_XPLANE_CONFIG_H
|
#define BLACKSIMPLUGIN_SIMULATOR_XPLANE_CONFIG_H
|
||||||
|
|
||||||
#include "blackgui/pluginconfig.h"
|
#include "blackgui/pluginconfig.h"
|
||||||
#include "blackcore/settingscache.h"
|
#include "blackmisc/settingscache.h"
|
||||||
|
|
||||||
namespace BlackSimPlugin
|
namespace BlackSimPlugin
|
||||||
{
|
{
|
||||||
@@ -23,12 +23,12 @@ namespace BlackSimPlugin
|
|||||||
/*!
|
/*!
|
||||||
* Setting for XBus.
|
* Setting for XBus.
|
||||||
*/
|
*/
|
||||||
struct XBusServer : public BlackCore::CSettingTrait<QString>
|
struct XBusServer : public BlackMisc::CSettingTrait<QString>
|
||||||
{
|
{
|
||||||
//! \copydoc BlackCore::CSetting::key
|
//! \copydoc BlackMisc::CSetting::key
|
||||||
static const char *key() { return "xbus/server"; }
|
static const char *key() { return "xbus/server"; }
|
||||||
|
|
||||||
//! \copydoc BlackCore::CSetting::defaultValue
|
//! \copydoc BlackMisc::CSetting::defaultValue
|
||||||
static QString defaultValue() { return QStringLiteral("session"); }
|
static QString defaultValue() { return QStringLiteral("session"); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ namespace BlackSimPlugin
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
QScopedPointer<Ui::CSimulatorXPlaneConfigWindow> ui;
|
QScopedPointer<Ui::CSimulatorXPlaneConfigWindow> ui;
|
||||||
BlackCore::CSetting<XBusServer> m_xbusServerSetting { this };
|
BlackMisc::CSetting<XBusServer> m_xbusServerSetting { this };
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,8 +73,8 @@ private:
|
|||||||
QScopedPointer<Ui::CSwiftData> ui;
|
QScopedPointer<Ui::CSwiftData> ui;
|
||||||
BlackGui::CManagedStatusBar m_statusBar;
|
BlackGui::CManagedStatusBar m_statusBar;
|
||||||
BlackCore::CWebDataServices *m_webDataReader = nullptr;
|
BlackCore::CWebDataServices *m_webDataReader = nullptr;
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this, &CSwiftData::ps_setupChanged}; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this, &CSwiftData::ps_setupChanged}; //!< setup cache
|
||||||
BlackCore::CData<BlackCore::Data::UpdateInfo> m_updateInfo { this }; //!< download / version data
|
BlackMisc::CData<BlackCore::Data::UpdateInfo> m_updateInfo { this }; //!< download / version data
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // guard
|
#endif // guard
|
||||||
|
|||||||
@@ -13,8 +13,8 @@
|
|||||||
#include "blackgui/components/datainfoareacomponent.h"
|
#include "blackgui/components/datainfoareacomponent.h"
|
||||||
#include "blackgui/components/logcomponent.h"
|
#include "blackgui/components/logcomponent.h"
|
||||||
#include "blackgui/stylesheetutility.h"
|
#include "blackgui/stylesheetutility.h"
|
||||||
#include "blackcore/datacache.h"
|
#include "blackmisc/datacache.h"
|
||||||
#include "blackcore/settingscache.h"
|
#include "blackmisc/settingscache.h"
|
||||||
#include "blackcore/webdataservices.h"
|
#include "blackcore/webdataservices.h"
|
||||||
#include "blackmisc/statusmessagelist.h"
|
#include "blackmisc/statusmessagelist.h"
|
||||||
#include "blackmisc/logmessage.h"
|
#include "blackmisc/logmessage.h"
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ private:
|
|||||||
bool m_init = false;
|
bool m_init = false;
|
||||||
BlackGui::CManagedStatusBar m_statusBar;
|
BlackGui::CManagedStatusBar m_statusBar;
|
||||||
BlackMisc::CLogSubscriber m_logSubscriber { this, &SwiftGuiStd::ps_displayStatusMessageInGui };
|
BlackMisc::CLogSubscriber m_logSubscriber { this, &SwiftGuiStd::ps_displayStatusMessageInGui };
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
||||||
|
|
||||||
// contexts
|
// contexts
|
||||||
bool m_coreAvailable = false;
|
bool m_coreAvailable = false;
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
#include "swiftguistd.h"
|
#include "swiftguistd.h"
|
||||||
#include "ui_swiftguistd.h"
|
#include "ui_swiftguistd.h"
|
||||||
#include "blackcore/datacache.h"
|
#include "blackmisc/datacache.h"
|
||||||
#include "blackcore/settingscache.h"
|
#include "blackmisc/settingscache.h"
|
||||||
#include "blackgui/stylesheetutility.h"
|
#include "blackgui/stylesheetutility.h"
|
||||||
#include "blackgui/components/settingscomponent.h"
|
#include "blackgui/components/settingscomponent.h"
|
||||||
#include "blackgui/components/logcomponent.h"
|
#include "blackgui/components/logcomponent.h"
|
||||||
|
|||||||
@@ -60,11 +60,11 @@ protected:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
QScopedPointer<Ui::CSwiftLauncher> ui;
|
QScopedPointer<Ui::CSwiftLauncher> ui;
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup { this, &CSwiftLauncher::ps_changedCache }; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup { this, &CSwiftLauncher::ps_changedCache }; //!< setup cache
|
||||||
BlackCore::CData<BlackCore::Data::UpdateInfo> m_updateInfo { this, &CSwiftLauncher::ps_changedCache }; //!< version cache
|
BlackMisc::CData<BlackCore::Data::UpdateInfo> m_updateInfo { this, &CSwiftLauncher::ps_changedCache }; //!< version cache
|
||||||
QString m_executable;
|
QString m_executable;
|
||||||
QStringList m_executableArgs;
|
QStringList m_executableArgs;
|
||||||
BlackCore::CSetting<BlackCore::Settings::Network::DBusServerAddress> m_dbusServerAddress { this };
|
BlackMisc::CSetting<BlackCore::Settings::Network::DBusServerAddress> m_dbusServerAddress { this };
|
||||||
|
|
||||||
//! Get core mode
|
//! Get core mode
|
||||||
GuiModes::CoreMode getCoreMode() const;
|
GuiModes::CoreMode getCoreMode() const;
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ namespace BlackCoreTest
|
|||||||
private:
|
private:
|
||||||
BlackCore::CIcaoDataReader m_icaoReader;
|
BlackCore::CIcaoDataReader m_icaoReader;
|
||||||
BlackCore::CModelDataReader m_modelReader;
|
BlackCore::CModelDataReader m_modelReader;
|
||||||
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
BlackMisc::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
|
||||||
|
|
||||||
//! Test if server is available
|
//! Test if server is available
|
||||||
static bool pingServer(const BlackMisc::Network::CUrl &url);
|
static bool pingServer(const BlackMisc::Network::CUrl &url);
|
||||||
|
|||||||
Reference in New Issue
Block a user