diff --git a/update.h b/update.h index cb1d01a..8dcfaea 100644 --- a/update.h +++ b/update.h @@ -58,6 +58,7 @@ public: char const *baudrate = "115200"); virtual ~Update() override; bool doUpdate(int &displayIndex, QStringList const &linesToWorkOn); + bool checkDownloadedJsonVersions(QStringList const& jsonFileNames); hwinf *hw() { return m_hw; } hwinf const *hw() const { return m_hw; } @@ -87,6 +88,7 @@ private: bool downloadJson(enum FileTypeJson type, int templateIdx, QString jsFileToSendToDC) const; QStringList getDcSoftAndHardWareVersion(); + QString getFileVersion(QString const& jsonFile); private slots: void readyReadStandardOutput();