refs #681, removed old FSD settings (we use server based FSD setup now)

This commit is contained in:
Klaus Basan
2016-06-27 03:52:54 +02:00
parent c133ad04c7
commit 5c4e4e978e
4 changed files with 14 additions and 71 deletions

View File

@@ -22,19 +22,6 @@ namespace BlackCore
{
namespace Network
{
//! Name of text codec to use with text in FSD protocol
struct WireTextCodec : public BlackMisc::CSettingTrait<QString>
{
//! \copydoc BlackMisc::CSettingTrait::key
static const char *key() { return "network/wiretextcodec"; }
//! \copydoc BlackMisc::CSettingTrait::defaultValue
static const QString &defaultValue() { static const QString dv("latin1"); return dv; }
//! \copydoc BlackMisc::CSettingTrait::isValid
static bool isValid(const QString &value) { return QTextCodec::codecForName(qPrintable(value)); }
};
//! Virtual air traffic servers
struct TrafficServers : public BlackMisc::CSettingTrait<BlackMisc::Network::CServerList>
{
@@ -66,17 +53,6 @@ namespace BlackCore
//! \copydoc BlackMisc::CSettingTrait::defaultValue
static const QString &defaultValue() { static const QString dv("session"); return dv; }
};
//! Interim positions enabled
struct InterimPositionsEnabled : public BlackMisc::CSettingTrait<bool>
{
//! \copydoc BlackMisc::CSettingTrait::key
static const char *key() { return "network/interimpositions"; }
//! \copydoc BlackMisc::CSettingTrait::defaultValue
static bool defaultValue() { return true; }
};
} // ns
} // ns
} // ns