VirtualBox

Changeset 97417 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Nov 6, 2022 10:31:19 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154422
Message:

Guest Control/Main: More path building / translation fixes. ​bugref:10286

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h

    r97395 r97417  
    13881388};
    13891389
     1390/** Returns the path separator based on \a a_enmPathStyle as a C-string. */
     1391#define PATH_STYLE_SEP_STR(a_enmPathStyle) a_enmPathStyle == PathStyle_DOS ? "\\" : "/"
     1392#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
     1393# define PATH_STYLE_NATIVE               PathStyle_DOS
     1394#else
     1395# define PATH_STYLE_NATIVE               PathStyle_UNIX
     1396#endif
     1397
    13901398/**
    13911399 * Class for handling guest / host path functions.
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