diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2018-01-02 15:09:49 -0500 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2018-01-02 15:09:49 -0500 |
commit | 2287ab5e5edad3e843c4dac1c10ed6f43bc9f32d (patch) | |
tree | 9765373240926d103df307518b746c428af3b3a6 /src-qt5/src-cpp/plugins-desktop.h | |
parent | Improved some of the code in the screensaver plugins file (diff) | |
download | lumina-2287ab5e5edad3e843c4dac1c10ed6f43bc9f32d.tar.gz lumina-2287ab5e5edad3e843c4dac1c10ed6f43bc9f32d.tar.bz2 lumina-2287ab5e5edad3e843c4dac1c10ed6f43bc9f32d.zip |
Started a framework for desktop plugins and modified the screensaver plugins to inherit from a base plugin system
Diffstat (limited to 'src-qt5/src-cpp/plugins-desktop.h')
-rw-r--r-- | src-qt5/src-cpp/plugins-desktop.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src-qt5/src-cpp/plugins-desktop.h b/src-qt5/src-cpp/plugins-desktop.h new file mode 100644 index 00000000..ed576db1 --- /dev/null +++ b/src-qt5/src-cpp/plugins-desktop.h @@ -0,0 +1,29 @@ +//=========================================== +// Lumina-desktop source code +// Copyright (c) 2017, Ken Moore +// Available under the 3-clause BSD license +// See the LICENSE file for full details +//=========================================== +#ifndef _LUMINA_DESKTOP_DESKTOP_PLUGINS_CLASS_H +#define _LUMINA_DESKTOP_DESKTOP_PLUGINS_CLASS_H + +#include "plugins-base.h" +#include <QJsonObject> +#include <QString> +#include <QUrl> +#include <QObject> +#include <QJsonDocument> +#include <QJsonArray> +#include <QFile> +#include <QDir> +#include <QDebug> + +class DTPlugin : public BasePlugin{ +public: + DTPlugin(); + ~DTPlugin(); + + virtual bool isValid() Q_DECL_OVERRIDE; +}; + +#endif |