refs #336 Removed the old getMessageCategory methods.

This commit is contained in:
Mathew Sutcliffe
2014-10-14 00:11:33 +01:00
parent 75f72fa5cf
commit 5991981789
16 changed files with 0 additions and 57 deletions

View File

@@ -41,9 +41,6 @@ namespace BlackCore
//! Constructor
CAirspaceWatchdog(const BlackMisc::PhysicalQuantities::CTime & initialTimeOut, QObject *parent);
//! Log message category
static QString getMessageCategory() { return "swift.airspacewatchdog"; }
//! Sets the maximum time, after a client is considered timed out
void setTimeout(const BlackMisc::PhysicalQuantities::CTime &value) { m_timeout = value; }

View File

@@ -57,9 +57,6 @@ namespace BlackCore
ActionStops
};
//! Log message category
static QString getMessageCategory() { return "swift.context.application"; }
//! Service name
static const QString &InterfaceName()
{

View File

@@ -43,9 +43,6 @@ namespace BlackCore
IContextAudio(CRuntimeConfig::ContextMode mode, CRuntime *runtime) : CContext(mode, runtime) {}
public:
//! Log message category
static QString getMessageCategory() { return "swift.context.audio"; }
//! \brief Interface name
static const QString &InterfaceName()
{

View File

@@ -43,9 +43,6 @@ namespace BlackCore
Q_CLASSINFO("D-Bus Interface", BLACKCORE_CONTEXTNETWORK_INTERFACENAME)
public:
//! Log message category
static QString getMessageCategory() { return "swift.context.network"; }
//! DBus interface name
static const QString &InterfaceName()
{

View File

@@ -34,9 +34,6 @@ namespace BlackCore
Q_CLASSINFO("D-Bus Interface", BLACKCORE_CONTEXTOWNAIRCRAFT_INTERFACENAME)
public:
//! Log message category
static QString getMessageCategory() { return "swift.context.ownaircraft"; }
//! DBus interface name
static const QString &InterfaceName()
{

View File

@@ -45,9 +45,6 @@ namespace BlackCore
Q_OBJECT
public:
//! Log message category
static QString getMessageCategory() { return "swift.runtime"; }
//! Constructor
CRuntime(const CRuntimeConfig &config, QObject *parent = nullptr);

View File

@@ -56,9 +56,6 @@ namespace BlackCore
{}
public:
//! Log message category
static QString getMessageCategory() { return "swift.context.settings"; }
//! Service name
static const QString &InterfaceName()
{

View File

@@ -39,9 +39,6 @@ namespace BlackCore
Q_CLASSINFO("D-Bus Interface", BLACKCORE_CONTEXTSIMULATOR_INTERFACENAME)
public:
//! Log message category
static QString getMessageCategory() { return "swift.context.simulator"; }
//! Service name
static const QString &InterfaceName()
{

View File

@@ -64,11 +64,6 @@ namespace BlackCore
*/
virtual ~INetwork() {}
/*!
* Log message category.
*/
static QString getMessageCategory() { return "swift.trafficNetwork"; }
/*!
* Flags for capabilities bitfield.
*/

View File

@@ -25,9 +25,6 @@ namespace BlackCore
Q_ENUMS(Status)
public:
//! Log message category
static QString getMessageCategory() { return "swift.simulator"; }
//! ISimulator connection
enum Status
{

View File

@@ -50,9 +50,6 @@ namespace BlackCore
IVoice(QObject *parent = nullptr);
public:
//! Log message category
static QString getMessageCategory() { return "swift.voice"; }
//! Virtual destructor.
virtual ~IVoice() {}

View File

@@ -27,9 +27,6 @@ namespace BlackCore
Q_OBJECT
public:
//! Log message category
static QString getMessageCategory() { return "swift.voice.channel"; }
//! Com status
enum ConnectionStatus
{

View File

@@ -33,9 +33,6 @@ namespace BlackGui
//! Destructor
~CSettingsFsxComponent();
//! Log message category
static QString getMessageCategory() { return "swift.gui.component.settings.simulator.fsx"; }
private slots:
//! Test the SIM connect connectivity
void testSimConnectConnection();

View File

@@ -47,9 +47,6 @@ namespace BlackGui
//! Destructor
~CTextMessageComponent();
//! Log message category
static QString getMessageCategory() { return "swift.gui.component.textMessages"; }
//! SELCAL callback, SELCAL is obtained by that
void setSelcalCallback(const std::function<const QString(void)> &selcalCallback) { this->m_selcalCallback = selcalCallback; }

View File

@@ -42,9 +42,6 @@ namespace BlackMisc
CTextMessage(const QString &message, const BlackMisc::Aviation::CCallsign &senderCallsign, const BlackMisc::Aviation::CCallsign &recipientCallsign = BlackMisc::Aviation::CCallsign())
: m_message(message), m_received(QDateTime::currentDateTimeUtc()), m_senderCallsign(senderCallsign), m_recipientCallsign(recipientCallsign), m_frequency(0, BlackMisc::PhysicalQuantities::CFrequencyUnit::nullUnit()) {}
//! Logging category
static QString getMessageCategory() { return "swift.textMessage"; }
//! \brief Get callsign (from)
const BlackMisc::Aviation::CCallsign &getSenderCallsign() const
{

View File

@@ -25,16 +25,6 @@ namespace BlackMisc
CSettingUtilities() {}
public:
//! Log message category for anything related to settings
static QString getMessageCategory() { return "swift.settings"; }
//! Log message category for settings validation messages
static QString validationMessageCategory() { return "swift.settings.validation"; }
//! Log message category for settings update messages
static QString updateMessageCategory() { return "swift.settings.update"; }
//! Command validate
static const QString &CmdValidate()
{