VirtualBox

Ignore:
Timestamp:
Jun 6, 2019 2:47:16 PM (6 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Update (more glue code, transfer callbacks).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/ClipboardProvider.cpp

    r78974 r79027  
    105105}
    106106
    107 int SharedClipboardProvider::ReadMetaData(uint32_t fFlags /* = 0 */)
    108 {
    109     RT_NOREF(fFlags);
    110     return VERR_NOT_IMPLEMENTED;
    111 }
    112 
    113 int SharedClipboardProvider::WriteMetaData(const void *pvBuf, size_t cbBuf, size_t *pcbWritten, uint32_t fFlags /* = 0 */)
    114 {
    115     RT_NOREF(pvBuf, cbBuf, pcbWritten, fFlags);
     107int SharedClipboardProvider::ReadDataHdr(PVBOXCLIPBOARDDATAHDR pDataHdr)
     108{
     109    RT_NOREF(pDataHdr);
     110    return VERR_NOT_IMPLEMENTED;
     111}
     112
     113int SharedClipboardProvider::WriteDataHdr(const PVBOXCLIPBOARDDATAHDR pDataHdr)
     114{
     115    RT_NOREF(pDataHdr);
     116    return VERR_NOT_IMPLEMENTED;
     117}
     118
     119int SharedClipboardProvider::ReadMetaData(const PVBOXCLIPBOARDDATAHDR pDataHdr, void *pvMeta, uint32_t cbMeta, uint32_t *pcbRead,
     120                                          uint32_t fFlags /* = 0 */)
     121{
     122    RT_NOREF(pDataHdr, pvMeta, cbMeta, pcbRead, fFlags);
     123    return VERR_NOT_IMPLEMENTED;
     124}
     125
     126int SharedClipboardProvider::WriteMetaData(const PVBOXCLIPBOARDDATAHDR pDataHdr, const void *pvMeta, uint32_t cbMeta,
     127                                           uint32_t *pcbWritten, uint32_t fFlags /* = 0 */)
     128{
     129    RT_NOREF(pDataHdr, pvMeta, cbMeta, pcbWritten, fFlags);
    116130    return VERR_NOT_IMPLEMENTED;
    117131}
     
    133147}
    134148
    135 int SharedClipboardProvider::ReadDirectoryObj(SharedClipboardURIObject &Obj)
    136 {
    137     RT_NOREF(Obj);
    138 
    139     LogFlowFuncEnter();
    140 
    141     int rc = VERR_NOT_IMPLEMENTED;
    142 
    143     LogFlowFuncLeaveRC(rc);
    144     return rc;
    145 }
    146 
    147149int SharedClipboardProvider::WriteDirectory(const PVBOXCLIPBOARDDIRDATA pDirData)
    148150{
     
    157159}
    158160
    159 int SharedClipboardProvider::WriteDirectoryObj(const SharedClipboardURIObject &Obj)
    160 {
    161     RT_NOREF(Obj);
    162 
    163     LogFlowFuncEnter();
    164 
    165     int rc = VERR_NOT_IMPLEMENTED;
    166 
    167     LogFlowFuncLeaveRC(rc);
    168     return rc;
    169 }
    170 
    171161int SharedClipboardProvider::ReadFileHdr(PVBOXCLIPBOARDFILEHDR pFileHdr)
    172162{
     
    181171}
    182172
    183 int SharedClipboardProvider::ReadFileHdrObj(SharedClipboardURIObject &Obj)
    184 {
    185     RT_NOREF(Obj);
    186 
    187     LogFlowFuncEnter();
    188 
    189     int rc = VERR_NOT_IMPLEMENTED;
    190 
    191     LogFlowFuncLeaveRC(rc);
    192     return rc;
    193 }
    194 
    195173int SharedClipboardProvider::WriteFileHdr(const PVBOXCLIPBOARDFILEHDR pFileHdr)
    196174{
     
    205183}
    206184
    207 int SharedClipboardProvider::WriteFileHdrObj(const SharedClipboardURIObject &Obj)
    208 {
    209     RT_NOREF(Obj);
    210 
    211     LogFlowFuncEnter();
    212 
    213     int rc = VERR_NOT_IMPLEMENTED;
    214 
    215     LogFlowFuncLeaveRC(rc);
    216     return rc;
    217 }
    218 
    219 int SharedClipboardProvider::ReadFileDataObj(SharedClipboardURIObject &Obj, uint32_t *pcbRead)
    220 {
    221     RT_NOREF(Obj, pcbRead);
    222 
    223     LogFlowFuncEnter();
    224 
    225     int rc = VERR_NOT_IMPLEMENTED;
    226 
    227     LogFlowFuncLeaveRC(rc);
    228     return rc;
    229 }
    230 
    231185int SharedClipboardProvider::ReadFileData(PVBOXCLIPBOARDFILEDATA pFileData, uint32_t *pcbRead)
    232186{
     
    241195}
    242196
    243 int SharedClipboardProvider::WriteFileDataObj(const SharedClipboardURIObject &Obj, uint32_t *pcbWritten)
    244 {
    245     RT_NOREF(Obj, pcbWritten);
    246 
    247     LogFlowFuncEnter();
    248 
    249     int rc = VERR_NOT_IMPLEMENTED;
    250 
    251     LogFlowFuncLeaveRC(rc);
    252     return rc;
    253 }
    254 
    255197int SharedClipboardProvider::WriteFileData(const PVBOXCLIPBOARDFILEDATA pFileData, uint32_t *pcbWritten)
    256198{
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette