 
  
  
 
 
  
   
YaST2 Developers Documentation:   
index.html    
Configuration of power-management
   
   
   
  
  
   
YaST   
   
   
index.htmlfunctions    
   
files.htmlfiles    
   
intro.htmlintro   
  
   
    
     
      
       
Configuration of power-management
      
      
include/power-management/dialogs.ycp      
     
      
Dialogs definitions      
     
      
       
        
Jiri Srain < mailto:jsrain@suse.czjsrain@suse.cz >       
      
     
     
      
       
This module has an unstable interface.
      
     
    
    
     
      
       
Imports
       
        
CWM        
Label        
Mode        
Popup        
PowerManagement        
Wizard       
       
Includes
       
        
power-management/widgets.ycp       
       
Local Functions
       
        
         
#ACPIButtonsDialogACPIButtonsDialog ()         
        
         
#AskAbortAskAbort ()         
        
         
#BatteryWarningDialogBatteryWarningDialog ()         
        
         
#EnableSuspendDialogEnableSuspendDialog ()         
        
         
#FetchSchemesFetchSchemes ()         
        
         
#MainDialogMainDialog ()         
        
         
#ModifiedModified ()         
        
         
#PollAbortPollAbort ()         
        
         
#ReadAbortReadAbort ()         
        
         
#ReadDialogReadDialog ()         
        
         
#ReallyAbortReallyAbort ()         
        
         
#SchemeDialog1SchemeDialog1 ()         
        
         
#SchemeDialog2SchemeDialog2 ()         
        
         
#SchemeDialog3SchemeDialog3 ()         
        
         
#SchemesDialogSchemesDialog ()         
        
         
#StoreSchemeStoreScheme ()         
        
         
#StoreSchemesStoreSchemes ()         
        
         
#WriteAbortWriteAbort ()         
        
         
#WriteDialogWriteDialog ()         
       
      
     
    
   
   
   
    
local
     
Modified ()
      
 ->       
boolean     
    
   
   
 Return a modification status
   
    
     
Return value:    
    
     
      
       
        
       
       
true if data was modified       
     
    
   
   
    
local
     
ReallyAbort ()
      
 ->       
boolean     
    
   
   
 Ask if Abort if modified
   
    
     
Return value:    
    
     
      
       
        
       
       
true if answered Yes       
     
    
   
   
    
local
     
AskAbort ()
      
 ->       
boolean     
    
   
   
 Ask if Abort
   
    
     
Return value:    
    
     
      
       
        
       
       
true if answered Yes       
     
    
   
   
    
local
     
PollAbort ()
      
 ->       
boolean     
    
   
   
 Check for Abort
   
    
     
Return value:    
    
     
      
       
        
       
       
true if was pushed       
     
    
   
   
    
local
     
ReadAbort ()
      
 ->       
boolean     
    
   
   
 Check for Abort durign read
   
    
     
Return value:    
    
     
      
       
        
       
       
true if was pushed       
     
    
   
   
    
local
     
WriteAbort ()
      
 ->       
boolean     
    
   
   
 Check for Abort durign write
   
    
     
Return value:    
    
     
      
       
        
       
       
true if was pushed       
     
    
   
   
    
local
     
ReadDialog ()
      
 ->       
symbol     
    
   
   
 Read settings dialog
   
    
     
Return value:    
    
     
      
       
        
       
       
`abort if aborted and `next otherwise       
     
    
   
   
    
local
     
WriteDialog ()
      
 ->       
symbol     
    
   
   
 Write settings dialog
   
    
     
Return value:    
    
     
      
       
        
       
       
`abort if aborted and `next otherwise       
     
    
   
   
    
local
     
MainDialog ()
      
 ->       
symbol     
    
   
   
 Run dialog for ACPI buttons behavior configuration
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
ACPIButtonsDialog ()
      
 ->       
symbol     
    
   
   
 Run dialog for ACPI buttons behavior configuration
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
BatteryWarningDialog ()
      
 ->       
symbol     
    
   
   
 Run dialog for battery warnings configuration
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
EnableSuspendDialog ()
      
 ->       
symbol     
    
   
   
 Run dialog for schemes configuration
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
SchemesDialog ()
      
 ->       
symbol     
    
   
   
 Run dialog for schemes configuration
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
SchemeDialog1 ()
      
 ->       
symbol     
    
   
   
 Run dialog for single scheme configuration
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
SchemeDialog2 ()
      
 ->       
symbol     
    
   
   
 Run dialog for single scheme configuration
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
SchemeDialog3 ()
      
 ->       
symbol     
    
   
   
 Run dialog for single scheme configuration
   
    
     
Return value:    
    
     
      
       
        
       
       
for wizard sequencer       
     
    
   
   
    
local
     
FetchSchemes ()
      
 ->       
symbol     
    
   
   
 Fetch all schemes
   
    
     
Return value:    
    
     
      
       
        
       
       
always `mext       
     
    
   
   
    
local
     
StoreSchemes ()
      
 ->       
symbol     
    
   
   
 Store all schemes
   
    
     
Return value:    
    
     
      
       
        
       
       
always `mext       
     
    
   
   
    
local
     
StoreScheme ()
      
 ->       
symbol     
    
   
   
 Store current scheme
   
    
     
Return value:    
    
     
      
       
        
       
       
always `mext       
     
    
   
  
  
   
   
YaST2 Developers Documentation   
  
 
