Changeset 74526 in vbox for trunk/src/VBox/Main/include/GuestDnDPrivate.h
- Timestamp:
- Sep 28, 2018 3:08:24 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestDnDPrivate.h
r74439 r74526 6 6 7 7 /* 8 * Copyright (C) 2011-201 7Oracle Corporation8 * Copyright (C) 2011-2018 Oracle Corporation 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 166 166 int fromURIList(const DnDURIList &lstURI) 167 167 { 168 return fromString(lstURI. RootToString());168 return fromString(lstURI.GetRootEntries()); 169 169 } 170 170 … … 390 390 public: 391 391 392 int createIntermediate(DnDURIObject::Type enmType = DnDURIObject:: Unknown)392 int createIntermediate(DnDURIObject::Type enmType = DnDURIObject::Type_Unknown) 393 393 { 394 394 reset(); … … 564 564 switch (Obj.GetType()) 565 565 { 566 case DnDURIObject:: Directory:567 case DnDURIObject:: File:566 case DnDURIObject::Type_Directory: 567 case DnDURIObject::Type_File: 568 568 rc = VINF_SUCCESS; 569 569 break; … … 647 647 rc = lstURI.AppendURIPathsFromList(lstURIOrg, DNDURILIST_FLAGS_KEEP_OPEN); 648 648 if (RT_SUCCESS(rc)) 649 cObjToProcess = lstURI. TotalCount();649 cObjToProcess = lstURI.GetTotalCount(); 650 650 } 651 651 } … … 659 659 LogFlowFuncEnter(); 660 660 661 int rc = lstURI. RootFromURIData(Data.getData(), Data.getSize(), 0 /* uFlags */);661 int rc = lstURI.SetFromURIData(Data.getData(), Data.getSize(), 0 /* uFlags */); 662 662 if (RT_SUCCESS(rc)) 663 663 { 664 const size_t cRootCount = lstURI. RootCount();664 const size_t cRootCount = lstURI.GetRootCount(); 665 665 LogFlowFunc(("cRootCount=%zu, cObjToProcess=%RU64\n", cRootCount, cObjToProcess)); 666 666 if (cRootCount > cObjToProcess) … … 675 675 const char *pszDroppedFilesDir = droppedFiles.GetDirAbs(); 676 676 677 Utf8Str strURIs = lstURI. RootToString(RTCString(pszDroppedFilesDir));677 Utf8Str strURIs = lstURI.GetRootEntries(RTCString(pszDroppedFilesDir)); 678 678 size_t cbData = strURIs.length(); 679 679 680 LogFlowFunc(("%zu root URIs (%zu bytes)\n", lstURI. RootCount(), cbData));680 LogFlowFunc(("%zu root URIs (%zu bytes)\n", lstURI.GetRootCount(), cbData)); 681 681 682 682 int rc;
Note:
See TracChangeset
for help on using the changeset viewer.