- Timestamp:
- Feb 26, 2016 3:43:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/DragAndDrop.h
r59828 r59855 205 205 int RootFromURIData(const void *pvData, size_t cbData, uint32_t fFlags); 206 206 RTCString RootToString(const RTCString &strPathBase = "", const RTCString &strSeparator = "\r\n") const; 207 size_t RootCount(void) const { return m_lstRoot.size(); }208 uint 32_t TotalCount(void) const { return m_cTotal; }209 size_t TotalBytes(void) const { return m_cbTotal; }207 uint64_t RootCount(void) const { return m_lstRoot.size(); } 208 uint64_t TotalCount(void) const { return m_cTotal; } 209 uint64_t TotalBytes(void) const { return m_cbTotal; } 210 210 211 211 protected: … … 225 225 RTCList<DnDURIObject *> m_lstTree; 226 226 /** Total number of all URI objects. */ 227 uint 32_t m_cTotal; /** @todo Really needed? m_lstTree.size()? */227 uint64_t m_cTotal; 228 228 /** Total size of all URI objects, that is, the file 229 * size of all objects (in bytes). */ 230 size_t m_cbTotal; 229 * size of all objects (in bytes). 230 * Note: Do *not* size_t here, as we also want to support large files 231 * on 32-bit guests. */ 232 uint64_t m_cbTotal; 231 233 }; 232 234 #endif /* ___VBox_GuestHost_DragAndDrop_h */
Note:
See TracChangeset
for help on using the changeset viewer.