YaST2 Developers Documentation: SlideShowCallbacks.ycp

SlideShowCallbacks.ycp

  • Gabriele Strattner
  • Klaus Kaempf
  • Purpose: provides the Callbacks for SlideShow

This module has an unstable interface.

Imports

  • Directory
  • Installation
  • Label
  • Message
  • Mode
  • PackageCallbacks
  • PackageSlideShow
  • Popup
  • SlideShow
  • Stage
  • URL

Global Functions

Local Functions

local HandleInput () -> void

Check for user button presses and handle them.

Return value:
true if user wishes to abort
global StartProvide (string name, integer archivesize, boolean remote) -> void

at start of file providal

Parameters:
name
archivesize
remote
global ProgressProvide (integer percent) -> boolean

during file providal

Parameters:
percent
global DoneProvide (integer error, string reason, string name) -> string

during file providal

Parameters:
error
reason
name
global DisplayStartInstall (string pkg_name, string pkg_description, integer pkg_size, boolean deleting) -> void

Callback that will be called by the packager for each RPM as it is being installed or deleted. Note: The packager doesn't call this directly - the corresponding wrapper callbacks do and pass the "deleting" flag as appropriate.

Parameters:
pkg_name
pkg_description
pkg_size
deleting
global StartPackage (string name, string summary, integer install_size, boolean is_delete) -> void

at start of package install

Parameters:
name
summary
install_size
is_delete
global ProgressPackage (integer pkg_percent) -> boolean

ProgressPackage percent

Parameters:
pkg_percent
global DonePackage (integer error, string reason) -> string

at end of install just to override the PackageCallbacks default (which does a 'CloseDialog' :-})

Parameters:
error
reason
global StartDeltaProvide (string name, integer archivesize) -> void

at start of file providal

Parameters:
name
archivesize
global StartDeltaApply (string name) -> void

at start of file providal

Parameters:
name
global StartPatchProvide (string name, integer archivesize) -> void

at start of file providal

Parameters:
name
archivesize
global ProgressDeltaApply (integer percent) -> void

during file providal

Parameters:
percent
global FinishPatchDeltaProvide () -> void

at end of file providal

global CallbackSourceChange (integer source, integer media) -> void

change of repository source: 0 .. n-1 media: 1 .. n

Parameters:
source
media
global InstallSlideShowCallbacks () -> void

Install callbacks for slideshow.

global RemoveSlideShowCallbacks () -> void

Remove callbacks for slideshow. Should be in SlideShowCallbacks but that doesn't work at the moment.