Changeset 6616 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jan 30, 2008 5:31:18 PM (17 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r6597 r6616 153 153 BOOL fHWVirtExEnabled; 154 154 hrc = pMachine->COMGETTER(HWVirtExEnabled)(&hwVirtExEnabled); H(); 155 if (hwVirtExEnabled == TriStateBool_ Default)155 if (hwVirtExEnabled == TriStateBool_TSDefault) 156 156 { 157 157 /* check the default value */ … … 159 159 } 160 160 else 161 fHWVirtExEnabled = (hwVirtExEnabled == TriStateBool_T rue);161 fHWVirtExEnabled = (hwVirtExEnabled == TriStateBool_TSTrue); 162 162 #ifndef RT_OS_DARWIN /** @todo Implement HWVirtExt on darwin. See #1865. */ 163 163 if (fHWVirtExEnabled) -
trunk/src/VBox/Main/MachineImpl.cpp
r6449 r6616 169 169 mVRAMSize = 8; 170 170 mMonitorCount = 1; 171 mHWVirtExEnabled = TriStateBool_ False;171 mHWVirtExEnabled = TriStateBool_TSFalse; 172 172 173 173 /* default boot order: floppy - DVD - HDD */ … … 4141 4141 { 4142 4142 /* default value in case the node is not there */ 4143 mHWData->mHWVirtExEnabled = TriStateBool_ Default;4143 mHWData->mHWVirtExEnabled = TriStateBool_TSDefault; 4144 4144 4145 4145 Key cpuNode = aNode.findKey ("CPU"); … … 4151 4151 const char *enabled = hwVirtExNode.stringValue ("enabled"); 4152 4152 if (strcmp (enabled, "false") == 0) 4153 mHWData->mHWVirtExEnabled = TriStateBool_ False;4153 mHWData->mHWVirtExEnabled = TriStateBool_TSFalse; 4154 4154 else if (strcmp (enabled, "true") == 0) 4155 mHWData->mHWVirtExEnabled = TriStateBool_T rue;4155 mHWData->mHWVirtExEnabled = TriStateBool_TSTrue; 4156 4156 else 4157 mHWData->mHWVirtExEnabled = TriStateBool_ Default;4157 mHWData->mHWVirtExEnabled = TriStateBool_TSDefault; 4158 4158 } 4159 4159 } … … 5529 5529 switch (mHWData->mHWVirtExEnabled) 5530 5530 { 5531 case TriStateBool_ False:5531 case TriStateBool_TSFalse: 5532 5532 value = "false"; 5533 5533 break; 5534 case TriStateBool_T rue:5534 case TriStateBool_TSTrue: 5535 5535 value = "true"; 5536 5536 break; 5537 case TriStateBool_ Default:5537 case TriStateBool_TSDefault: 5538 5538 value = "default"; 5539 5539 } -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r6597 r6616 105 105 </desc> 106 106 107 <const name=" False" value="0"/>108 <const name="T rue" value="1"/>109 <const name=" Default" value="2"/>107 <const name="TSFalse" value="0"/> 108 <const name="TSTrue" value="1"/> 109 <const name="TSDefault" value="2"/> 110 110 </enum> 111 111
Note:
See TracChangeset
for help on using the changeset viewer.