summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/mirclient/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/mirclient/plugin.h')
-rw-r--r--src/plugins/platforms/mirclient/plugin.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/plugins/platforms/mirclient/plugin.h b/src/plugins/platforms/mirclient/plugin.h
new file mode 100644
index 0000000000..ac27f1aead
--- /dev/null
+++ b/src/plugins/platforms/mirclient/plugin.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2014 Canonical, Ltd.
+ *
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3, as published by
+ * the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
+ * SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef UBUNTU_CLIENT_PLUGIN_H
+#define UBUNTU_CLIENT_PLUGIN_H
+
+#include <qpa/qplatformintegrationplugin.h>
+
+class UbuntuMirClientIntegrationPlugin : public QPlatformIntegrationPlugin
+{
+ Q_OBJECT
+ Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "ubuntumirclient.json")
+
+public:
+ QStringList keys() const;
+ QPlatformIntegration* create(const QString&, const QStringList&);
+};
+
+#endif // UBUNTU_CLIENT_PLUGIN_H