aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-automotive/climatecontrolplugin/files/climatecontrol_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-automotive/climatecontrolplugin/files/climatecontrol_plugin.h')
-rw-r--r--recipes-automotive/climatecontrolplugin/files/climatecontrol_plugin.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-automotive/climatecontrolplugin/files/climatecontrol_plugin.h b/recipes-automotive/climatecontrolplugin/files/climatecontrol_plugin.h
new file mode 100644
index 000000000..315552e89
--- /dev/null
+++ b/recipes-automotive/climatecontrolplugin/files/climatecontrol_plugin.h
@@ -0,0 +1,21 @@
+/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#ifndef CLIMATECONTROL_PLUGIN_H
+#define CLIMATECONTROL_PLUGIN_H
+
+#include <QQmlExtensionPlugin>
+
+class ClimateControlPlugin : public QQmlExtensionPlugin
+{
+ Q_OBJECT
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
+
+public:
+ void registerTypes(const char *uri);
+};
+
+#endif // CLIMATECONTROL_PLUGIN_H