VirtualBox

Ignore:
Timestamp:
Jan 30, 2008 5:31:18 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
27677
Message:

Renaming TriStateBool enum qualifiers:
True => TSTrue
False => TSFalse
Default => TSDefault

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r6597 r6616  
    910910    TriStateBool_T hwVirtExEnabled;
    911911    machine->COMGETTER(HWVirtExEnabled)(&hwVirtExEnabled);
    912     if (hwVirtExEnabled == TriStateBool_Default)
     912    if (hwVirtExEnabled == TriStateBool_TSDefault)
    913913    {
    914914        BOOL fHWVirtExEnabled;
     
    924924    {
    925925        if (details == VMINFO_MACHINEREADABLE)
    926             RTPrintf("hwvirtex=\"%s\"\n", hwVirtExEnabled == TriStateBool_True ? "on" : "off");
     926            RTPrintf("hwvirtex=\"%s\"\n", hwVirtExEnabled == TriStateBool_TSTrue ? "on" : "off");
    927927        else
    928             RTPrintf("Hardw. virt.ext: %s\n", hwVirtExEnabled == TriStateBool_True ? "on" : "off");
     928            RTPrintf("Hardw. virt.ext: %s\n", hwVirtExEnabled == TriStateBool_TSTrue ? "on" : "off");
    929929    }
    930930
     
    43924392            if (strcmp(hwvirtex, "on") == 0)
    43934393            {
    4394                 CHECK_ERROR(machine, COMSETTER(HWVirtExEnabled)(TriStateBool_True));
     4394                CHECK_ERROR(machine, COMSETTER(HWVirtExEnabled)(TriStateBool_TSTrue));
    43954395            }
    43964396            else if (strcmp(hwvirtex, "off") == 0)
    43974397            {
    4398                 CHECK_ERROR(machine, COMSETTER(HWVirtExEnabled)(TriStateBool_False));
     4398                CHECK_ERROR(machine, COMSETTER(HWVirtExEnabled)(TriStateBool_TSFalse));
    43994399            }
    44004400            else if (strcmp(hwvirtex, "default") == 0)
    44014401            {
    4402                 CHECK_ERROR(machine, COMSETTER(HWVirtExEnabled)(TriStateBool_Default));
     4402                CHECK_ERROR(machine, COMSETTER(HWVirtExEnabled)(TriStateBool_TSDefault));
    44034403            }
    44044404            else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette