• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_source.h
18  *
19  * @brief Declares the class of the a2dp source.
20  *
21  * @since 6
22  */
23 
24 #ifndef A2DP_SOURCE_H
25 #define A2DP_SOURCE_H
26 
27 #include "a2dp_profile.h"
28 
29 namespace bluetooth {
30 class A2dpSrcProfile : public A2dpProfile {
31 public:
32     /**
33      * @brief A function to get the instance.
34      *
35      * @since 6.0
36      */
37     static A2dpSrcProfile *GetInstance();
38 
39 private:
40     /**
41      * @brief A constructor used to create an <b>A2dpSrcProfile</b> instance.
42      *
43      * @since 6.0
44      */
45     A2dpSrcProfile();
46 
47     /**
48      * @brief A destructor used to create an <b>A2dpSrcProfile</b> instance.
49      *
50      * @since 6.0
51      */
52     ~A2dpSrcProfile();
53 };
54 }  // namespace bluetooth
55 #endif  // A2DP_SOURCE_H