mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
committed by
Mathew Sutcliffe
parent
cdb7b6631a
commit
da59ff42a4
@@ -34,7 +34,6 @@
|
||||
|
||||
class QNetworkReply;
|
||||
namespace BlackMisc { class CLogCategoryList; }
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
namespace Db
|
||||
@@ -109,9 +108,9 @@ namespace BlackCore
|
||||
struct JsonDatastoreResponse : public HeaderResponse
|
||||
{
|
||||
private:
|
||||
QJsonArray m_jsonArray; //!< JSON array data
|
||||
int m_arraySize = -1; //!< size of array, if applicable (copied to member for debugging purposes)
|
||||
bool m_restricted = false; //!< restricted reponse, only changed data
|
||||
QJsonArray m_jsonArray; //!< JSON array data
|
||||
int m_arraySize = -1; //!< size of array, if applicable (copied to member for debugging purposes)
|
||||
bool m_restricted = false; //!< restricted reponse, only changed data
|
||||
|
||||
public:
|
||||
//! Any data?
|
||||
@@ -274,7 +273,7 @@ namespace BlackCore
|
||||
//! \remark normally constant after startup phase
|
||||
static BlackMisc::Network::CUrl getWorkingDbDataFileLocationUrl();
|
||||
|
||||
//! File appendix for given mode, such as ".php" or ".json"
|
||||
//! File name for given mode, either php service or shared file name
|
||||
static QString fileNameForMode(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Db::CDbFlags::DataRetrievalModeFlag mode);
|
||||
|
||||
//! \name Cache access
|
||||
|
||||
@@ -115,7 +115,7 @@ namespace BlackCore
|
||||
//! \threadsafe
|
||||
bool areAllDataRead() const;
|
||||
|
||||
//! Read to JSON file
|
||||
//! Read from local JSON file
|
||||
BlackMisc::CStatusMessageList readFromJsonFiles(const QString &dir, BlackMisc::Network::CEntityFlags::Entity whatToRead = BlackMisc::Network::CEntityFlags::DistributorLiveryModel);
|
||||
|
||||
//! Read from static DB data file
|
||||
|
||||
Reference in New Issue
Block a user