home *** CD-ROM | disk | FTP | other *** search
- Save Format v1.3
- @begin Form "Options"
- Exported 0;
-
- @begin Object "WDialog"
- WSCaption 1;
- WSSizeable 1;
- WSDlgBorder 1;
- WSSysMenu 1;
- WSSystemMenu 1;
- WSMinimizeBox 1;
- WSMaximizeBox 1;
- WSGroup 1;
- WSTabStop 1;
- WSResizeBorder 1;
- WSVisible 1;
- Icon "WIcon( WResourceID( ICON_01 ) )";
- FormPositionType "Centered";
- FormAbsTop "106";
- FormAbsLeft "13";
- FDXStructName "OptionsFDXStruct";
- Font "8.MS Sans Serif";
- Text "Options";
- @begin Event "Create"
- GencodeSrcLine 287;
- FunctionName "Options::Options_Create";
- @end;
- @begin UserFunction "Options()"
- Compiler 1;
- GencodeSrcLine 313;
- FunctionName "Options::Options()";
- @end;
- @begin UserFunction "~Options()"
- Compiler 1;
- GencodeSrcLine 317;
- FunctionName "Options::~Options()";
- @end;
- @begin UserFunction "Open( OptionsStruct *options )"
- GencodeSrcLine 321;
- FunctionName "Options::Open( OptionsStruct *options )";
- @end;
- @begin UserFunction "Prototype for Open( OptionsStruct *options )"
- Private 1;
- GencodeSrcLine 114;
- FunctionName "Options::Prototype for Open( OptionsStruct *options )";
- @end;
- ResID 113;
- DesignName Options;
- TabIndex 0;
- DesignRect 14,106,241,146;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "&Free";
- ResID 101;
- DesignName checkFree;
- TabIndex 0;
- DesignRect 115,15,60,10;
- @end;
-
- @begin Object "WGroupBox"
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WCCSNoResize 1;
- WSChild 1;
- WSVisible 1;
- Text "State";
- ResID 102;
- DesignName groupb_1;
- TabIndex 1;
- DesignRect 110,5,70,85;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "&Private";
- ResID 103;
- DesignName checkPrivate;
- TabIndex 2;
- DesignRect 115,45,60,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "&Commit";
- ResID 104;
- DesignName checkCommit;
- TabIndex 3;
- DesignRect 115,25,60,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "&Reserve";
- ResID 105;
- DesignName checkReserve;
- TabIndex 4;
- DesignRect 115,35,60,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "&Mapped";
- ResID 106;
- DesignName checkMapped;
- TabIndex 5;
- DesignRect 115,55,60,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "&Image";
- ResID 107;
- DesignName checkImage;
- TabIndex 6;
- DesignRect 115,65,60,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "Read-&only";
- ResID 108;
- DesignName checkReadonly;
- TabIndex 7;
- DesignRect 10,15,60,10;
- @end;
-
- @begin Object "WGroupBox"
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WCCSNoResize 1;
- WSChild 1;
- WSVisible 1;
- Text "Protection";
- ResID 109;
- DesignName groupb_2;
- TabIndex 8;
- DesignRect 5,5,100,120;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "Read-&write";
- ResID 110;
- DesignName checkReadwrite;
- TabIndex 9;
- DesignRect 10,25,60,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "No access";
- ResID 111;
- DesignName checkNoaccess;
- TabIndex 10;
- DesignRect 10,35,60,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "Execute-write-copy";
- ResID 112;
- DesignName checkExecute_writecopy;
- TabIndex 11;
- DesignRect 10,85,85,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "Execute-read-write";
- ResID 113;
- DesignName checkExecute_readwrite;
- TabIndex 12;
- DesignRect 10,75,85,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "Execute-read";
- ResID 114;
- DesignName checkExecute_read;
- TabIndex 13;
- DesignRect 10,65,60,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "Execute";
- ResID 115;
- DesignName checkExecute;
- TabIndex 14;
- DesignRect 10,55,60,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "Write-copy";
- ResID 116;
- DesignName checkWritecopy;
- TabIndex 15;
- DesignRect 10,45,60,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "Guard";
- ResID 117;
- DesignName checkGuard;
- TabIndex 16;
- DesignRect 10,95,85,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "No-cache";
- ResID 118;
- DesignName checkNocache;
- TabIndex 17;
- DesignRect 10,105,85,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "&System";
- @begin Event "Click"
- GencodeSrcLine 328;
- FunctionName "Options::checkSystem_Click";
- @end;
- ResID 119;
- DesignName checkSystem;
- TabIndex 18;
- DesignRect 115,75,60,10;
- @end;
-
- @begin Object "WCheckBox"
- WBSAutoCheckBox 1;
- WCCSTop 1;
- WCCSNoMoveY 1;
- WCCSBottom 1;
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Checked "0";
- FDXFieldName "checkbox_1_data";
- FDXFieldType "WULong";
- Text "Collapse adjacent similar &entries";
- ResID 120;
- DesignName collapse;
- TabIndex 19;
- DesignRect 115,95,115,15;
- @end;
-
- @begin Object "WCommandButton"
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Pressed "0";
- Text "OK";
- @begin Event "Click"
- GencodeSrcLine 336;
- FunctionName "Options::ok_Click";
- @end;
- ResID 121;
- DesignName ok;
- TabIndex 20;
- DesignRect 190,10,40,15;
- @end;
-
- @begin Object "WCommandButton"
- WSChild 1;
- WSMaximizeBox 1;
- WSTabStop 1;
- WSVisible 1;
- Cancel "1";
- Pressed "0";
- Text "Cancel";
- @begin Event "Click"
- GencodeSrcLine 362;
- FunctionName "Options::cancel_Click";
- @end;
- ResID 122;
- DesignName cancel;
- TabIndex 21;
- DesignRect 190,30,40,15;
- @end;
-
- @begin HPPPrefixBlock
- @begin-code HPPPrefix
-
- struct OptionsStruct
- {
- WBool checkFree;
- WBool checkPrivate;
- WBool checkCommit;
- WBool checkReserve;
- WBool checkMapped;
- WBool checkImage;
- WBool checkReadonly;
- WBool checkReadwrite;
- WBool checkNoaccess;
- WBool checkExecute_writecopy;
- WBool checkExecute_readwrite;
- WBool checkExecute_read;
- WBool checkExecute;
- WBool checkWritecopy;
- WBool checkGuard;
- WBool checkNocache;
- WBool checkSystem;
- WBool collapse;
- };
-
- @end-code;
- GencodeSrcLine 10;
- @end;
-
- @begin CPPPrefixBlock
- @begin-code CPPPrefix
-
- // Code added here will be included at the top of the .CPP file
-
- // Include definitions for resources.
- #include "WRes.h"
-
- @end-code;
- GencodeSrcLine 10;
- @end;
-
- @begin ClassContentsBlock
- @begin-code ClassContents
-
- public:
- // add your public instance data here
- private:
- OptionsStruct *_options;
- WBool _okClicked;
- // add your private instance data here
- protected:
- // add your protected instance data here
-
- @end-code;
- GencodeSrcLine 106;
- @end;
-
- @begin-code GeneratedClassContents
-
- Options();
- ~Options();
-
- @end-code;
-
- @begin-code Code "Options::Options()"
-
- @@CLASSNAME@::@CLASSNAME@()
- {
-
- }
-
- @end-code;
-
- @begin-code Code "Options::~Options()"
-
- @@CLASSNAME@::~@CLASSNAME@()
- {
-
- }
-
- @end-code;
-
- @begin-code Code "Options::Open( OptionsStruct *options )"
-
- WBool @CLASSNAME@::Open( OptionsStruct *options )
- {
- _options = options;
- _okClicked = FALSE;
- Create( NULL );
- return( _okClicked );
- }
-
- @end-code;
-
- @begin-code Code "Options::Prototype for Open( OptionsStruct *options )"
-
- public:
- WBool Open( OptionsStruct *options );
-
- @end-code;
-
- @begin-code Code "Options::Options_Create"
-
- WBool @CLASSNAME@::Options_Create(
- WObject * source,
- WCreateEventData * event )
- {
- checkFree->SetChecked( _options->checkFree );
- checkPrivate->SetChecked( _options->checkPrivate );
- checkCommit->SetChecked( _options->checkCommit );
- checkReserve->SetChecked( _options->checkReserve );
- checkMapped->SetChecked( _options->checkMapped );
- checkImage->SetChecked( _options->checkImage );
- checkReadonly->SetChecked( _options->checkReadonly );
- checkReadwrite->SetChecked( _options->checkReadwrite );
- checkNoaccess->SetChecked( _options->checkNoaccess );
- checkExecute_writecopy->SetChecked( _options->checkExecute_writecopy );
- checkExecute_readwrite->SetChecked( _options->checkExecute_readwrite );
- checkExecute_read->SetChecked( _options->checkExecute_read );
- checkExecute->SetChecked( _options->checkExecute );
- checkWritecopy->SetChecked( _options->checkWritecopy );
- checkGuard->SetChecked( _options->checkGuard );
- checkNocache->SetChecked( _options->checkNocache );
- checkSystem->SetChecked( _options->checkSystem );
- collapse->SetChecked( _options->collapse );
-
-
- return FALSE;
- }
-
- @end-code;
-
- @begin-code Code "Options::checkSystem_Click"
-
- WBool @CLASSNAME@::checkSystem_Click(
- WObject * source,
- WEventData * event )
- {
-
-
- return FALSE;
- }
-
- @end-code;
-
- @begin-code Code "Options::ok_Click"
-
- WBool @CLASSNAME@::ok_Click(
- WObject * source,
- WEventData * event )
- {
- _options->checkFree = checkFree->GetChecked();
- _options->checkPrivate = checkPrivate->GetChecked();
- _options->checkCommit = checkCommit->GetChecked();
- _options->checkReserve = checkReserve->GetChecked();
- _options->checkMapped = checkMapped->GetChecked();
- _options->checkImage = checkImage->GetChecked();
- _options->checkReadonly = checkReadonly->GetChecked();
- _options->checkReadwrite = checkReadwrite->GetChecked();
- _options->checkNoaccess = checkNoaccess->GetChecked();
- _options->checkExecute_writecopy = checkExecute_writecopy->GetChecked();
- _options->checkExecute_readwrite = checkExecute_readwrite->GetChecked();
- _options->checkExecute_read = checkExecute_read->GetChecked();
- _options->checkExecute = checkExecute->GetChecked();
- _options->checkWritecopy = checkWritecopy->GetChecked();
- _options->checkGuard = checkGuard->GetChecked();
- _options->checkNocache = checkNocache->GetChecked();
- _options->checkSystem = checkSystem->GetChecked();
- _options->collapse = collapse->GetChecked();
- _okClicked = TRUE;
- Dismiss( TRUE );
- return FALSE;
- }
-
- @end-code;
-
- @begin-code Code "Options::cancel_Click"
-
- WBool @CLASSNAME@::cancel_Click(
- WObject * source,
- WEventData * event )
- {
- Dismiss( TRUE );
-
- return FALSE;
- }
-
- @end-code;
- @end;
-