PackageCallbacks.ycp |
|
This module has an unstable interface. |
Imports
Global Functions
|
Enable or disable StartPackage, ProgressPackage and DonePackage callbacks, but only the progress bar and not the final error message. Returns old value.
- Parameters:
-
f
At start of package install.
- Parameters:
-
name location summary installsize is_delete
During package install.
- Parameters:
-
percent
After package install.
- Parameters:
-
error reason
dummy repository change callback, see SlideShowCallbacks for the real one
- Parameters:
-
source medianr
Callback for start RPM DB scan event
Callback for RPM DB scan progress
- Parameters:
-
value
Callback for error handling during RPM DB scan
- Parameters:
-
error description
Callback for finish RPM DB scan event
- Parameters:
-
error description
Hanler for ProcessStart callback - handle start of a package manager process
- Parameters:
-
task Decription of the task stages Descriptions of the stages help Help text describing the process
Hander for ProcessProgress callback - report total progress
- Parameters:
-
percent Total progress in percent
Hander for ProcessNextStage callback - the current stage has been finished
Hander for ProcessDone callback - the process has been finished
Register callbacks for media change
Register package manager callbacks
constructor