mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
refs #336 Removed the old getMessageCategory methods.
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
@@ -57,9 +57,6 @@ namespace BlackCore
|
||||
ActionStops
|
||||
};
|
||||
|
||||
//! Log message category
|
||||
static QString getMessageCategory() { return "swift.context.application"; }
|
||||
|
||||
//! Service name
|
||||
static const QString &InterfaceName()
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -56,9 +56,6 @@ namespace BlackCore
|
||||
{}
|
||||
|
||||
public:
|
||||
//! Log message category
|
||||
static QString getMessageCategory() { return "swift.context.settings"; }
|
||||
|
||||
//! Service name
|
||||
static const QString &InterfaceName()
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
@@ -64,11 +64,6 @@ namespace BlackCore
|
||||
*/
|
||||
virtual ~INetwork() {}
|
||||
|
||||
/*!
|
||||
* Log message category.
|
||||
*/
|
||||
static QString getMessageCategory() { return "swift.trafficNetwork"; }
|
||||
|
||||
/*!
|
||||
* Flags for capabilities bitfield.
|
||||
*/
|
||||
|
||||
@@ -25,9 +25,6 @@ namespace BlackCore
|
||||
Q_ENUMS(Status)
|
||||
|
||||
public:
|
||||
//! Log message category
|
||||
static QString getMessageCategory() { return "swift.simulator"; }
|
||||
|
||||
//! ISimulator connection
|
||||
enum Status
|
||||
{
|
||||
|
||||
@@ -50,9 +50,6 @@ namespace BlackCore
|
||||
IVoice(QObject *parent = nullptr);
|
||||
|
||||
public:
|
||||
//! Log message category
|
||||
static QString getMessageCategory() { return "swift.voice"; }
|
||||
|
||||
//! Virtual destructor.
|
||||
virtual ~IVoice() {}
|
||||
|
||||
|
||||
@@ -27,9 +27,6 @@ namespace BlackCore
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Log message category
|
||||
static QString getMessageCategory() { return "swift.voice.channel"; }
|
||||
|
||||
//! Com status
|
||||
enum ConnectionStatus
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user