VirtualBox

Changeset 78038 in vbox for trunk/src


Ignore:
Timestamp:
Apr 8, 2019 12:15:00 PM (6 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Renaming.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

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

    r77587 r78038  
    283283    inline bool             i_directoryExists(uint32_t uDirID, ComObjPtr<GuestDirectory> *pDir);
    284284    int                     i_directoryUnregister(GuestDirectory *pDirectory);
    285     int                     i_directoryRemove(const Utf8Str &strPath, uint32_t uFlags, int *pGuestRc);
     285    int                     i_directoryRemove(const Utf8Str &strPath, uint32_t fFlags, int *pGuestRc);
    286286    int                     i_directoryCreate(const Utf8Str &strPath, uint32_t uMode, uint32_t uFlags, int *pGuestRc);
    287287    int                     i_directoryOpen(const GuestDirectoryOpenInfo &openInfo,
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r77587 r78038  
    10231023}
    10241024
    1025 int GuestSession::i_directoryRemove(const Utf8Str &strPath, uint32_t uFlags, int *prcGuest)
    1026 {
    1027     AssertReturn(!(uFlags & ~DIRREMOVEREC_FLAG_VALID_MASK), VERR_INVALID_PARAMETER);
     1025int GuestSession::i_directoryRemove(const Utf8Str &strPath, uint32_t fFlags, int *prcGuest)
     1026{
     1027    AssertReturn(!(fFlags & ~DIRREMOVEREC_FLAG_VALID_MASK), VERR_INVALID_PARAMETER);
    10281028    AssertPtrReturn(prcGuest, VERR_INVALID_POINTER);
    10291029
    1030     LogFlowThisFunc(("strPath=%s, uFlags=0x%x\n", strPath.c_str(), uFlags));
     1030    LogFlowThisFunc(("strPath=%s, uFlags=0x%x\n", strPath.c_str(), fFlags));
    10311031
    10321032    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
     
    10431043    HGCMSvcSetPv(&paParms[i++], (void*)strPath.c_str(),
    10441044                            (ULONG)strPath.length() + 1);
    1045     HGCMSvcSetU32(&paParms[i++], uFlags);
     1045    HGCMSvcSetU32(&paParms[i++], fFlags);
    10461046
    10471047    alock.release(); /* Drop write lock before sending. */
     
    34653465
    34663466    /* No flags; only remove the directory when empty. */
    3467     uint32_t uFlags = 0;
     3467    uint32_t fFlags = DIRREMOVEREC_FLAG_NONE;
    34683468
    34693469    int rcGuest;
    3470     int vrc = i_directoryRemove(aPath, uFlags, &rcGuest);
     3470    int vrc = i_directoryRemove(aPath, fFlags, &rcGuest);
    34713471    if (RT_FAILURE(vrc))
    34723472    {
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