Changeset 80444 in vbox for trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11-stubs.cpp
- Timestamp:
- Aug 27, 2019 5:47:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11-stubs.cpp
r79036 r80444 54 54 * Enable the shared clipboard - called by the hgcm clipboard subsystem. 55 55 * 56 * @param pClientData Structure containing context information about the guest system57 * @param fHeadless Whether headless.58 56 * @returns RT status code 57 * @param pClient Structure containing context information about the guest system 58 * @param fHeadless Whether headless. 59 59 */ 60 int VBoxClipboardSvcImplConnect(PVBOXCLIPBOARDCLIENT DATA pClientData, bool fHeadless)60 int VBoxClipboardSvcImplConnect(PVBOXCLIPBOARDCLIENT pClient, bool fHeadless) 61 61 { 62 RT_NOREF(pClient Data, fHeadless);62 RT_NOREF(pClient, fHeadless); 63 63 LogFlowFunc(("called, returning VINF_SUCCESS\n")); 64 64 return VINF_SUCCESS; … … 69 69 * after a save and restore of the guest. 70 70 */ 71 int VBoxClipboardSvcImplSync(PVBOXCLIPBOARDCLIENT DATA /* pClientData */)71 int VBoxClipboardSvcImplSync(PVBOXCLIPBOARDCLIENT pClient) 72 72 { 73 RT_NOREF(pClient); 73 74 LogFlowFunc(("called, returning VINF_SUCCESS\n")); 74 75 return VINF_SUCCESS; … … 78 79 * Shut down the shared clipboard subsystem and "disconnect" the guest. 79 80 * 80 * @param pClient DataStructure containing context information about the guest system81 * @param pClient Structure containing context information about the guest system 81 82 */ 82 int VBoxClipboardSvcImplDisconnect(PVBOXCLIPBOARDCLIENT DATA pClientData)83 int VBoxClipboardSvcImplDisconnect(PVBOXCLIPBOARDCLIENT pClient) 83 84 { 84 RT_NOREF(pClient Data);85 RT_NOREF(pClient); 85 86 return VINF_SUCCESS; 86 87 } … … 90 91 * subsystem. 91 92 * 92 * @param pClientData Context data for the guest system 93 * @param u32Formats Clipboard formats the guest is offering 93 * @param pClient Context data for the guest system. 94 * @param pCmdCtx Command context to use. 95 * @param pFormats Clipboard formats the guest is offering. 94 96 */ 95 int VBoxClipboardSvcImplFormatAnnounce(PVBOXCLIPBOARDCLIENTDATA pClientData, uint32_t u32Formats) 97 int VBoxClipboardSvcImplFormatAnnounce(PVBOXCLIPBOARDCLIENT pClient, PVBOXCLIPBOARDCLIENTCMDCTX pCmdCtx, 98 PSHAREDCLIPBOARDFORMATDATA pFormats) 96 99 { 97 RT_NOREF(pClient Data, u32Formats);100 RT_NOREF(pClient, pCmdCtx, pFormats); 98 101 return VINF_SUCCESS; 99 102 } … … 102 105 * Called by the HGCM clipboard subsystem when the guest wants to read the host clipboard. 103 106 * 104 * @param pClientData Context information about the guest VM 105 * @param u32Format The format that the guest would like to receive the data in 106 * @param pv Where to write the data to 107 * @param cb The size of the buffer to write the data to 108 * @param pcbActual Where to write the actual size of the written data 107 * @param pClient Context information about the guest VM 108 * @param pCmdCtx Command context to use. 109 * @param pData Data block to put read data into. 109 110 */ 110 int VBoxClipboardSvcImplReadData(PVBOXCLIPBOARDCLIENT DATA pClientData, uint32_t u32Format,111 void *pv, uint32_t cb, uint32_t *pcbActual)111 int VBoxClipboardSvcImplReadData(PVBOXCLIPBOARDCLIENT pClient, PVBOXCLIPBOARDCLIENTCMDCTX pCmdCtx, 112 PSHAREDCLIPBOARDDATABLOCK pData, uint32_t *pcbActual) 112 113 { 113 RT_NOREF(pClient Data, u32Format, pv, cb);114 LogFlowFunc(("called, returning VINF_SUCCESS\n")); 114 RT_NOREF(pClient, pCmdCtx, pData); 115 115 116 /* No data available. */ 116 117 *pcbActual = 0; 118 117 119 return VINF_SUCCESS; 118 120 } 119 121 120 int VBoxClipboardSvcImplWriteData(PVBOXCLIPBOARDCLIENT DATA pClientData, void *pv, uint32_t cb,121 uint32_t u32Format)122 int VBoxClipboardSvcImplWriteData(PVBOXCLIPBOARDCLIENT pClient, PVBOXCLIPBOARDCLIENTCMDCTX pCmdCtx, 123 PSHAREDCLIPBOARDDATABLOCK pData) 122 124 { 123 RT_NOREF(pClient Data, pv, cb, u32Format);125 RT_NOREF(pClient, pCmdCtx, pData); 124 126 return VERR_NOT_IMPLEMENTED; 125 127 } 126 128 127 129 #ifdef VBOX_WITH_SHARED_CLIPBOARD_URI_LIST 128 int VBoxClipboardSvcImplURIReadDir(PVBOXCLIPBOARDCLIENT DATA pClientData, PVBOXCLIPBOARDDIRDATA pDirData)130 int VBoxClipboardSvcImplURIReadDir(PVBOXCLIPBOARDCLIENT pClient, PVBOXCLIPBOARDDIRDATA pDirData) 129 131 { 130 RT_NOREF(pClient Data, pDirData);132 RT_NOREF(pClient, pDirData); 131 133 return VERR_NOT_IMPLEMENTED; 132 134 } 133 135 134 int VBoxClipboardSvcImplURIWriteDir(PVBOXCLIPBOARDCLIENT DATA pClientData, PVBOXCLIPBOARDDIRDATA pDirData)136 int VBoxClipboardSvcImplURIWriteDir(PVBOXCLIPBOARDCLIENT pClient, PVBOXCLIPBOARDDIRDATA pDirData) 135 137 { 136 RT_NOREF(pClient Data, pDirData);138 RT_NOREF(pClient, pDirData); 137 139 return VERR_NOT_IMPLEMENTED; 138 140 } 139 141 140 int VBoxClipboardSvcImplURIReadFileHdr(PVBOXCLIPBOARDCLIENT DATA pClientData, PVBOXCLIPBOARDFILEHDR pFileHdr)142 int VBoxClipboardSvcImplURIReadFileHdr(PVBOXCLIPBOARDCLIENT pClient, PVBOXCLIPBOARDFILEHDR pFileHdr) 141 143 { 142 RT_NOREF(pClient Data, pFileHdr);144 RT_NOREF(pClient, pFileHdr); 143 145 return VERR_NOT_IMPLEMENTED; 144 146 } 145 147 146 int VBoxClipboardSvcImplURIWriteFileHdr(PVBOXCLIPBOARDCLIENT DATA pClientData, PVBOXCLIPBOARDFILEHDR pFileHdr)148 int VBoxClipboardSvcImplURIWriteFileHdr(PVBOXCLIPBOARDCLIENT pClient, PVBOXCLIPBOARDFILEHDR pFileHdr) 147 149 { 148 RT_NOREF(pClient Data, pFileHdr);150 RT_NOREF(pClient, pFileHdr); 149 151 return VERR_NOT_IMPLEMENTED; 150 152 } 151 153 152 int VBoxClipboardSvcImplURIReadFileData(PVBOXCLIPBOARDCLIENT DATA pClientData, PVBOXCLIPBOARDFILEDATA pFileData)154 int VBoxClipboardSvcImplURIReadFileData(PVBOXCLIPBOARDCLIENT pClient, PVBOXCLIPBOARDFILEDATA pFileData) 153 155 { 154 RT_NOREF(pClient Data, pFileData);156 RT_NOREF(pClient, pFileData); 155 157 return VERR_NOT_IMPLEMENTED; 156 158 } 157 159 158 int VBoxClipboardSvcImplURIWriteFileData(PVBOXCLIPBOARDCLIENT DATA pClientData, PVBOXCLIPBOARDFILEDATA pFileData)160 int VBoxClipboardSvcImplURIWriteFileData(PVBOXCLIPBOARDCLIENT pClient, PVBOXCLIPBOARDFILEDATA pFileData) 159 161 { 160 RT_NOREF(pClient Data, pFileData);162 RT_NOREF(pClient, pFileData); 161 163 return VERR_NOT_IMPLEMENTED; 162 164 }
Note:
See TracChangeset
for help on using the changeset viewer.