VirtualBox

Changeset 48878 in vbox


Ignore:
Timestamp:
Oct 4, 2013 8:33:50 AM (11 years ago)
Author:
vboxsync
Message:

include/VBox/vd.h: de-C++ify the use of PARTITIONING_TYPE, and at the same time replacing it with a better matching type name which is less 'global'

Location:
trunk
Files:
2 edited

Legend:

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

    r48743 r48878  
    155155 * disks.
    156156 */
    157 enum PARTITIONING_TYPE
     157typedef enum VBOXHDDPARTTYPE
    158158{
    159159    MBR,
    160160    GPT
    161 };
     161} VBOXHDDPARTTYPE;
    162162
    163163/**
     
    179179    /** Pointer to the partition descriptor array. */
    180180    PVBOXHDDRAWPARTDESC pPartDescs;
    181     /**partitioning type of the disk */
    182     PARTITIONING_TYPE uPartitioningType;
     181    /** Partitioning type of the disk */
     182    VBOXHDDPARTTYPE uPartitioningType;
    183183
    184184} VBOXHDDRAW, *PVBOXHDDRAW;
  • trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp

    r46999 r48878  
    122122{
    123123    /** partitioning type - MBR or GPT */
    124     PARTITIONING_TYPE uPartitioningType;
     124    VBOXHDDPARTTYPE uPartitioningType;
    125125    unsigned        cPartitions;
    126126    HOSTPARTITION   aPartitions[HOSTPARTITION_MAX];
     
    755755    int rc;
    756756
    757     PARTITIONING_TYPE partitioningType;
     757    VBOXHDDPARTTYPE partitioningType;
    758758
    759759    pPart->cPartitions = 0;
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