YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • CommandLine
  • Label
  • Mode
  • Popup
  • Wizard

Global Functions

Local Functions

Info:

File: include/package/common.ycp Package: yast2 Summary: Packages manipulation (common routines) Authors: Martin Vidner Michal Svec

$Id$

global AvailableAll (list<string> packages) -> boolean

Are all of these packages available?

Parameters:
packages list of packages
Return value:
true if yes (nil = an error occurred)
global AvailableAny (list<string> packages) -> boolean

Is any of these packages available?

Parameters:
packages list of packages
Return value:
true if yes (nil = an error occurred)
global InstalledAll (list<string> packages) -> boolean

Are all of these packages installed?

Parameters:
packages list of packages
Return value:
true if yes
global InstalledAny (list<string> packages) -> boolean

Is any of these packages installed?

Parameters:
packages list of packages
Return value:
true if yes
local PackageDialog (list<string> packages, boolean install, string message) -> boolean

Main package installatio|removal dialog

Parameters:
packages list of packages
install true if install, false if remove
message optional installation|removal text (nil -> standard will be used)
Return value:
true on success
global InstallMsg (string package, string message) -> boolean

Install a package with a custom text message

Parameters:
package to be installed
message custom text message
Return value:
True on success
global InstallAllMsg (list<string> packages, string message) -> boolean

Install list of packages with a custom text message

Parameters:
packages The list packages to be installed
message custom text message
Return value:
True on success
global RemoveMsg (string package, string message) -> boolean

Remove a package with a custom text message

Parameters:
package package to be removed
message custom text message
Return value:
True on success
global RemoveAllMsg (list<string> packages, string message) -> boolean

Remove a list of packages with a custom text message

Parameters:
packages The list of packages to be removed
message custom text message
Return value:
True on success
global LastOperationCanceled () -> boolean

Return result of the last operation Use immediately after calling any Package*:: function

Return value:
true if it last operation was canceled