15ba71b47Sopenharmony_ci/*
25ba71b47Sopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd.
35ba71b47Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
45ba71b47Sopenharmony_ci * you may not use this file except in compliance with the License.
55ba71b47Sopenharmony_ci * You may obtain a copy of the License at
65ba71b47Sopenharmony_ci *
75ba71b47Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
85ba71b47Sopenharmony_ci *
95ba71b47Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
105ba71b47Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
115ba71b47Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
125ba71b47Sopenharmony_ci * See the License for the specific language governing permissions and
135ba71b47Sopenharmony_ci * limitations under the License.
145ba71b47Sopenharmony_ci */
155ba71b47Sopenharmony_ci
165ba71b47Sopenharmony_ci#ifndef SERVICES_DFX_INCLUDE_HICOLLIE_HELLER_H
175ba71b47Sopenharmony_ci#define SERVICES_DFX_INCLUDE_HICOLLIE_HELLER_H
185ba71b47Sopenharmony_ci#include "event_handler.h"
195ba71b47Sopenharmony_ci#include <string>
205ba71b47Sopenharmony_cinamespace OHOS {
215ba71b47Sopenharmony_ciclass HicollieHelper {
225ba71b47Sopenharmony_cipublic:
235ba71b47Sopenharmony_ci    static int AddThread(const std::string& name, std::shared_ptr<AppExecFwk::EventHandler> handler,
245ba71b47Sopenharmony_ci        std::function<void(const std::string& name, int waitState)> timeOutCallback, uint64_t interval);
255ba71b47Sopenharmony_ci};
265ba71b47Sopenharmony_ci}  // namespace OHOS
275ba71b47Sopenharmony_ci#endif  // SERVICES_DFX_INCLUDE_HICOLLIE_HELLER_H
28