|
tuned-switcher 1.1.0
Performance profile manager
|
#include <dummyservice.h>


Public Member Functions | |
| DummyService (QObject *parent=nullptr) | |
| ~DummyService () override=default | |
| bool | IsSupported () const override |
| bool | IsRunning () const override |
| bool | Start () const override |
| bool | Stop () const override |
Public Member Functions inherited from ServiceManager | |
| virtual | ~ServiceManager ()=default |
Additional Inherited Members | |
Static Public Member Functions inherited from ServiceManager | |
| static ServiceManager * | Create (QObject *parent=nullptr) |
Protected Member Functions inherited from ServiceManager | |
| ServiceManager (QObject *parent=nullptr) | |
Stub class with methods used when the service control feature is disabled.
|
explicit |
Main constructor of the DummyService class.
| parent | Parent. |
|
overridedefault |
Destructor of the DummyService class.
|
overridevirtual |
Check whether the Tuned service is running.
| true | The Tuned service is running. |
| false | The Tuned servic is not running. |
Implements ServiceManager.
|
overridevirtual |
Check whether the service control feature is supported.
| true | The service control feature is supported. |
| false | The service control feature is not supported. |
Implements ServiceManager.
|
overridevirtual |
Start the Tuned service.
| true | The Tuned service was successfully started. |
| false | An error occurred when trying to start the Tuned service. |
Implements ServiceManager.
|
overridevirtual |
Stop the Tuned service.
| true | The Tuned service was successfully stopped. |
| false | An error occurred when trying to stop the Tuned service. |
Implements ServiceManager.