mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Explicit template instantiations for mixins for value classes
To reduce compile time.
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -25,11 +25,13 @@
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network, CAuthenticatedUser)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
/*!
|
||||
* Value object encapsulating information of an authentiated user.
|
||||
*/
|
||||
* Value object encapsulating information of an authentiated user.
|
||||
*/
|
||||
class BLACKMISC_EXPORT CAuthenticatedUser :
|
||||
public CValueObject<CAuthenticatedUser>,
|
||||
public BlackMisc::Db::IDatastoreObjectWithIntegerKey
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "blackmisc/aviation/callsign.h"
|
||||
#include "blackmisc/mixin/mixincompare.h"
|
||||
#include "blackmisc/iconlist.h"
|
||||
#include "blackmisc/propertyindexvariantmap.h" // needed for Mixin::Index::apply
|
||||
|
||||
#include <QPixmap>
|
||||
#include <QString>
|
||||
@@ -17,6 +18,8 @@
|
||||
#include <QStringList>
|
||||
#include <tuple>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network, CClient)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
QString CClient::convertToQString(bool i18n) const
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network, CClient)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
//! Another client software.
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#include "blackmisc/network/connectionstatus.h"
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network, CConnectionStatus)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
QString CConnectionStatus::convertToQString(bool i18n) const
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/valueobject.h"
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network, CConnectionStatus)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
//! Value object encapsulating information about a connection status
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include "blackmisc/verify.h"
|
||||
#include "blackmisc/comparefunctions.h"
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network, CEcosystem)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
QString CEcosystem::convertToQString(bool i18n) const
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network, CEcosystem)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
//! Ecosystem of server belonging together.
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#include "blackmisc/network/facilitytype.h"
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network, CFacilityType)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
QString CFacilityType::convertToQString(bool i18n) const
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/valueobject.h"
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network, CFacilityType)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
//! Value object encapsulating the ATC facility type, e.g. TWR, DEP, APP
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
using namespace BlackMisc;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network, CFsdSetup)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
CFsdSetup::CFsdSetup(SendReceiveDetails sendReceive) : m_sendReceive(sendReceive)
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network, CFsdSetup)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
//! Value object for a FSD setup
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#include "blackmisc/network/loginmode.h"
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network, CLoginMode)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
QString CLoginMode::convertToQString(bool i18n) const
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/valueobject.h"
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network, CLoginMode)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
//! Value object encapsulating information about login mode
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
using namespace BlackMisc;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network, CRawFsdMessage)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
CRawFsdMessage::CRawFsdMessage(const QString &rawMessage)
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network, CRawFsdMessage)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
//! Value object for a raw FSD message
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include <QJsonValue>
|
||||
#include <QtGlobal>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network, CRemoteFile)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
CRemoteFile::CRemoteFile(const QString &name, const QString &description)
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network, CRemoteFile)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include <QtGlobal>
|
||||
#include <QStringBuilder>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network, CRole)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
CRole::CRole(const QString &name, const QString &description)
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network, CRole)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
using namespace BlackMisc::Audio;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network, CServer)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
const QList<int> &CServer::allServerTypes()
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network, CServer)
|
||||
|
||||
namespace BlackMisc::Network
|
||||
{
|
||||
//! Value object encapsulating information of a server
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
#include <QtGlobal>
|
||||
#include <QStringBuilder>
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Network::Settings, CNetworkSettings)
|
||||
|
||||
namespace BlackMisc::Network::Settings
|
||||
{
|
||||
QString CNetworkSettings::convertToQString(bool i18n) const
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Network::Settings, CNetworkSettings)
|
||||
|
||||
namespace BlackMisc::Network::Settings
|
||||
{
|
||||
//! Network settings
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user