mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 06:25:33 +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.
|
||||
|
||||
Reference in New Issue
Block a user