/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright (C) 2017 Simon Stuerz * * * * This file is part of guh-control. * * * * guh-control is free software: you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation, version 3 of the License. * * * * guh-control is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with guh-control. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #ifndef LOGGINGHANDLER_H #define LOGGINGHANDLER_H #include #include "jsonhandler.h" class LoggingHandler : public JsonHandler { Q_OBJECT public: explicit LoggingHandler(QObject *parent = 0); QString nameSpace() const; Q_INVOKABLE void processLogEntryAdded(const QVariantMap ¶ms); Q_INVOKABLE void processLogDatabaseUpdated(const QVariantMap ¶ms); }; #endif // LOGGINGHANDLER_H