10a5c7a17Sopenharmony_ci/* 20a5c7a17Sopenharmony_ci * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 30a5c7a17Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 40a5c7a17Sopenharmony_ci * you may not use this file except in compliance with the License. 50a5c7a17Sopenharmony_ci * You may obtain a copy of the License at 60a5c7a17Sopenharmony_ci * 70a5c7a17Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 80a5c7a17Sopenharmony_ci * 90a5c7a17Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 100a5c7a17Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 110a5c7a17Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 120a5c7a17Sopenharmony_ci * See the License for the specific language governing permissions and 130a5c7a17Sopenharmony_ci * limitations under the License. 140a5c7a17Sopenharmony_ci */ 150a5c7a17Sopenharmony_ci#ifndef CAMERA_CLIENT_H 160a5c7a17Sopenharmony_ci#define CAMERA_CLIENT_H 170a5c7a17Sopenharmony_ci 180a5c7a17Sopenharmony_ci#include "iproxy_client.h" 190a5c7a17Sopenharmony_ci 200a5c7a17Sopenharmony_cinamespace OHOS { 210a5c7a17Sopenharmony_cinamespace Media { 220a5c7a17Sopenharmony_ciclass CameraClient { 230a5c7a17Sopenharmony_cipublic: 240a5c7a17Sopenharmony_ci static CameraClient *GetInstance(); 250a5c7a17Sopenharmony_ci bool InitCameraClient(); 260a5c7a17Sopenharmony_ci IClientProxy *GetIClientProxy(); 270a5c7a17Sopenharmony_ciprivate: 280a5c7a17Sopenharmony_ci CameraClient() {} 290a5c7a17Sopenharmony_ci ~CameraClient() {} 300a5c7a17Sopenharmony_ci IClientProxy *proxy_ = nullptr; 310a5c7a17Sopenharmony_ci}; 320a5c7a17Sopenharmony_ci} // namespace Media 330a5c7a17Sopenharmony_ci} // namespace OHOS 340a5c7a17Sopenharmony_ci#endif // CAMERA_CLIENT_H 35