Split parsing/applying. Better error logging. Fix crash.

This commit is contained in:
Jan Dalheimer
2014-01-27 19:20:07 +01:00
parent 966f9d1206
commit f9ea3dbfde
13 changed files with 842 additions and 355 deletions

View File

@@ -52,11 +52,13 @@ public:
virtual QDialog *createModEditDialog(QWidget *parent) override;
/// reload the full version json files. return true on success!
bool reloadFullVersion(QWidget *widgetParent = 0);
bool reloadVersion(QWidget *widgetParent = 0);
/// clears all version information in preparation for an update
void clearFullVersion();
void clearVersion();
/// get the current full version info
std::shared_ptr<OneSixVersion> getFullVersion();
std::shared_ptr<OneSixVersion> getFullVersion() const;
/// gets the current version info, excluding custom.json
std::shared_ptr<OneSixVersion> getNonCustomVersion() const;
/// is the current version original, or custom?
virtual bool versionIsCustom() override;