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


Public Member Functions | |
| virtual | ~AutorunManager ()=default |
| virtual bool | IsEnabled () const =0 |
| virtual bool | IsSupported () const =0 |
| virtual bool | Enable () const =0 |
| virtual bool | Disable () const =0 |
Static Public Member Functions | |
| static AutorunManager * | Create (QObject *parent=nullptr) |
Protected Member Functions | |
| AutorunManager (QObject *parent=nullptr) | |
Static Private Member Functions | |
| static bool | CheckSandbox () |
Abstract class for working with autorun configurations.
|
virtualdefault |
Destructor of the AutorunManager class.
|
explicitprotected |
Main constructor of the AutorunManager class. Cannot be called directly. A special factory method Create() should be used instead.
| parent | Parent. |
|
staticprivate |
Check whether the application is running in a sandbox.
|
static |
Create an instance of the AutorunManager class. Factory method.
| parent | Parent. |
|
pure virtual |
Disable the autorun feature.
| true | The requested operation completed successfully. |
| false | An error occurred when trying to perform the requested operation. |
Implemented in AutorunFile, and AutorunPortal.
|
pure virtual |
Enable the autorun feature.
| true | The requested operation completed successfully. |
| false | An error occurred when trying to perform the requested operation. |
Implemented in AutorunFile, and AutorunPortal.
|
pure virtual |
Check whether the autorun feature is enabled.
| true | The autorun feature is enabled. |
| false | The autorun feature is not enabled. |
Implemented in AutorunFile, and AutorunPortal.
|
pure virtual |
Check whether the autorun feature is supported on running platform.
| true | The autorun feature is supported on running platform. |
| false | The autorun feature is not supported on running platform. |
Implemented in AutorunFile, and AutorunPortal.