YaST2 Developers Documentation: Configuration of power-management



functions
files
intro

Configuration of power-management

modules/PowerManagement.ycp
PowerManagement settings, input and output functions
Representation of the configuration of power-management. Input and output routines.

Imports

  • Mode
  • Package
  • Progress
  • Report
  • Service
  • Summary

Global Variables

Global Functions

Info:

Prototypes

global modified -> boolean

Data was modified?

global proposal_valid -> boolean

global write_only -> boolean

Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

Info:

Abort function return boolean return true if abort

global Abort () -> boolean

Abort function

Return value:
blah blah lahjk

Info:

Data was modified?

Return value:
true if modified

Info:

Read all power-management settings

Return value:
true on success

Info:

Write all power-management settings

Return value:
true on success

Info:

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

Info:

Dump the power-management settings to a single map (For use by autoinstallation.)

Return value:
Dumped settings (later acceptable by Import ())

Info:

Create a textual summary and a list of unconfigured cards

Return value:
summary of the current configuration

Info:

Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

Return value:
with 2 lists.

YaST2 Developers Documentation