mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
Explicit template instantiations for mixins for value classes
To reduce compile time.
This commit is contained in:
@@ -46,6 +46,7 @@ returnDanglingLifetime:src/blackmisc/iterator.h
|
||||
unreadVariable:tests/blackcore/testreaders/testreaders.cpp
|
||||
unknownMacro:src/blackmisc/aviation/altitude.h
|
||||
unknownMacro:src/blackmisc/geo/elevationplane.h
|
||||
unknownMacro:src/blackmisc/identifier.cpp
|
||||
unknownMacro:tests/blackmisc/testsharedstate/testsharedstate.h
|
||||
ctuArrayIndex:src/xswiftbus/libxplanemp/src/XPMPPlaneRenderer.cpp
|
||||
|
||||
|
||||
@@ -28,6 +28,8 @@ using namespace BlackMisc;
|
||||
using namespace BlackMisc::Json;
|
||||
using namespace BlackMisc::Network;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackCore::Data, CGlobalSetup)
|
||||
|
||||
namespace BlackCore::Data
|
||||
{
|
||||
CGlobalSetup::CGlobalSetup() :
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackCore::Data, CGlobalSetup)
|
||||
|
||||
namespace BlackCore::Data
|
||||
{
|
||||
//! Global settings for readers, debug flags, etc.
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
|
||||
using namespace BlackMisc;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackCore::Data, CLauncherSetup)
|
||||
|
||||
namespace BlackCore::Data
|
||||
{
|
||||
QString CLauncherSetup::convertToQString(bool i18n) const
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#include "blackmisc/valueobject.h"
|
||||
#include "blackmisc/variant.h"
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackCore::Data, CLauncherSetup)
|
||||
|
||||
namespace BlackCore::Data
|
||||
{
|
||||
//! Launcher setup
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Network;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackCore::Data, CVatsimSetup)
|
||||
|
||||
namespace BlackCore::Data
|
||||
{
|
||||
CVatsimSetup::CVatsimSetup() :
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackCore::Data, CVatsimSetup)
|
||||
|
||||
namespace BlackCore::Data
|
||||
{
|
||||
//! VATSIM data (servers, URLs) cached as last known good setup.
|
||||
|
||||
@@ -17,6 +17,8 @@ using namespace BlackMisc::Db;
|
||||
using namespace BlackMisc::Network;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackCore::Db, CDatabaseReaderConfig)
|
||||
|
||||
namespace BlackCore::Db
|
||||
{
|
||||
CDatabaseReaderConfig::CDatabaseReaderConfig(CEntityFlags::Entity entities, CDbFlags::DataRetrievalMode retrievalFlags, const CTime &cacheLifetime) :
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <QTimer>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackCore::Db, CDatabaseReaderConfig)
|
||||
|
||||
namespace BlackCore::Db
|
||||
{
|
||||
//! Details how to read a certain entity
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackCore::Vatsim, CReaderSettings)
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackCore::Vatsim, CRawFsdMessageSettings)
|
||||
|
||||
namespace BlackCore::Vatsim
|
||||
{
|
||||
CReaderSettings::CReaderSettings()
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
#include "blackmisc/directoryutils.h"
|
||||
#include "blackmisc/fileutils.h"
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackCore::Vatsim, CReaderSettings)
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackCore::Vatsim, CRawFsdMessageSettings)
|
||||
|
||||
namespace BlackCore::Vatsim
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
using namespace BlackMisc;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackGui::Settings, CAtcStationsSettings)
|
||||
|
||||
namespace BlackGui::Settings
|
||||
{
|
||||
CAtcStationsSettings::CAtcStationsSettings()
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
#include "blackmisc/settingscache.h"
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackGui::Settings, CAtcStationsSettings)
|
||||
|
||||
namespace BlackGui::Settings
|
||||
{
|
||||
//! How to display ATC stations
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackGui;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackGui::Settings, CDockWidgetSettings)
|
||||
|
||||
namespace BlackGui::Settings
|
||||
{
|
||||
CDockWidgetSettings::CDockWidgetSettings()
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <QString>
|
||||
#include <QMetaType>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackGui::Settings, CDockWidgetSettings)
|
||||
|
||||
namespace BlackGui::Settings
|
||||
{
|
||||
//! Settings for dockwidget
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
|
||||
using namespace BlackMisc;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackGui::Settings, CGeneralGuiSettings)
|
||||
|
||||
namespace BlackGui::Settings
|
||||
{
|
||||
CGeneralGuiSettings::CGeneralGuiSettings()
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
#include <QString>
|
||||
#include <QAbstractItemView>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackGui::Settings, CGeneralGuiSettings)
|
||||
|
||||
namespace BlackGui::Settings
|
||||
{
|
||||
//! General GUI settings
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackGui;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackGui::Settings, CNavigatorSettings)
|
||||
|
||||
namespace BlackGui::Settings
|
||||
{
|
||||
CNavigatorSettings::CNavigatorSettings()
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <QString>
|
||||
#include <QMetaType>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackGui::Settings, CNavigatorSettings)
|
||||
|
||||
namespace BlackGui::Settings
|
||||
{
|
||||
//! Settings for navigator bar
|
||||
|
||||
@@ -14,6 +14,8 @@ using namespace BlackMisc;
|
||||
using namespace BlackMisc::Network;
|
||||
using namespace BlackMisc::Simulation;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackGui::Settings, CTextMessageSettings)
|
||||
|
||||
namespace BlackGui::Settings
|
||||
{
|
||||
CTextMessageSettings::CTextMessageSettings()
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
#include "blackmisc/settingscache.h"
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackGui::Settings, CTextMessageSettings)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Simulation { class CSimulatedAircraft; }
|
||||
|
||||
@@ -15,6 +15,8 @@ using namespace BlackMisc;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
using namespace BlackGui;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackGui::Settings, CViewUpdateSettings)
|
||||
|
||||
namespace BlackGui::Settings
|
||||
{
|
||||
CViewUpdateSettings::CViewUpdateSettings()
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <QString>
|
||||
#include <QMetaType>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackGui::Settings, CViewUpdateSettings)
|
||||
|
||||
namespace BlackGui::Settings
|
||||
{
|
||||
//! Settings about view update rates
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
using namespace BlackConfig;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc, CApplicationInfo)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
CApplicationInfo::CApplicationInfo() {}
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QFlags>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc, CApplicationInfo)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#include <QtGlobal>
|
||||
#include <QAudioDeviceInfo>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Audio, CAudioDeviceInfo)
|
||||
|
||||
namespace BlackMisc::Audio
|
||||
{
|
||||
CAudioDeviceInfo::CAudioDeviceInfo() :
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Audio, CAudioDeviceInfo)
|
||||
|
||||
namespace BlackMisc::Audio
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
using namespace BlackMisc::Audio;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Audio, CSettings)
|
||||
|
||||
namespace BlackMisc::Audio
|
||||
{
|
||||
int CSettings::fixOutVolume(int v)
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Audio, CSettings)
|
||||
|
||||
namespace BlackMisc::Audio
|
||||
{
|
||||
//! Value object encapsulating information of audio related settings.
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
#include <Qt>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Audio, CVoiceSetup)
|
||||
|
||||
namespace BlackMisc::Audio
|
||||
{
|
||||
QString CVoiceSetup::convertToQString(bool i18n) const
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Audio, CVoiceSetup)
|
||||
|
||||
namespace BlackMisc::Audio
|
||||
{
|
||||
//! Value object for a voice setup
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Db;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftCategory)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
CAircraftCategory::CAircraftCategory(const QString &name, const QString &description, const QString &path, bool assignable) :
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include <QStringList>
|
||||
#include <QMetaType>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftCategory)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Value object for aircraft categories
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
#include <QChar>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftEngine)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
CAircraftEngine::CAircraftEngine(int number, bool on) : m_number(number), m_on(on)
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftEngine)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Value object encapsulating information about aircraft's engines
|
||||
|
||||
@@ -28,6 +28,8 @@ using namespace BlackMisc;
|
||||
using namespace BlackMisc::Db;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftIcaoCode)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
CAircraftIcaoCode::CAircraftIcaoCode(const QString &icao, const QString &combinedType) :
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftIcaoCode)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Value object for ICAO classification
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include "blackmisc/comparefunctions.h"
|
||||
#include <QStringBuilder>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftLights)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
CAircraftLights::CAircraftLights(bool strobeOn, bool landingOn, bool taxiOn, bool beaconOn, bool navOn, bool logoOn)
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftLights)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Value object encapsulating information about aircraft's lights
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
using namespace BlackConfig;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftParts)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
CAircraftParts::CAircraftParts(int flapsPercent) : m_flapsPercentage(flapsPercent) {}
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftParts)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Value object encapsulating information of aircraft's parts
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "blackmisc/verify.h"
|
||||
#include "blackmisc/stringutils.h"
|
||||
#include "blackconfig/buildconfig.h"
|
||||
#include "blackmisc/propertyindexvariantmap.h" // needed for Mixin::Index::apply
|
||||
|
||||
#include "QStringBuilder"
|
||||
#include <QtGlobal>
|
||||
@@ -25,6 +26,8 @@ using namespace BlackMisc::Geo;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
using namespace BlackConfig;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftSituation)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
const CLength &CAircraftSituation::allowedAltitudeDeviation()
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
#include <QVector3D>
|
||||
#include <array>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftSituation)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Geo { class CElevationPlane; }
|
||||
|
||||
@@ -27,6 +27,8 @@ using namespace BlackMisc::PhysicalQuantities;
|
||||
using namespace BlackMisc::Math;
|
||||
using namespace BlackConfig;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftSituationChange)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
void CAircraftSituationChange::registerMetadata()
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include "blackmisc/propertyindexref.h"
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAircraftSituationChange)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Simulation
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Db;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAirlineIcaoCode)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
CAirlineIcaoCode::CAirlineIcaoCode(const QString &airlineDesignator)
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#include <QMap>
|
||||
#include <QSet>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAirlineIcaoCode)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
class CCallsign;
|
||||
|
||||
@@ -20,6 +20,8 @@ using namespace BlackMisc;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
using namespace BlackMisc::Geo;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAirport)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
CAirport::CAirport()
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#include <QVector3D>
|
||||
#include <array>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAirport)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Value object encapsulating information about an airpot.
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#include <Qt>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAirportIcaoCode)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
QString CAirportIcaoCode::convertToQString(bool /** i18n **/) const
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <QString>
|
||||
#include <tuple>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAirportIcaoCode)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Value object encapsulating information of airport ICAO data.
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "blackmisc/propertyindexref.h"
|
||||
#include "blackmisc/comparefunctions.h"
|
||||
#include "blackmisc/stringutils.h"
|
||||
#include "blackmisc/propertyindexvariantmap.h" // needed for Mixin::Index::apply
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QtGlobal>
|
||||
@@ -24,6 +25,8 @@ using namespace BlackMisc::PhysicalQuantities;
|
||||
using namespace BlackMisc::Geo;
|
||||
using namespace BlackMisc::Network;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAtcStation)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
CAtcStation::CAtcStation()
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
#include <array>
|
||||
#include <tuple>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CAtcStation)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Value object encapsulating information about an ATC station.
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#include <Qt>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CCallsign)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
CCallsign::CCallsign(const QString &callsign, CCallsign::TypeHint hint)
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
class QStringList;
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CCallsign)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CStatusMessageList;
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "blackmisc/fileutils.h"
|
||||
#include "blackmisc/stringutils.h"
|
||||
#include "blackmisc/json.h"
|
||||
#include "blackmisc/propertyindexvariantmap.h" // needed for Mixin::Index::apply
|
||||
|
||||
#include <QFile>
|
||||
#include <QDateTime>
|
||||
@@ -27,6 +28,9 @@
|
||||
using namespace BlackMisc::Network;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CFlightPlanRemarks)
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CFlightPlan)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
CFlightPlanRemarks::CFlightPlanRemarks()
|
||||
|
||||
@@ -35,6 +35,9 @@
|
||||
#include <QTime>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CFlightPlanRemarks)
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CFlightPlan)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Flight plan remarks, parsed values
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include "blackmisc/aviation/informationmessage.h"
|
||||
#include "blackmisc/comparefunctions.h"
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CInformationMessage)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
QString CInformationMessage::convertToQString(bool i18n) const
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <QString>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CInformationMessage)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Value object encapsulating information message (ATIS, METAR, TAF)
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Db;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CLivery)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
CLivery::CLivery()
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CLivery)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Value object encapsulating information about an airpot.
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CSelcal)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
QString CSelcal::convertToQString(bool /** i18n **/) const
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
class QStringList;
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CSelcal)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace PhysicalQuantities { class CFrequency; }
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
|
||||
using namespace BlackMisc::Network;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CSimBriefData)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
const QStringList &CSimBriefData::getLogCategories()
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <QString>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CSimBriefData)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Value object for a flight plan
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
#include <Qt>
|
||||
#include <QtDebug>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CTransponder)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
void CTransponder::registerMetadata()
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#include <QtGlobal>
|
||||
#include <tuple>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Aviation, CTransponder)
|
||||
|
||||
namespace BlackMisc::Aviation
|
||||
{
|
||||
//! Transponder
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
#include <QtGlobal>
|
||||
#include <QStringBuilder>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc, CCountry)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
CCountry::CCountry(const QString &iso, const QString &name) :
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc, CCountry)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
#include <QFile>
|
||||
#include <QStringBuilder>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc, CCrashInfo)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
CCrashInfo::CCrashInfo() {}
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
#include "blackmisc/valueobject.h"
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc, CCrashInfo)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
|
||||
#include <QStringBuilder>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Settings, CCrashSettings)
|
||||
|
||||
namespace BlackMisc::Settings
|
||||
{
|
||||
CCrashSettings::CCrashSettings() {}
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "blackmisc/valueobject.h"
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Settings, CCrashSettings)
|
||||
|
||||
namespace BlackMisc::Settings
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
using namespace BlackConfig;
|
||||
using namespace BlackMisc::Network;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Db, CArtifact)
|
||||
|
||||
namespace BlackMisc::Db
|
||||
{
|
||||
CArtifact::CArtifact()
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
#include "blackmisc/network/remotefile.h"
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Db, CArtifact)
|
||||
|
||||
namespace BlackMisc::Db
|
||||
{
|
||||
//! Artifacts ("our software" products)
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
|
||||
using namespace BlackMisc::Network;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Db, CDbInfo)
|
||||
|
||||
namespace BlackMisc::Db
|
||||
{
|
||||
CDbInfo::CDbInfo(int key, const QString &tableName, int entries) :
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#include "blackmisc/valueobject.h"
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Db, CDbInfo)
|
||||
|
||||
namespace BlackMisc::Db
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -14,6 +14,8 @@ using namespace BlackConfig;
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Network;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Db, CDistribution)
|
||||
|
||||
namespace BlackMisc::Db
|
||||
{
|
||||
CDistribution::CDistribution()
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#include <QVersionNumber>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Db, CDistribution)
|
||||
|
||||
namespace BlackMisc::Db
|
||||
{
|
||||
//! Distributions for channel
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
using namespace BlackConfig;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Db, CUpdateInfo)
|
||||
|
||||
namespace BlackMisc::Db
|
||||
{
|
||||
CUpdateInfo::CUpdateInfo(const CArtifactList &artifacts, const CDistributionList &distributions) :
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#include "blackmisc/valueobject.h"
|
||||
#include <QStringList>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Db, CUpdateInfo)
|
||||
|
||||
namespace BlackMisc::Db
|
||||
{
|
||||
//! Update info, i.e. artifacts and distributions
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc, CDirectories)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
QString CDirectories::getFlightPlanDirectoryOrDefault() const
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc, CDirectories)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -20,6 +20,8 @@ using namespace BlackMisc::Aviation;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
using namespace BlackMisc::Math;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Geo, CCoordinateGeodetic)
|
||||
|
||||
namespace BlackMisc::Geo
|
||||
{
|
||||
ICoordinateGeodetic::~ICoordinateGeodetic()
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
#include <QVector3D>
|
||||
#include <array>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Geo, CCoordinateGeodetic)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Geo
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#include <QSysInfo>
|
||||
#include <QStringBuilder>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc, CIdentifier)
|
||||
|
||||
//! \private Escape characters not allowed in dbus paths
|
||||
QString toDBusPath(const QString &s)
|
||||
{
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <QUuid>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc, CIdentifier)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include "blackmisc/input/actionhotkey.h"
|
||||
#include <QStringBuilder>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Input, CActionHotkey)
|
||||
|
||||
namespace BlackMisc::Input
|
||||
{
|
||||
CActionHotkey::CActionHotkey(const QString &action) :
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Input, CActionHotkey)
|
||||
|
||||
namespace BlackMisc::Input
|
||||
{
|
||||
//! Value object encapsulating a action hotkey
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
#include <algorithm>
|
||||
#include <tuple>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Input, CHotkeyCombination)
|
||||
|
||||
namespace BlackMisc::Input
|
||||
{
|
||||
CHotkeyCombination::CHotkeyCombination(CKeyboardKey key) : CHotkeyCombination(CKeyboardKeyList { key })
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QStringList>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Input, CHotkeyCombination)
|
||||
|
||||
namespace BlackMisc::Input
|
||||
{
|
||||
//! Value object representing hotkey sequence
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#include "blackmisc/input/joystickbutton.h"
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Input, CJoystickButton)
|
||||
|
||||
namespace BlackMisc::Input
|
||||
{
|
||||
CJoystickButton::CJoystickButton(const QString &deviceName, int index) :
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <QString>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Input, CJoystickButton)
|
||||
|
||||
namespace BlackMisc::Input
|
||||
{
|
||||
//! Value object representing a joystick button
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
|
||||
#include "blackmisc/propertyindexref.h"
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Input, CKeyboardKey)
|
||||
|
||||
namespace BlackMisc::Input
|
||||
{
|
||||
CKeyboardKey::CKeyboardKey() :
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Input, CKeyboardKey)
|
||||
|
||||
namespace BlackMisc::Input
|
||||
{
|
||||
//! Value object representing a keyboard key.
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc, CLogCategory)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
QString CLogCategory::convertToQString(bool i18n) const
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc, CLogCategory)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
#include "blackmisc/propertyindexvariantmap.h"
|
||||
#include <tuple>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc, CNameVariantPair)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
CNameVariantPair::CNameVariantPair(const QString &name, const CVariant &variant, const CIcon &icon)
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc, CNameVariantPair)
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
//! Value / variant pair
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#include <QStringBuilder>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network, CAuthenticatedUser)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
CAuthenticatedUser::CAuthenticatedUser()
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user