YaST2 Developers Documentation: TV cards configuration

TV cards configuration

include/tv/misc.ycp
Miscelanous functions for configuration of tv.
  • Jan Holesovsky

This module has an unstable interface.

Functions that are not UI related, do not belong to modules/tv.ycp and are not common enough to be in a library.

Imports

  • Label
  • Popup
  • Sound
  • Tv

Local Functions

local CmpParameters (map parameters, map parameters_to_compare) -> boolean

Compares parameters of a card with the current_card. It is needed for decision whether to select the card.

Parameters:
parameters The 'parameters' which change
parameters_to_compare The reference 'parameters' (the ones I am searching for)
Return value:
Should I select the card with parameters 'parameters'?
local SoundCardsAsItems () -> list

List of the sound cards acceptable by the Table widget.

Return value:
List of sound cards
local tvUserInput () -> any

Enhanced version of UserInput which asks if really abort after pressing [Abort].

Return value:
The value of the resulting UserInput.
local ErrorWithDetails (string error, string details) -> void

Error popup with the possibility of showing additional information about the problem

Parameters:
error basic error message
details more informations, e.g. stderr of some script