Configuration of power-management |
modules/PowerManagement.ycp |
PowerManagement settings, input and output functions | |
|
|
This module has an unstable interface. |
Representation of the configuration of power-management.
Input and output routines.
Imports
Global VariablesGlobal Functions
Local Variables |
Mapping of cheme option identifiers in the internal structure and in the created file Key is internal structure, value is scheme file
Mapping of global option identifiers in the internal structure and in the created file Key is internal structure, value is scheme file (2-member list, first file identifier, second variable name)
Was the settings modified?
- Return value:
-
true if modified
Data was modified?
Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.
Abort function return boolean return true if abort
Abort function
- Return value:
-
blah blah lahjk
Data was modified?
- Return value:
-
true if modified
Read all power-management settings
- Return value:
-
true on success
Write all power-management settings
- Return value:
-
true on success
Get all power-management settings from the first parameter (For use by autoinstallation.)
- Parameters:
-
settings The YCP structure to be imported.
- Return value:
-
True on success
Dump the power-management settings to a single map (For use by autoinstallation.)
- Return value:
-
Dumped settings (later acceptable by Import ())
Create a textual summary and a list of unconfigured cards
- Return value:
-
summary of the current configuration
Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.
- Return value:
-
with 2 lists.
List all supported ACPI modes
- Return value:
-
a list containing all supported ACPI modes
Check if ACPI is being used
- Return value:
-
true if ACPI is being used
Check if APM is being used
- Return value:
-
true if APM is being used
Translate a text using powersave mo-file
- Parameters:
-
text string to translate
- Return value:
-
translated text
Get localized scheme name
- Parameters:
-
name string original scheme name
- Return value:
-
localized scheme name
Get localized scheme description
- Parameters:
-
descr string original scheme desceriptino
- Return value:
-
localized scheme decription
Find index of a scheme
- Parameters:
-
name string scheme name
- Return value:
-
scheme index (-1 if not found)
Fetch all schemes
Store all schemes
fetch a scheme
- Parameters:
-
index integer index of the scheme (-1 is new scheme) clone integer index of scheme to clone if not exists
Store the current scheme