Changeset View
Changeset View
Standalone View
Standalone View
daemon/powerdevilbackendinterface.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | 38 | public: | |||
---|---|---|---|---|---|
72 | 72 | | |||
73 | /** | 73 | /** | ||
74 | * This enum type defines the different suspend methods. | 74 | * This enum type defines the different suspend methods. | ||
75 | * | 75 | * | ||
76 | * - UnknownSuspendMethod: The name says it all | 76 | * - UnknownSuspendMethod: The name says it all | ||
77 | * - Standby: Processes are stopped, some hardware is deactivated (ACPI S1) | 77 | * - Standby: Processes are stopped, some hardware is deactivated (ACPI S1) | ||
78 | * - ToRam: Most devices are deactivated, only RAM is powered (ACPI S3) | 78 | * - ToRam: Most devices are deactivated, only RAM is powered (ACPI S3) | ||
79 | * - ToDisk: State of the machine is saved to disk, and it's powered down (ACPI S4) | 79 | * - ToDisk: State of the machine is saved to disk, and it's powered down (ACPI S4) | ||
80 | * - SuspendThenHibernate: Same as ToRam, but after a delay it switches to ToDisk | ||||
80 | */ | 81 | */ | ||
81 | enum SuspendMethod{ UnknownSuspendMethod = 0, Standby = 1, ToRam = 2, ToDisk = 4, HybridSuspend = 8 }; | 82 | enum SuspendMethod{ UnknownSuspendMethod = 0, Standby = 1, ToRam = 2, ToDisk = 4, HybridSuspend = 8, SuspendThenHibernate = 16 }; | ||
82 | 83 | | |||
83 | /** | 84 | /** | ||
84 | * This type stores an OR combination of SuspendMethod values. | 85 | * This type stores an OR combination of SuspendMethod values. | ||
85 | */ | 86 | */ | ||
86 | Q_DECLARE_FLAGS(SuspendMethods, SuspendMethod) | 87 | Q_DECLARE_FLAGS(SuspendMethods, SuspendMethod) | ||
87 | 88 | | |||
88 | /** | 89 | /** | ||
89 | * This enum defines the different types of brightness controls. | 90 | * This enum defines the different types of brightness controls. | ||
▲ Show 20 Lines • Show All 242 Lines • Show Last 20 Lines |