VirtualBox

Changeset 42551 in vbox for trunk/include


Ignore:
Timestamp:
Aug 2, 2012 4:44:39 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
79727
Message:

Main: big API naming cleanup, use all caps acronyms everywhere, including SDK docs
Frontends/VBoxManage: implement guestcontrol execute for new API, disabled by default

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pci.h

    r41854 r42551  
    44
    55/*
    6  * Copyright (C) 2006-2007 Oracle Corporation
     6 * Copyright (C) 2006-2012 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    10501050 *          which sets no precedent.
    10511051 */
    1052 struct PciBusAddress
     1052struct PCIBusAddress
    10531053{
    10541054    /** @todo: think if we'll need domain, which is higher
     
    10581058    int  miFn;
    10591059
    1060     PciBusAddress()
     1060    PCIBusAddress()
    10611061    {
    10621062        clear();
    10631063    }
    10641064
    1065     PciBusAddress(int iBus, int iDevice, int iFn)
     1065    PCIBusAddress(int iBus, int iDevice, int iFn)
    10661066    {
    10671067        init(iBus, iDevice, iFn);
    10681068    }
    10691069
    1070     PciBusAddress(int32_t iAddr)
     1070    PCIBusAddress(int32_t iAddr)
    10711071    {
    10721072        clear();
     
    10741074    }
    10751075
    1076     PciBusAddress& clear()
     1076    PCIBusAddress& clear()
    10771077    {
    10781078        miBus = miDevice = miFn = -1;
     
    10871087    }
    10881088
    1089     void init(const PciBusAddress &a)
     1089    void init(const PCIBusAddress &a)
    10901090    {
    10911091        miBus    = a.miBus;
     
    10941094    }
    10951095
    1096     bool operator<(const PciBusAddress &a) const
     1096    bool operator<(const PCIBusAddress &a) const
    10971097    {
    10981098        if (miBus < a.miBus)
     
    11171117    }
    11181118
    1119     bool operator==(const PciBusAddress &a) const
     1119    bool operator==(const PCIBusAddress &a) const
    11201120    {
    11211121        return     (miBus    == a.miBus)
     
    11241124    }
    11251125
    1126     bool operator!=(const PciBusAddress &a) const
     1126    bool operator!=(const PCIBusAddress &a) const
    11271127    {
    11281128        return     (miBus    != a.miBus)
     
    11441144    }
    11451145
    1146     PciBusAddress& fromLong(int32_t value)
     1146    PCIBusAddress& fromLong(int32_t value)
    11471147    {
    11481148        miBus = (value >> 8) & 0xff;
  • trunk/include/VBox/settings.h

    r42261 r42551  
    394394           u32TcpRcv(0),
    395395           u32TcpSnd(0),
    396            fDnsPassDomain(true), /* historically this value is true */
    397            fDnsProxy(false),
    398            fDnsUseHostResolver(false),
     396           fDNSPassDomain(true), /* historically this value is true */
     397           fDNSProxy(false),
     398           fDNSUseHostResolver(false),
    399399           fAliasLog(false),
    400400           fAliasProxyOnly(false),
     
    411411             && u32TcpSnd           == n.u32TcpSnd
    412412             && u32TcpRcv           == n.u32TcpRcv
    413              && strTftpPrefix       == n.strTftpPrefix
    414              && strTftpBootFile     == n.strTftpBootFile
    415              && strTftpNextServer   == n.strTftpNextServer
    416              && fDnsPassDomain      == n.fDnsPassDomain
    417              && fDnsProxy           == n.fDnsProxy
    418              && fDnsUseHostResolver == n.fDnsUseHostResolver
     413             && strTFTPPrefix       == n.strTFTPPrefix
     414             && strTFTPBootFile     == n.strTFTPBootFile
     415             && strTFTPNextServer   == n.strTFTPNextServer
     416             && fDNSPassDomain      == n.fDNSPassDomain
     417             && fDNSProxy           == n.fDNSProxy
     418             && fDNSUseHostResolver == n.fDNSUseHostResolver
    419419             && fAliasLog           == n.fAliasLog
    420420             && fAliasProxyOnly     == n.fAliasProxyOnly
     
    430430     uint32_t                u32TcpRcv;
    431431     uint32_t                u32TcpSnd;
    432      com::Utf8Str            strTftpPrefix;
    433      com::Utf8Str            strTftpBootFile;
    434      com::Utf8Str            strTftpNextServer;
    435      bool                    fDnsPassDomain;
    436      bool                    fDnsProxy;
    437      bool                    fDnsUseHostResolver;
     432     com::Utf8Str            strTFTPPrefix;
     433     com::Utf8Str            strTFTPBootFile;
     434     com::Utf8Str            strTFTPNextServer;
     435     bool                    fDNSPassDomain;
     436     bool                    fDNSProxy;
     437     bool                    fDNSUseHostResolver;
    438438     bool                    fAliasLog;
    439439     bool                    fAliasProxyOnly;
     
    694694 * your settings might never get saved.
    695695 */
    696 struct IoSettings
    697 {
    698     IoSettings();
    699 
    700     bool operator==(const IoSettings &i) const
    701     {
    702         return (   (fIoCacheEnabled   == i.fIoCacheEnabled)
    703                 && (ulIoCacheSize     == i.ulIoCacheSize)
     696struct IOSettings
     697{
     698    IOSettings();
     699
     700    bool operator==(const IOSettings &i) const
     701    {
     702        return (   (fIOCacheEnabled   == i.fIOCacheEnabled)
     703                && (ulIOCacheSize     == i.ulIOCacheSize)
    704704                && (llBandwidthGroups == i.llBandwidthGroups));
    705705    }
    706706
    707     bool               fIoCacheEnabled;
    708     uint32_t           ulIoCacheSize;
     707    bool               fIOCacheEnabled;
     708    uint32_t           ulIOCacheSize;
    709709    BandwidthGroupList llBandwidthGroups;
    710710};
     
    715715 * your settings might never get saved.
    716716 */
    717 struct HostPciDeviceAttachment
    718 {
    719     HostPciDeviceAttachment()
     717struct HostPCIDeviceAttachment
     718{
     719    HostPCIDeviceAttachment()
    720720        : uHostAddress(0),
    721721          uGuestAddress(0)
    722722    {}
    723723
    724     bool operator==(const HostPciDeviceAttachment &a) const
     724    bool operator==(const HostPCIDeviceAttachment &a) const
    725725    {
    726726        return (   (uHostAddress   == a.uHostAddress)
     
    734734    uint32_t        uGuestAddress;
    735735};
    736 typedef std::list<HostPciDeviceAttachment> HostPciDeviceAttachmentList;
     736typedef std::list<HostPCIDeviceAttachment> HostPCIDeviceAttachmentList;
    737737
    738738/**
     
    764764    bool                fCpuHotPlug;            // requires settings version 1.10 (VirtualBox 3.2)
    765765    CpuList             llCpus;                 // requires settings version 1.10 (VirtualBox 3.2)
    766     bool                fHpetEnabled;           // requires settings version 1.10 (VirtualBox 3.2)
     766    bool                fHPETEnabled;           // requires settings version 1.10 (VirtualBox 3.2)
    767767    uint32_t            ulCpuExecutionCap;      // requires settings version 1.11 (VirtualBox 3.3)
    768768
     
    779779    FirmwareType_T      firmwareType;           // requires settings version 1.9 (VirtualBox 3.1)
    780780
    781     PointingHidType_T   pointingHidType;        // requires settings version 1.10 (VirtualBox 3.2)
    782     KeyboardHidType_T   keyboardHidType;        // requires settings version 1.10 (VirtualBox 3.2)
     781    PointingHIDType_T   pointingHIDType;        // requires settings version 1.10 (VirtualBox 3.2)
     782    KeyboardHIDType_T   keyboardHIDType;        // requires settings version 1.10 (VirtualBox 3.2)
    783783
    784784    ChipsetType_T       chipsetType;            // requires settings version 1.11 (VirtualBox 4.0)
     
    807807    com::Utf8Str        strNotificationPatterns;
    808808
    809     IoSettings          ioSettings;             // requires settings version 1.10 (VirtualBox 3.2)
    810     HostPciDeviceAttachmentList pciAttachments; // requires settings version 1.12 (VirtualBox 4.1)
     809    IOSettings          ioSettings;             // requires settings version 1.10 (VirtualBox 3.2)
     810    HostPCIDeviceAttachmentList pciAttachments; // requires settings version 1.12 (VirtualBox 4.1)
    811811};
    812812
Note: See TracChangeset for help on using the changeset viewer.

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