VirtualBox

Ignore:
Timestamp:
May 5, 2020 7:13:00 AM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/HostService: Renaming to match terminology (*SvcImpl* -> *Backend*).

Location:
trunk/src/VBox/HostServices/SharedClipboard/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/testcase/tstClipboardServiceHost.cpp

    r83624 r84142  
    308308}
    309309
    310 int ShClSvcImplInit() { return VINF_SUCCESS; }
    311 void ShClSvcImplDestroy() { }
    312 int ShClSvcImplDisconnect(PSHCLCLIENT) { return VINF_SUCCESS; }
    313 int ShClSvcImplConnect(PSHCLCLIENT, bool) { return VINF_SUCCESS; }
    314 int ShClSvcImplFormatAnnounce(PSHCLCLIENT, SHCLFORMATS) { AssertFailed(); return VINF_SUCCESS; }
    315 int ShClSvcImplReadData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT, void *, uint32_t, unsigned int *) { AssertFailed(); return VERR_WRONG_ORDER; }
    316 int ShClSvcImplWriteData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT, void *, uint32_t) { AssertFailed(); return VINF_SUCCESS; }
    317 int ShClSvcImplSync(PSHCLCLIENT) { return VINF_SUCCESS; }
     310int ShClBackendInit() { return VINF_SUCCESS; }
     311void ShClBackendDestroy() { }
     312int ShClBackendDisconnect(PSHCLCLIENT) { return VINF_SUCCESS; }
     313int ShClBackendConnect(PSHCLCLIENT, bool) { return VINF_SUCCESS; }
     314int ShClBackendFormatAnnounce(PSHCLCLIENT, SHCLFORMATS) { AssertFailed(); return VINF_SUCCESS; }
     315int ShClBackendReadData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT, void *, uint32_t, unsigned int *) { AssertFailed(); return VERR_WRONG_ORDER; }
     316int ShClBackendWriteData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT, void *, uint32_t) { AssertFailed(); return VINF_SUCCESS; }
     317int ShClBackendSync(PSHCLCLIENT) { return VINF_SUCCESS; }
    318318
    319319#ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
    320 int ShClSvcImplTransferCreate(PSHCLCLIENT, PSHCLTRANSFER) { return VINF_SUCCESS; }
    321 int ShClSvcImplTransferDestroy(PSHCLCLIENT, PSHCLTRANSFER) { return VINF_SUCCESS; }
    322 int ShClSvcImplTransferGetRoots(PSHCLCLIENT, PSHCLTRANSFER) { return VINF_SUCCESS; }
     320int ShClBackendTransferCreate(PSHCLCLIENT, PSHCLTRANSFER) { return VINF_SUCCESS; }
     321int ShClBackendTransferDestroy(PSHCLCLIENT, PSHCLTRANSFER) { return VINF_SUCCESS; }
     322int ShClBackendTransferGetRoots(PSHCLCLIENT, PSHCLTRANSFER) { return VINF_SUCCESS; }
    323323#endif /* VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS */
    324324
  • trunk/src/VBox/HostServices/SharedClipboard/testcase/tstClipboardServiceImpl.cpp

    r83687 r84142  
    5252}
    5353
    54 int ShClSvcImplInit(void) { return VINF_SUCCESS; }
    55 void ShClSvcImplDestroy(void) { }
    56 int ShClSvcImplDisconnect(PSHCLCLIENT) { return VINF_SUCCESS; }
    57 int ShClSvcImplConnect(PSHCLCLIENT, bool) { return VINF_SUCCESS; }
    58 int ShClSvcImplFormatAnnounce(PSHCLCLIENT, SHCLFORMATS) { AssertFailed(); return VINF_SUCCESS; }
    59 int ShClSvcImplReadData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT, void *, uint32_t, unsigned int *) { AssertFailed(); return VERR_WRONG_ORDER; }
    60 int ShClSvcImplWriteData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT, void *, uint32_t) { AssertFailed(); return VINF_SUCCESS; }
    61 int ShClSvcImplSync(PSHCLCLIENT) { return VINF_SUCCESS; }
     54int ShClBackendInit(void) { return VINF_SUCCESS; }
     55void ShClBackendDestroy(void) { }
     56int ShClBackendDisconnect(PSHCLCLIENT) { return VINF_SUCCESS; }
     57int ShClBackendConnect(PSHCLCLIENT, bool) { return VINF_SUCCESS; }
     58int ShClBackendFormatAnnounce(PSHCLCLIENT, SHCLFORMATS) { AssertFailed(); return VINF_SUCCESS; }
     59int ShClBackendReadData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT, void *, uint32_t, unsigned int *) { AssertFailed(); return VERR_WRONG_ORDER; }
     60int ShClBackendWriteData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT, void *, uint32_t) { AssertFailed(); return VINF_SUCCESS; }
     61int ShClBackendSync(PSHCLCLIENT) { return VINF_SUCCESS; }
    6262
    6363static void testAnnounceAndReadData(void)
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