mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
refs #559, adjustments cache/settings moved
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#define BLACKCORE_DATA_AIRCRAFTMODELS_H
|
||||
|
||||
#include "blackcore/blackcoreexport.h"
|
||||
#include "blackcore/datacache.h"
|
||||
#include "blackmisc/datacache.h"
|
||||
#include "blackmisc/simulation/aircraftmodellist.h"
|
||||
#include "blackmisc/variant.h"
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace BlackCore
|
||||
namespace Data
|
||||
{
|
||||
//! Trait for own simulator models
|
||||
struct OwnSimulatorAircraftModels : public BlackCore::CDataTrait<BlackMisc::Simulation::CAircraftModelList>
|
||||
struct OwnSimulatorAircraftModels : public BlackMisc::CDataTrait<BlackMisc::Simulation::CAircraftModelList>
|
||||
{
|
||||
//! Key in data cache
|
||||
static const char *key() { return "simulator/models"; }
|
||||
@@ -36,7 +36,7 @@ namespace BlackCore
|
||||
};
|
||||
|
||||
//! Trait for vPilot derived models
|
||||
struct VPilotAircraftModels : public BlackCore::CDataTrait<BlackMisc::Simulation::CAircraftModelList>
|
||||
struct VPilotAircraftModels : public BlackMisc::CDataTrait<BlackMisc::Simulation::CAircraftModelList>
|
||||
{
|
||||
//! Key in data cache
|
||||
static const char *key() { return "vpilot/models"; }
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#define BLACKCORE_DATA_AUTHENTICATEDUSER_H
|
||||
|
||||
#include "blackcore/blackcoreexport.h"
|
||||
#include "blackcore/datacache.h"
|
||||
#include "blackmisc/datacache.h"
|
||||
#include "blackmisc/network/authenticateduser.h"
|
||||
|
||||
namespace BlackCore
|
||||
@@ -21,7 +21,7 @@ namespace BlackCore
|
||||
namespace Data
|
||||
{
|
||||
//! Trait for for global setup data
|
||||
struct AuthenticatedUser : public BlackCore::CDataTrait<BlackMisc::Network::CAuthenticatedUser>
|
||||
struct AuthenticatedUser : public BlackMisc::CDataTrait<BlackMisc::Network::CAuthenticatedUser>
|
||||
{
|
||||
//! Key in data cache
|
||||
static const char *key() { return "readers/global/user"; }
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#define BLACKCORE_DATA_GLOBALSETUP_H
|
||||
|
||||
#include "blackcore/blackcoreexport.h"
|
||||
#include "blackcore/datacache.h"
|
||||
#include "blackmisc/datacache.h"
|
||||
#include "blackmisc/network/serverlist.h"
|
||||
#include "blackmisc/network/urllist.h"
|
||||
#include "blackmisc/valueobject.h"
|
||||
@@ -149,7 +149,7 @@ namespace BlackCore
|
||||
};
|
||||
|
||||
//! Trait for global setup data
|
||||
struct GlobalSetup : public BlackCore::CDataTrait<CGlobalSetup>
|
||||
struct GlobalSetup : public BlackMisc::CDataTrait<CGlobalSetup>
|
||||
{
|
||||
//! Key in data cache
|
||||
static const char *key() { return "readers/setup"; }
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#define BLACKCORE_DATA_UPDATEINFO_H
|
||||
|
||||
#include "blackcore/blackcoreexport.h"
|
||||
#include "blackcore/datacache.h"
|
||||
#include "blackmisc/datacache.h"
|
||||
#include "blackmisc/network/urllist.h"
|
||||
#include "blackmisc/valueobject.h"
|
||||
#include "blackmisc/variant.h"
|
||||
@@ -103,7 +103,7 @@ namespace BlackCore
|
||||
};
|
||||
|
||||
//! Trait for global setup data
|
||||
struct UpdateInfo : public BlackCore::CDataTrait<CUpdateInfo>
|
||||
struct UpdateInfo : public BlackMisc::CDataTrait<CUpdateInfo>
|
||||
{
|
||||
//! Key in data cache
|
||||
static const char *key() { return "readers/updateinfo"; }
|
||||
|
||||
Reference in New Issue
Block a user