Explicit template instantiations for mixins for value classes

To reduce compile time.
This commit is contained in:
Mat Sutcliffe
2021-10-04 20:33:49 +01:00
parent 0a121d913d
commit 2b72600937
202 changed files with 461 additions and 2 deletions

View File

@@ -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() :

View File

@@ -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.

View File

@@ -11,6 +11,8 @@
using namespace BlackMisc;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackCore::Data, CLauncherSetup)
namespace BlackCore::Data
{
QString CLauncherSetup::convertToQString(bool i18n) const

View File

@@ -17,6 +17,8 @@
#include "blackmisc/valueobject.h"
#include "blackmisc/variant.h"
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackCore::Data, CLauncherSetup)
namespace BlackCore::Data
{
//! Launcher setup

View File

@@ -12,6 +12,8 @@
using namespace BlackMisc;
using namespace BlackMisc::Network;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackCore::Data, CVatsimSetup)
namespace BlackCore::Data
{
CVatsimSetup::CVatsimSetup() :

View File

@@ -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.

View File

@@ -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) :

View File

@@ -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

View File

@@ -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()

View File

@@ -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
{
/*!