mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 05:45:35 +08:00
Settings, added TSettingTrait::humanReadable and used copydoc, T159 related
This commit is contained in:
committed by
Mathew Sutcliffe
parent
88a1c9f5d4
commit
7cdfe8c914
@@ -29,6 +29,9 @@ namespace BlackCore
|
||||
{
|
||||
//! \copydoc BlackMisc::TSettingTrait::key
|
||||
static const char *key() { return "network/trafficservers"; }
|
||||
|
||||
//! \copydoc BlackCore::TSettingTrait::humanReadable
|
||||
static const QString &humanReadable() { static const QString name("Traffic servers"); return name; }
|
||||
};
|
||||
|
||||
/*!
|
||||
@@ -39,6 +42,9 @@ namespace BlackCore
|
||||
//! \copydoc BlackMisc::TSettingTrait::key
|
||||
static const char *key() { return "network/currenttrafficserver"; }
|
||||
|
||||
//! \copydoc BlackCore::TSettingTrait::humanReadable
|
||||
static const QString &humanReadable() { static const QString name("Current traffic servers"); return name; }
|
||||
|
||||
//! \copydoc BlackMisc::TSettingTrait::defaultValue
|
||||
static const BlackMisc::Network::CServer &defaultValue()
|
||||
{
|
||||
@@ -114,6 +120,9 @@ namespace BlackCore
|
||||
//! \copydoc BlackCore::TSettingTrait::key
|
||||
static const char *key() { return "vatsimreaders/bookings"; }
|
||||
|
||||
//! \copydoc BlackCore::TSettingTrait::humanReadable
|
||||
static const QString &humanReadable() { static const QString name("VATSIM bookings"); return name; }
|
||||
|
||||
//! \copydoc BlackCore::TSettingTrait::defaultValue
|
||||
static const BlackCore::Vatsim::CReaderSettings &defaultValue()
|
||||
{
|
||||
@@ -128,6 +137,9 @@ namespace BlackCore
|
||||
//! \copydoc BlackCore::TSettingTrait::key
|
||||
static const char *key() { return "vatsimreaders/datafile"; }
|
||||
|
||||
//! \copydoc BlackCore::TSettingTrait::humanReadable
|
||||
static const QString &humanReadable() { static const QString name("VATSIM data file"); return name; }
|
||||
|
||||
//! \copydoc BlackCore::TSettingTrait::defaultValue
|
||||
static const BlackCore::Vatsim::CReaderSettings &defaultValue()
|
||||
{
|
||||
@@ -142,6 +154,9 @@ namespace BlackCore
|
||||
//! \copydoc BlackCore::TSettingTrait::key
|
||||
static const char *key() { return "vatsimreaders/metars"; }
|
||||
|
||||
//! \copydoc BlackCore::TSettingTrait::humanReadable
|
||||
static const QString &humanReadable() { static const QString name("VATSIM METARs"); return name; }
|
||||
|
||||
//! \copydoc BlackCore::TSettingTrait::defaultValue
|
||||
static const BlackCore::Vatsim::CReaderSettings &defaultValue()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user