VirtualBox

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


Ignore:
Timestamp:
Oct 24, 2022 10:23:55 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154264
Message:

Main/Guest Control: Added new guestControl::GuestPath class which contains the (static) Translate() function to translate paths from/to host/guests. Also added a new testcase for that function. bugref:10286

File:
1 edited

Legend:

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

    r96407 r97276  
    13851385    /** @} */
    13861386};
     1387
     1388/**
     1389 * Class for handling guest / host path functions.
     1390 */
     1391class GuestPath
     1392{
     1393private:
     1394
     1395    /**
     1396     * Default constructor.
     1397     *
     1398     * Not directly instantiable (yet).
     1399     */
     1400    GuestPath(void) { }
     1401
     1402public:
     1403
     1404    /** @name Static helper functions.
     1405     * @{ */
     1406    static int Translate(Utf8Str &strPath, PathStyle_T enmSrcPathStyle, PathStyle_T enmDstPathStyle);
     1407    /** @}  */
     1408};
    13871409#endif /* !MAIN_INCLUDED_GuestCtrlImplPrivate_h */
    13881410
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