From 7c94d55f866794b2f1bb33b1f241552496b59b31 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 5 Apr 2017 13:02:48 +0200 Subject: Removed old files --- framework/notifications/CMakeLists.txt | 11 --------- framework/notifications/notificationplugin.cpp | 29 ------------------------ framework/notifications/notificationplugin.h | 31 -------------------------- 3 files changed, 71 deletions(-) delete mode 100644 framework/notifications/CMakeLists.txt delete mode 100644 framework/notifications/notificationplugin.cpp delete mode 100644 framework/notifications/notificationplugin.h (limited to 'framework/notifications') diff --git a/framework/notifications/CMakeLists.txt b/framework/notifications/CMakeLists.txt deleted file mode 100644 index 3d3f3c66..00000000 --- a/framework/notifications/CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ -set(SRCS - notificationplugin.cpp - notificationhandler.cpp -) - -add_library(notificationplugin SHARED ${SRCS}) - -target_link_libraries(notificationplugin sink) -qt5_use_modules(notificationplugin Core Quick Qml) - -install(TARGETS notificationplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) diff --git a/framework/notifications/notificationplugin.cpp b/framework/notifications/notificationplugin.cpp deleted file mode 100644 index 54548464..00000000 --- a/framework/notifications/notificationplugin.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* - Copyright (c) 2016 Christian Mollekopf - - This library is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published by - the Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - This library 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 Library General Public - License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to the - Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. -*/ -#include "notificationplugin.h" - -#include "notificationhandler.h" - -#include - -void NotificationPlugin::registerTypes (const char *uri) -{ - qmlRegisterType(uri, 1, 0, "NotificationHandler"); - qmlRegisterType(uri, 1, 0, "Notification"); -} diff --git a/framework/notifications/notificationplugin.h b/framework/notifications/notificationplugin.h deleted file mode 100644 index 9aa0e033..00000000 --- a/framework/notifications/notificationplugin.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - Copyright (c) 2016 Christian Mollekopf - - This library is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published by - the Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - This library 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 Library General Public - License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to the - Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. -*/ -#pragma once - -#include -#include - -class NotificationPlugin : public QQmlExtensionPlugin -{ - Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") - -public: - virtual void registerTypes(const char *uri); -}; -- cgit v1.2.3