Changeset 5370 in vbox for trunk/src/VBox/Frontends/VirtualBox/include
- Timestamp:
- Oct 18, 2007 10:27:00 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 25439
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h
r5193 r5370 263 263 AssertMsg (it != clipboardTypes.end(), ("No value for {%s}", s.latin1())); 264 264 return CEnums::ClipboardMode (it - clipboardTypes.begin()); 265 } 266 267 QString toString (CEnums::IDEControllerType t) const 268 { 269 AssertMsg (!ideControllerTypes [t].isNull(), ("No text for %d", t)); 270 return ideControllerTypes [t]; 271 } 272 273 CEnums::IDEControllerType toIDEControllerType (const QString &s) const 274 { 275 QStringVector::const_iterator it = 276 qFind (ideControllerTypes.begin(), ideControllerTypes.end(), s); 277 AssertMsg (it != ideControllerTypes.end(), ("No value for {%s}", s.latin1())); 278 return CEnums::IDEControllerType (it - ideControllerTypes.begin()); 265 279 } 266 280 … … 588 602 QStringVector networkAttachmentTypes; 589 603 QStringVector clipboardTypes; 604 QStringVector ideControllerTypes; 590 605 QStringVector USBDeviceStates; 591 606
Note:
See TracChangeset
for help on using the changeset viewer.