Ubuntu Platform API
3.0.0
A library helping with tight integration into the Ubuntu platform
|
|
Go to the documentation of this file.
18 #ifndef UBUNTU_HARDWARE_BOOSTER_H_
19 #define UBUNTU_HARDWARE_BOOSTER_H_
38 struct UbuntuHardwareBooster;
64 #endif // UBUNTU_HARDWARE_BOOSTER_H_
UbuntuHardwareBoosterScenario
UBUNTU_DLL_PUBLIC void u_hardware_booster_unref(UHardwareBooster *)
u_hardware_booster_unref decreases the reference count of booster by 1.
UBUNTU_DLL_PUBLIC void u_hardware_booster_disable_scenario(UHardwareBooster *, UHardwareBoosterScenario)
@ U_HARDWARE_BOOSTER_SCENARIO_USER_INTERACTION
Boost device performance to account for user interacting with device.
UbuntuHardwareBooster UHardwareBooster
UbuntuHardwareBooster is an opaque type providing access to the performance booster capabilities of t...
UBUNTU_DLL_PUBLIC UHardwareBooster * u_hardware_booster_new()
u_hardware_booster_new creates a new UHardwareBooster* instance with an initial referrence count of 1...
#define UBUNTU_DLL_PUBLIC
UBUNTU_DLL_PUBLIC void u_hardware_booster_ref(UHardwareBooster *)
u_hardware_booster_ref increases the reference count of booster by 1.
UbuntuHardwareBoosterScenario UHardwareBoosterScenario
Enumerates all known performance boosting scenarios.
UBUNTU_DLL_PUBLIC void u_hardware_booster_enable_scenario(UHardwareBooster *, UHardwareBoosterScenario)