File indexing completed on 2024-11-24 04:54:53
0001 /* 0002 * SPDX-FileCopyrightText: 2013 Lukas Appelhans <l.appelhans@gmx.de> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 #pragma once 0007 0008 #include <BackendNotifierModule.h> 0009 0010 class DummyNotifier : public BackendNotifierModule 0011 { 0012 Q_OBJECT 0013 Q_PLUGIN_METADATA(IID "org.kde.discover.BackendNotifierModule") 0014 Q_INTERFACES(BackendNotifierModule) 0015 public: 0016 explicit DummyNotifier(QObject *parent = nullptr); 0017 ~DummyNotifier() override; 0018 0019 void recheckSystemUpdateNeeded() override; 0020 bool hasSecurityUpdates() override 0021 { 0022 return false; 0023 } 0024 0025 bool hasUpdates() override 0026 { 0027 return false; 0028 } 0029 0030 bool needsReboot() const override 0031 { 0032 return false; 0033 } 0034 };