aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/src-cpp/plugins-desktop.h
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2018-01-02 15:09:49 -0500
committerZackaryWelch <welch.zackary@gmail.com>2018-01-02 15:09:49 -0500
commit2287ab5e5edad3e843c4dac1c10ed6f43bc9f32d (patch)
tree9765373240926d103df307518b746c428af3b3a6 /src-qt5/src-cpp/plugins-desktop.h
parentImproved some of the code in the screensaver plugins file (diff)
downloadlumina-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.h29
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
bgstack15