Formatting, comments

#930
This commit is contained in:
Klaus Basan
2017-04-06 02:56:39 +02:00
committed by Mathew Sutcliffe
parent cdb7b6631a
commit da59ff42a4
2 changed files with 5 additions and 6 deletions

View File

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

View File

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