mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Explicit template instantiations for mixins for value classes
To reduce compile time.
This commit is contained in:
@@ -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
|
||||
{
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user