Changeset 50561 in vbox for trunk/include
- Timestamp:
- Feb 24, 2014 9:07:22 PM (11 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/DragAndDrop.h
r50508 r50561 56 56 public: 57 57 58 RTCStringGetSourcePath(void) const { return m_strSrcPath; }59 RTCStringGetDestPath(void) const { return m_strDstPath; }58 const RTCString &GetSourcePath(void) const { return m_strSrcPath; } 59 const RTCString &GetDestPath(void) const { return m_strDstPath; } 60 60 uint32_t GetMode(void) const { return m_fMode; } 61 61 uint64_t GetSize(void) const { return m_cbSize; } … … 110 110 void RemoveFirst(void); 111 111 int RootFromURIData(const void *pvData, size_t cbData, uint32_t fFlags); 112 RTCString RootToString(const RTCString &strBasePath = "" );112 RTCString RootToString(const RTCString &strBasePath = "", const RTCString &strSeparator = "\r\n"); 113 113 size_t RootCount(void) { return m_lstRoot.size(); } 114 114 size_t TotalBytes(void) { return m_cbTotal; } -
trunk/include/VBox/HostServices/DragAndDropSvc.h
r50508 r50561 73 73 74 74 HOST_DND_HG_EVT_ENTER = 200, 75 HOST_DND_HG_EVT_MOVE ,76 HOST_DND_HG_EVT_LEAVE ,77 HOST_DND_HG_EVT_DROPPED ,78 HOST_DND_HG_EVT_CANCEL ,75 HOST_DND_HG_EVT_MOVE = 201, 76 HOST_DND_HG_EVT_LEAVE = 202, 77 HOST_DND_HG_EVT_DROPPED = 203, 78 HOST_DND_HG_EVT_CANCEL = 204, 79 79 /** Gets the actual MIME data, based on 80 80 * the format(s) specified by HOST_DND_HG_EVT_ENTER. */ 81 HOST_DND_HG_SND_DATA ,81 HOST_DND_HG_SND_DATA = 205, 82 82 /** Sent when the actual buffer for HOST_DND_HG_SND_DATA 83 83 * was too small, issued by the DnD host service. */ 84 HOST_DND_HG_SND_MORE_DATA ,84 HOST_DND_HG_SND_MORE_DATA = 206, 85 85 /** Directory entry to be handled on the guest. */ 86 HOST_DND_HG_SND_DIR ,86 HOST_DND_HG_SND_DIR = 207, 87 87 /** File entry to be handled on the guest. */ 88 HOST_DND_HG_SND_FILE ,88 HOST_DND_HG_SND_FILE = 208, 89 89 90 90 /* … … 101 101 102 102 HOST_DND_GH_RECV_DIR = 650, 103 HOST_DND_GH_RECV_FILE 103 HOST_DND_GH_RECV_FILE = 670 104 104 }; 105 105 … … 124 124 /** The guest requests the actual DnD data to be sent 125 125 * from the host. */ 126 GUEST_DND_HG_REQ_DATA ,127 GUEST_DND_HG_EVT_PROGRESS ,126 GUEST_DND_HG_REQ_DATA = 401, 127 GUEST_DND_HG_EVT_PROGRESS = 402, 128 128 129 129 /* G->H */ … … 135 135 GUEST_DND_GH_ACK_PENDING = 500, 136 136 /** 137 * Sends data of the requ sted MIME typeto the host. There can137 * Sends data of the requested format to the host. There can 138 138 * be more than one message if the actual data does not fit 139 139 * into one. 140 140 */ 141 GUEST_DND_GH_SND_DATA ,142 GUEST_DND_GH_EVT_ERROR ,141 GUEST_DND_GH_SND_DATA = 501, 142 GUEST_DND_GH_EVT_ERROR = 502, 143 143 144 144 GUEST_DND_GH_SND_DIR = 700, 145 GUEST_DND_GH_SND_FILE 145 GUEST_DND_GH_SND_FILE = 701 146 146 }; 147 147 … … 376 376 /** Total bytes to send. This can be more than 377 377 * the data block specified in pvData above, e.g. 378 * when sending over file objects . */378 * when sending over file objects afterwards. */ 379 379 HGCMFunctionParameter cbTotalBytes; /* OUT uint32_t */ 380 380 } VBOXDNDGHSENDDATAMSG; … … 417 417 418 418 /** 419 * GH Cancel Dataevent.420 * 421 * Used by: 422 * GUEST_DND_GH_EVT_ CANCEL419 * GH Error event. 420 * 421 * Used by: 422 * GUEST_DND_GH_EVT_ERROR 423 423 */ 424 424 HGCMFunctionParameter uRC; /* OUT uint32_t */ -
trunk/include/VBox/HostServices/Service.h
r44529 r50561 43 43 public: 44 44 Message(uint32_t uMsg, uint32_t cParms, VBOXHGCMSVCPARM aParms[]) 45 : m_uMsg(0)46 , m_cParms(0)47 , m_paParms(0)45 : m_uMsg(0) 46 , m_cParms(0) 47 , m_paParms(0) 48 48 { 49 49 setData(uMsg, cParms, aParms); -
trunk/include/VBox/VBoxGuestLib.h
r50508 r50561 724 724 VBGLR3DECL(int) VbglR3DnDGHAcknowledgePending(uint32_t u32ClientId, uint32_t uDefAction, uint32_t uAllActions, const char* pcszFormats); 725 725 VBGLR3DECL(int) VbglR3DnDGHSendData(uint32_t u32ClientId, const char *pszFormat, void *pvData, uint32_t cbData); 726 VBGLR3DECL(int) VbglR3DnDGH ErrorEvent(uint32_t u32ClientId, int rcOp);726 VBGLR3DECL(int) VbglR3DnDGHSendError(uint32_t u32ClientId, int rcOp); 727 727 # endif /* VBOX_WITH_DRAG_AND_DROP_GH */ 728 728 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.