home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
boot
/
i386
/
root
/
usr
/
share
/
YaST2
/
include
/
iscsi-client
/
complex.ycp
next >
Wrap
Text File
|
2006-11-29
|
1KB
|
64 lines
/**
* File: include/iscsi-client/complex.ycp
* Package: Configuration of iscsi-client
* Summary: Dialogs definitions
* Authors: Michal Zugec <mzugec@suse.cz>
*
* $Id: complex.ycp 27936 2006-02-13 20:01:14Z olh $
*/
{
textdomain "iscsi-client";
import "Label";
import "Popup";
import "Wizard";
import "Wizard_hw";
import "IscsiClient";
include "iscsi-client/helps.ycp";
/**
* Return a modification status
* @return true if data was modified
*/
boolean Modified() {
return IscsiClient::Modified();
}
boolean ReallyAbort() {
return !IscsiClient::Modified() || Popup::ReallyAbort(true);
}
boolean PollAbort() {
return UI::PollInput() == `abort;
}
/**
* Read settings dialog
* @return `abort if aborted and `next otherwise
*/
symbol ReadDialog() {
Wizard::RestoreHelp(HELPS["read"]:"");
// IscsiClient::AbortFunction = PollAbort;
boolean ret = IscsiClient::Read();
return ret ? `next : `abort;
}
/**
* Write settings dialog
* @return `abort if aborted and `next otherwise
*/
symbol WriteDialog() {
Wizard::RestoreHelp(HELPS["write"]:"");
// IscsiClient::AbortFunction = PollAbort;
boolean ret = IscsiClient::Write();
return ret ? `next : `abort;
}
/* EOF */
}