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

@@ -10,6 +10,8 @@
using namespace BlackMisc;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackGui::Settings, CAtcStationsSettings)
namespace BlackGui::Settings
{
CAtcStationsSettings::CAtcStationsSettings()

View File

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

View File

@@ -14,6 +14,8 @@
using namespace BlackMisc;
using namespace BlackGui;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackGui::Settings, CDockWidgetSettings)
namespace BlackGui::Settings
{
CDockWidgetSettings::CDockWidgetSettings()

View File

@@ -21,6 +21,8 @@
#include <QString>
#include <QMetaType>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackGui::Settings, CDockWidgetSettings)
namespace BlackGui::Settings
{
//! Settings for dockwidget

View File

@@ -11,6 +11,8 @@
using namespace BlackMisc;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackGui::Settings, CGeneralGuiSettings)
namespace BlackGui::Settings
{
CGeneralGuiSettings::CGeneralGuiSettings()

View File

@@ -18,6 +18,8 @@
#include <QString>
#include <QAbstractItemView>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackGui::Settings, CGeneralGuiSettings)
namespace BlackGui::Settings
{
//! General GUI settings

View File

@@ -14,6 +14,8 @@
using namespace BlackMisc;
using namespace BlackGui;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackGui::Settings, CNavigatorSettings)
namespace BlackGui::Settings
{
CNavigatorSettings::CNavigatorSettings()

View File

@@ -20,6 +20,8 @@
#include <QString>
#include <QMetaType>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackGui::Settings, CNavigatorSettings)
namespace BlackGui::Settings
{
//! Settings for navigator bar

View File

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

View File

@@ -15,6 +15,8 @@
#include "blackmisc/settingscache.h"
#include <QString>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackGui::Settings, CTextMessageSettings)
namespace BlackMisc
{
namespace Simulation { class CSimulatedAircraft; }

View File

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

View File

@@ -21,6 +21,8 @@
#include <QString>
#include <QMetaType>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackGui::Settings, CViewUpdateSettings)
namespace BlackGui::Settings
{
//! Settings about view update rates