YaST2 Developers Documentation: TV cards configuration

TV cards configuration

clients/tv.ycp
Main file
  • Jan Holesovsky

This module has an unstable interface.

Main file for tv configuration. Uses all other files.

Imports

  • CommandLine
  • Mode
  • Report
  • RichText

Includes

  • tv/ui.ycp

Local Variables

Local Functions

local no_io -> boolean

Should we suppress Read() and Write()? It is necessary in proposals...

local SummaryHandler (map options) -> boolean

Print summary of basic options

Parameters:
options
Return value:
false
local AddCardHandler (map options) -> boolean

Handler for adding a card via command line

Parameters:
options parameters passed as cmdline args
Return value:
true on success
local SetParametersHandler (map options) -> boolean

Handler for setting the paramerer values of tv card

Parameters:
options parameters on command line
Return value:
success
local RemoveCardHandler (map options) -> boolean

Handler for adding a card via command line

Parameters:
options parameters passed as cmdline args
Return value:
true on success
local ShowCardHandler (map options) -> boolean

Handler for showing TV card information

Parameters:
options parameters on command line
Return value:
false (no write)
local ListModelsHandler (map options) -> boolean

Handler for listing available tv models

Parameters:
options
local ListModulesHandler (map options) -> boolean

Handler for listing available kernel modules for tv

Parameters:
options
local IRCHandler (map<string,string> options) -> boolean

Handler for enabling/disabling IRC

Parameters:
options
local TvRead () -> boolean

Wrapper function for reading the settings (used by cmd-line)

Return value:
success
local TvWrite () -> boolean

Wrapper function for writing the settings (used by cmd-line)

Return value:
success