1413470f0Sopenharmony_ci/*
2413470f0Sopenharmony_ci * Copyright (c) 2021 Huawei Device Co., Ltd.
3413470f0Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4413470f0Sopenharmony_ci * you may not use this file except in compliance with the License.
5413470f0Sopenharmony_ci * You may obtain a copy of the License at
6413470f0Sopenharmony_ci *
7413470f0Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8413470f0Sopenharmony_ci *
9413470f0Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10413470f0Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11413470f0Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12413470f0Sopenharmony_ci * See the License for the specific language governing permissions and
13413470f0Sopenharmony_ci * limitations under the License.
14413470f0Sopenharmony_ci */
15413470f0Sopenharmony_ci
16413470f0Sopenharmony_ci#ifndef BATTERY_MANAGE_SERVICE_H
17413470f0Sopenharmony_ci#define BATTERY_MANAGE_SERVICE_H
18413470f0Sopenharmony_ci
19413470f0Sopenharmony_ci#include <feature.h>
20413470f0Sopenharmony_ci#include "battery_info.h"
21413470f0Sopenharmony_ci#include "iunknown.h"
22413470f0Sopenharmony_ci#include "iproxy_server.h"
23413470f0Sopenharmony_ci#include "service.h"
24413470f0Sopenharmony_ci#include "battery_interface.h"
25413470f0Sopenharmony_ci
26413470f0Sopenharmony_ci#ifdef __cplusplus
27413470f0Sopenharmony_ciextern "C" {
28413470f0Sopenharmony_ci#endif // __cplusplus
29413470f0Sopenharmony_ci
30413470f0Sopenharmony_citypedef struct BatteryService {
31413470f0Sopenharmony_ci    INHERIT_SERVICE;
32413470f0Sopenharmony_ci    Identity identity;
33413470f0Sopenharmony_ci} BatteryService;
34413470f0Sopenharmony_ci
35413470f0Sopenharmony_ci#ifdef __cplusplus
36413470f0Sopenharmony_ci}
37413470f0Sopenharmony_ci#endif // __cplusplus
38413470f0Sopenharmony_ci#endif // BATTERY_MANAGE_SERVICE_H