VirtualBox

Changeset 22175 in vbox for trunk/include


Ignore:
Timestamp:
Aug 11, 2009 4:01:01 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50955
Message:

Main: fix windows burns/warnings

File:
1 edited

Legend:

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

    r22173 r22175  
    125125////////////////////////////////////////////////////////////////////////////////
    126126
    127 struct USBDeviceFilter
     127struct VBOXXML_CLASS USBDeviceFilter
    128128{
    129129    USBDeviceFilter()
     
    144144    USBDeviceFilterAction_T action;                 // only used with host USB filters
    145145    com::Utf8Str            strRemote;              // irrelevant for host USB objects
    146     ULONG                   ulMaskedInterfaces;     // irrelevant for host USB objects
    147 };
    148 
    149 struct Host
     146    uint32_t                ulMaskedInterfaces;     // irrelevant for host USB objects
     147};
     148
     149struct VBOXXML_CLASS Host
    150150{
    151151    USBDeviceFiltersList    llUSBDeviceFilters;
    152152};
    153153
    154 struct SystemProperties
     154struct VBOXXML_CLASS SystemProperties
    155155{
    156156    SystemProperties()
     
    163163    com::Utf8Str            strRemoteDisplayAuthLibrary;
    164164    com::Utf8Str            strWebServiceAuthLibrary;
    165     ULONG                   ulLogHistoryCount;
     165    uint32_t                ulLogHistoryCount;
    166166};
    167167
     
    171171typedef std::list<Medium> MediaList;
    172172
    173 struct Medium
     173struct VBOXXML_CLASS Medium
    174174{
    175175    com::Guid       uuid;
     
    186186};
    187187
    188 struct MachineRegistryEntry
     188struct VBOXXML_CLASS MachineRegistryEntry
    189189{
    190190    com::Guid       uuid;
     
    193193typedef std::list<MachineRegistryEntry> MachinesRegistry;
    194194
    195 struct DHCPServer
     195struct VBOXXML_CLASS DHCPServer
    196196{
    197197    com::Utf8Str    strNetworkName,
     
    236236////////////////////////////////////////////////////////////////////////////////
    237237
    238 struct VRDPSettings
     238struct VBOXXML_CLASS VRDPSettings
    239239{
    240240    VRDPSettings()
     
    248248
    249249    bool            fEnabled;
    250     ULONG           ulPort;
     250    uint32_t        ulPort;
    251251    com::Utf8Str    strNetAddress;
    252252    VRDPAuthType_T  authType;
    253     ULONG           ulAuthTimeout;
     253    uint32_t        ulAuthTimeout;
    254254    bool            fAllowMultiConnection,
    255255                    fReuseSingleConnection;
    256256};
    257257
    258 struct BIOSSettings
     258struct VBOXXML_CLASS BIOSSettings
    259259{
    260260    BIOSSettings()
     
    273273                    fLogoFadeIn,
    274274                    fLogoFadeOut;
    275     ULONG           ulLogoDisplayTime;
     275    uint32_t        ulLogoDisplayTime;
    276276    com::Utf8Str    strLogoImagePath;
    277277    BIOSBootMenuMode_T  biosBootMenuMode;
     
    280280};
    281281
    282 struct DVDDrive
     282struct VBOXXML_CLASS DVDDrive
    283283{
    284284    DVDDrive()
     
    291291};
    292292
    293 struct FloppyDrive
     293struct VBOXXML_CLASS FloppyDrive
    294294{
    295295    FloppyDrive()
     
    302302};
    303303
    304 struct USBController
     304struct VBOXXML_CLASS USBController
    305305{
    306306    USBController()
     
    314314};
    315315
    316 struct NetworkAdapter
     316struct VBOXXML_CLASS NetworkAdapter
    317317{
    318318    NetworkAdapter()
     
    332332    com::Utf8Str            strMACAddress;
    333333    bool                    fCableConnected;
    334     ULONG                   ulLineSpeed;
     334    uint32_t                ulLineSpeed;
    335335    bool                    fTraceEnabled;
    336336    com::Utf8Str            strTraceFile;
     
    343343typedef std::list<NetworkAdapter> NetworkAdaptersList;
    344344
    345 struct SerialPort
     345struct VBOXXML_CLASS SerialPort
    346346{
    347347    SerialPort()
     
    356356
    357357    bool            fEnabled;
    358     ULONG           ulIOBase;
    359     ULONG           ulIRQ;
     358    uint32_t        ulIOBase;
     359    uint32_t        ulIRQ;
    360360    PortMode_T      portMode;
    361361    com::Utf8Str    strPath;
     
    364364typedef std::list<SerialPort> SerialPortsList;
    365365
    366 struct ParallelPort
     366struct VBOXXML_CLASS ParallelPort
    367367{
    368368    ParallelPort()
     
    375375
    376376    bool            fEnabled;
    377     ULONG           ulIOBase;
    378     ULONG           ulIRQ;
     377    uint32_t        ulIOBase;
     378    uint32_t        ulIRQ;
    379379    com::Utf8Str    strPath;
    380380};
    381381typedef std::list<ParallelPort> ParallelPortsList;
    382382
    383 struct AudioAdapter
     383struct VBOXXML_CLASS AudioAdapter
    384384{
    385385    AudioAdapter()
     
    394394};
    395395
    396 struct SharedFolder
     396struct VBOXXML_CLASS SharedFolder
    397397{
    398398    SharedFolder()
     
    406406typedef std::list<SharedFolder> SharedFoldersList;
    407407
    408 struct GuestProperty
     408struct VBOXXML_CLASS GuestProperty
    409409{
    410410    GuestProperty()
     
    414414    com::Utf8Str    strName,
    415415                    strValue;
    416     ULONG64         timestamp;
     416    uint64_t        timestamp;
    417417    com::Utf8Str    strFlags;
    418418};
     
    421421typedef std::map<uint32_t, DeviceType_T> BootOrderMap;
    422422
    423 struct Hardware
     423struct VBOXXML_CLASS Hardware
    424424{
    425425    Hardware()
     
    486486};
    487487
    488 struct AttachedDevice
     488struct VBOXXML_CLASS AttachedDevice
    489489{
    490490    AttachedDevice()
     
    501501typedef std::list<AttachedDevice> AttachedDevicesList;
    502502
    503 struct StorageController
     503struct VBOXXML_CLASS StorageController
    504504{
    505505    StorageController()
     
    516516    StorageBus_T        storageBus;             // _SATA, _SCSI, _IDE
    517517    StorageControllerType_T controllerType;
    518     ULONG               ulPortCount;
     518    uint32_t            ulPortCount;
    519519
    520520    // only for when controllerType == StorageControllerType_IntelAhci:
     
    530530// wrap the list into an extra struct so we can use the struct without
    531531// having to define the typedef above in headers
    532 struct Storage
     532struct VBOXXML_CLASS Storage
    533533{
    534534    StorageControllersList  llStorageControllers;
     
    538538typedef std::list<Snapshot> SnapshotsList;
    539539
    540 struct Snapshot
     540struct VBOXXML_CLASS Snapshot
    541541{
    542542    com::Guid       uuid;
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