Unknown YCP Module |
This module has an unstable interface. |
Imports
Includes
Local Functions |
File: include/printer/readwrite.ycp
Package: Configuration of printer
Summary: Read and write dialogs definitions
Authors: Johannes Meixner
Return a modification status
- Return value:
-
true if data was modified
Ask for user confirmation if necessary before aborting. At present full transaction semantics (with roll-back) is not implemented. What is implemented is that it does not leave the system in an inconsistent state. It does one setup completely or not at all (i.e. all or nothing semantics regarding one setup.) "One setup" means the smallest amount of setup actions which lead from one consistent state to another consistent state. "Consistent state" is meant from the user's point of view (i.e. set up one print queue completely or set up printing via network completely) and not from a low-level (e.g. filesystem or kernel) point of view. If the user does malicious stuff (e.g. killing YaST) or if the user ignores warning messages then it is possible (and it is accepted) that the user can force to set up even an inconsistent state (e.g. set up share print queues but don't re-start the cupsd). At present all what is needed for one setup is committed to the system instantly. For background information and details see http://en.opensuse.org/YaST/Development/Printer_Enhancement
- Return value:
-
true if nothing was committed or if user confirms to abort
Read settings dialog
- Return value:
-
`abort if aborted and `next otherwise
Write settings dialog
- Return value:
-
`abort if aborted and `next otherwise