summaryrefslogtreecommitdiff
path: root/src/loot.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-11-22 09:14:02 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2019-11-22 09:14:02 -0500
commit237825f5b6c77969376198ed60d81c26a6a8aded (patch)
tree25b52b825f5671d7968472dba5e4e34667933e8f /src/loot.h
parent0faf628e928a7caf46aeecff2a15dd2bcd2726fe (diff)
emit logs for general messages
handle new json output file
Diffstat (limited to 'src/loot.h')
-rw-r--r--src/loot.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/loot.h b/src/loot.h
index 6dc7c9f3..54fc6fd1 100644
--- a/src/loot.h
+++ b/src/loot.h
@@ -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)