YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • Arch
  • Icon
  • Label
  • Linuxrc
  • Mode
  • Popup
  • Stage

Global Functions

Info:

File: modules/Confirm.ycp

Package: yast2

Summary: Confirmation routines

Authors: Michal Svec

Flags: Stable

global Detection (string class, string icon_name) -> boolean

Confirm hardware detection (only in manual installation)

Parameters:
class hardware class (network cards)
icon_name name of the icon. If nil, generic hardware icon will be used
Return value:
true on continue
global MustBeRoot () -> boolean

If we are running as root, return true. Otherwise ask the user whether we should continue even though things might not work

Return value:
true if running as root
global DeleteSelected () -> boolean

Opens a popup yes/no confirmation.

If users confirms deleting, return true, else return false

Return value:
delete selected entry
global Delete (string delete) -> boolean

Opens a popup yes/no confirmation.

If users confirms deleting of named entry/file/etc., return true, else return false

Parameters:
delete
Return value:
delete selected entry