12f0d0f1aSopenharmony_ci/* 22f0d0f1aSopenharmony_ci * Copyright (C) 2024 Huawei Device Co., Ltd. 32f0d0f1aSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 42f0d0f1aSopenharmony_ci * you may not use this file except in compliance with the License. 52f0d0f1aSopenharmony_ci * You may obtain a copy of the License at 62f0d0f1aSopenharmony_ci * 72f0d0f1aSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 82f0d0f1aSopenharmony_ci * 92f0d0f1aSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 102f0d0f1aSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 112f0d0f1aSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 122f0d0f1aSopenharmony_ci * See the License for the specific language governing permissions and 132f0d0f1aSopenharmony_ci * limitations under the License. 142f0d0f1aSopenharmony_ci */ 152f0d0f1aSopenharmony_ci 162f0d0f1aSopenharmony_ci#ifndef DRM_TRACE_H 172f0d0f1aSopenharmony_ci#define DRM_TRACE_H 182f0d0f1aSopenharmony_ci 192f0d0f1aSopenharmony_ci#include <string> 202f0d0f1aSopenharmony_ci#include "nocopyable.h" 212f0d0f1aSopenharmony_ci 222f0d0f1aSopenharmony_cinamespace OHOS { 232f0d0f1aSopenharmony_cinamespace DrmStandard { 242f0d0f1aSopenharmony_ci 252f0d0f1aSopenharmony_ciclass __attribute__((visibility("default"))) DrmTrace : public NoCopyable { 262f0d0f1aSopenharmony_cipublic: 272f0d0f1aSopenharmony_ci explicit DrmTrace(const std::string& funcName); 282f0d0f1aSopenharmony_ci ~DrmTrace(); 292f0d0f1aSopenharmony_ci}; 302f0d0f1aSopenharmony_ci} // namespace DrmStandard 312f0d0f1aSopenharmony_ci} // namespace OHOS 322f0d0f1aSopenharmony_ci#endif // DRM_TRACE_H