Changeset 55963 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- May 20, 2015 11:18:14 AM (10 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestDnDPrivate.h
r55640 r55963 50 50 int Reset(void); 51 51 52 int Notify(int rc );52 int Notify(int rc = VINF_SUCCESS); 53 53 54 54 int Result(void) const { return mRc; } … … 367 367 bool isProgressCanceled(void) const; 368 368 int setCallback(uint32_t uMsg, PFNGUESTDNDCALLBACK pfnCallback, void *pvUser = NULL); 369 int setProgress(unsigned uPercentage, uint32_t uState, int rcOp = VINF_SUCCESS );369 int setProgress(unsigned uPercentage, uint32_t uState, int rcOp = VINF_SUCCESS, const Utf8Str &strMsg = ""); 370 370 HRESULT resetProgress(const ComObjPtr<Guest>& pParent); 371 371 HRESULT queryProgressTo(IProgress **ppProgress); … … 377 377 int onDispatch(uint32_t u32Function, void *pvParms, uint32_t cbParms); 378 378 /** @} */ 379 380 public:381 382 Utf8Str errorToString(const ComObjPtr<Guest>& pGuest, int guestRc);383 379 384 380 protected: -
trunk/src/VBox/Main/include/GuestDnDSourceImpl.h
r55549 r55963 74 74 protected: 75 75 76 static Utf8Str i_guestErrorToString(int guestRc); 77 static Utf8Str i_hostErrorToString(int hostRc); 78 79 /** @name Thread callbacks. 80 * @{ */ 76 81 static DECLCALLBACK(int) i_receiveDataThread(RTTHREAD Thread, void *pvUser); 82 /** @} */ 77 83 78 84 /** @name Callbacks for dispatch handler. -
trunk/src/VBox/Main/include/GuestDnDTargetImpl.h
r55571 r55963 68 68 protected: 69 69 70 static Utf8Str i_guestErrorToString(int guestRc); 71 static Utf8Str i_hostErrorToString(int hostRc); 72 73 /** @name Thread callbacks. 74 * @{ */ 70 75 static DECLCALLBACK(int) i_sendDataThread(RTTHREAD Thread, void *pvUser); 76 /** @} */ 77 78 /** @name Callbacks for dispatch handler. 79 * @{ */ 71 80 static DECLCALLBACK(int) i_sendURIDataCallback(uint32_t uMsg, void *pvParms, size_t cbParms, void *pvUser); 81 /** @} */ 72 82 73 83 protected:
Note:
See TracChangeset
for help on using the changeset viewer.