diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-22 09:14:02 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-22 09:14:02 -0500 |
| commit | 237825f5b6c77969376198ed60d81c26a6a8aded (patch) | |
| tree | 25b52b825f5671d7968472dba5e4e34667933e8f /src/loot.h | |
| parent | 0faf628e928a7caf46aeecff2a15dd2bcd2726fe (diff) | |
emit logs for general messages
handle new json output file
Diffstat (limited to 'src/loot.h')
| -rw-r--r-- | src/loot.h | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -50,16 +50,12 @@ private: void processMessage(const lootcli::Message& m); void processOutputFile(); - bool processOutputPlugin(const QJsonValue& pluginValue); + bool processMessages(const QJsonArray& messages); + bool processMessage(const QJsonObject& message); + bool processPlugins(const QJsonArray& plugins); + bool processPlugin(const QJsonObject& plugin); - bool processPluginMessages( - const QString& pluginName, const QJsonObject& plugin); - - bool processPluginMessage( - const QString& pluginName, const QJsonObject& message); - - bool processPluginDirty( - const QString& pluginName, const QJsonObject& plugin); + bool processPluginDirty(const QString& name, const QJsonObject& plugin); template <class Format, class... Args> void logJsonError(Format&& f, Args&&... args) |
