OnlineUpdateCallbacks.ycp
|
|
- Cornelius Schumacher <cschum@suse.de>
- Purpose: provides the Callbacks for the online update
|
This module has an unstable interface.
|
Imports
- OnlineUpdateDialogs
- PackageCallbacks
- Popup
- Report
Global Functions
-
DonePackage (integer error, string reason)
-
DoneProvide (integer error, string reason, string name)
-
ExecuteYcpScriptCallback (string script)
-
FinishLine (boolean line)
-
PatchProgressCallback (integer num)
-
ProblemDeltaApply (string description)
-
ProblemDeltaDownload (string description)
-
ProblemPatchDownload (string description)
-
ProgressDeltaApply (integer num)
-
ProgressDeltaDownload (integer num)
-
ProgressLog (string text)
-
ProgressPatchDownload (integer num)
-
RefreshSources (list<map> sources)
-
RegisterOnlineUpdateCallbacks ()
-
ScriptProgressCallback (integer percent)
-
StartDeltaDownload (string name, integer download_size)
-
StartPackage (string name, string summary, integer installsize, boolean is_delete)
-
StartPatchDownload (string name, integer download_size)
-
StartProvide (string name, integer archivesize, boolean remote)
|
global
PatchProgressCallback (integer num)
->
boolean
Callback for patch (resp. delta rpm) progress widget.
-
Parameters:
-
num
|
position of progress widget (0 to 100) |
global
ProgressLog (string text)
->
void
add a text to the installation progress log
-
Parameters:
-
global
ExecuteYcpScriptCallback (string script)
->
boolean
Callback for executing YCP scripts in YOU.
-
Parameters:
-
global
ScriptProgressCallback (integer percent)
->
boolean
Callback for showing script execution progress in YOU.
-
Parameters:
-
global
StartProvide (string name, integer archivesize, boolean remote)
->
boolean
Callback for starting download of a package.
-
Parameters:
-
global
StartPackage (string name, string summary, integer installsize, boolean is_delete)
->
boolean
Callback for starting installation of a package.
-
Parameters:
-
name
|
|
summary
|
|
installsize
|
|
is_delete
|
|
global
FinishLine (boolean line)
->
boolean
Callback for finishing an action in the log
-
Parameters:
-
line
|
true if we are adding to the end of line |
global
DonePackage (integer error, string reason)
->
string
callback for 'package installed' action
-
Parameters:
-
global
DoneProvide (integer error, string reason, string name)
->
string
callback for 'package provided' action
-
Parameters:
-
global
StartDeltaDownload (string name, integer download_size)
->
void
callback for start of delta download
-
Parameters:
-
global
ProgressDeltaDownload (integer num)
->
boolean
callback for delta download progress
-
Parameters:
-
-
Return value:
-
global
ProblemDeltaDownload (string description)
->
void
callback for problem during downloading delta
-
Parameters:
-
global
ProgressDeltaApply (integer num)
->
void
progress of applying delta
(cannot be aborted)
-
Parameters:
-
global
ProblemDeltaApply (string description)
->
void
callback for problem during aplying delta
-
Parameters:
-
global
StartPatchDownload (string name, integer download_size)
->
void
callback for start of downloading patch
-
Parameters:
-
global
ProgressPatchDownload (integer num)
->
boolean
callback for path download progress
-
Parameters:
-
-
Return value:
-
global
ProblemPatchDownload (string description)
->
void
callback for problem during aplying delta
-
Parameters:
-
global
RegisterOnlineUpdateCallbacks ()
->
void
Constructor
global
RefreshSources (list<map> sources)
->
void
Refresh sources given by argument
-
Parameters:
-