142103316Sopenharmony_ci/* 242103316Sopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd. 342103316Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 442103316Sopenharmony_ci * you may not use this file except in compliance with the License. 542103316Sopenharmony_ci * You may obtain a copy of the License at 642103316Sopenharmony_ci * 742103316Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 842103316Sopenharmony_ci * 942103316Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 1042103316Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 1142103316Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1242103316Sopenharmony_ci * See the License for the specific language governing permissions and 1342103316Sopenharmony_ci * limitations under the License. 1442103316Sopenharmony_ci */ 1542103316Sopenharmony_ci 1642103316Sopenharmony_ci#ifndef USB_CALLBACK_TEST_H 1742103316Sopenharmony_ci#define USB_CALLBACK_TEST_H 1842103316Sopenharmony_ci 1942103316Sopenharmony_ci#include "usbd_bulk_callback.h" 2042103316Sopenharmony_ci 2142103316Sopenharmony_ciclass UsbCallbackTest : public OHOS::USB::UsbdBulkCallBack { 2242103316Sopenharmony_cipublic: 2342103316Sopenharmony_ci int32_t OnBulkWriteCallback(int32_t status, int32_t actLength); 2442103316Sopenharmony_ci int32_t OnBulkReadCallback(int32_t status, int32_t actLength); 2542103316Sopenharmony_ci}; 2642103316Sopenharmony_ci 2742103316Sopenharmony_ci#endif