File indexing completed on 2024-05-12 04:01:53
0001 /* 0002 SPDX-FileCopyrightText: 2014 Alejandro Fiestas Olivares <afiestas@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #include "dummystatesjob.h" 0008 #include <power.h> 0009 0010 using namespace Solid; 0011 0012 void DummyStatesJob::doStart() 0013 { 0014 emitResult(); 0015 } 0016 0017 Power::InhibitionTypes DummyStatesJob::states() const 0018 { 0019 return Power::Shutdown | Power::Sleep; 0020 } 0021 0022 #include "moc_dummystatesjob.cpp"