1e5c4badcSopenharmony_ci/* 2e5c4badcSopenharmony_ci * Copyright (C) 2021 Huawei Device Co., Ltd. 3e5c4badcSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4e5c4badcSopenharmony_ci * you may not use this file except in compliance with the License. 5e5c4badcSopenharmony_ci * You may obtain a copy of the License at 6e5c4badcSopenharmony_ci * 7e5c4badcSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8e5c4badcSopenharmony_ci * 9e5c4badcSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10e5c4badcSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11e5c4badcSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12e5c4badcSopenharmony_ci * See the License for the specific language governing permissions and 13e5c4badcSopenharmony_ci * limitations under the License. 14e5c4badcSopenharmony_ci */ 15e5c4badcSopenharmony_ci 16e5c4badcSopenharmony_ci 17e5c4badcSopenharmony_ci#ifndef MOCK_NATIVE_INCLUDE_MESSAGE_PARCEL_H 18e5c4badcSopenharmony_ci#define MOCK_NATIVE_INCLUDE_MESSAGE_PARCEL_H 19e5c4badcSopenharmony_ci#include <string> 20e5c4badcSopenharmony_ci#include "parcel.h" 21e5c4badcSopenharmony_ci 22e5c4badcSopenharmony_cinamespace OHOS { 23e5c4badcSopenharmony_ciclass IRemoteObject; 24e5c4badcSopenharmony_ciclass MessageParcel : public Parcel { 25e5c4badcSopenharmony_cipublic: 26e5c4badcSopenharmony_ci MessageParcel(); 27e5c4badcSopenharmony_ci ~MessageParcel(); 28e5c4badcSopenharmony_ci bool WriteFileDescriptor(int fd); 29e5c4badcSopenharmony_ci int ReadFileDescriptor(); 30e5c4badcSopenharmony_ci}; 31e5c4badcSopenharmony_ci} // namespace OHOS 32e5c4badcSopenharmony_ci#endif // MOCK_NATIVE_INCLUDE_MESSAGE_PARCEL_H 33