1 /*
2  * Copyright (C) 2021 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 /**
17  * @file a2dp_sink.h
18  *
19  * @brief Declares the class of the a2dp sink.
20  *
21  * @since 6
22  */
23 
24 #ifndef A2DP_SINK_H
25 #define A2DP_SINK_H
26 
27 #include "a2dp_profile.h"
28 
29 namespace OHOS {
30 namespace bluetooth {
31 class A2dpSnkProfile : public A2dpProfile {
32 public:
33     /**
34      * @brief A function to get the instance.
35      *
36      * @since 6.0
37      */
38     static A2dpSnkProfile *GetInstance();
39 
40 private:
41     /**
42      * @brief A constructor used to create an <b>A2dpSnkProfile</b> instance.
43      *
44      * @since 6.0
45      */
46     A2dpSnkProfile();
47 
48     /**
49      * @brief A destructor used to create an <b>A2dpSnkProfile</b> instance.
50      *
51      * @since 6.0
52      */
53     ~A2dpSnkProfile();
54 };
55 }  // namespace bluetooth
56 }  // namespace OHOS
57 #endif  // A2DP_SINK_H