1 /*
2  * Copyright (C) 2023 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 #ifndef NATIVE_SCREEN_CAPTURE_MAGIC_H
17 #define NATIVE_SCREEN_CAPTURE_MAGIC_H
18 
19 #include <refbase.h>
20 #include "screen_capture.h"
21 #include "player.h"
22 
23 struct OH_AVScreenCapture : public OHOS::RefBase {
24     OH_AVScreenCapture() = default;
25     virtual ~OH_AVScreenCapture() = default;
26 };
27 
28 struct OH_AVScreenCapture_ContentFilter : public OHOS::RefBase {
29     OH_AVScreenCapture_ContentFilter() = default;
30     virtual ~OH_AVScreenCapture_ContentFilter() = default;
31 };
32 
33 struct OH_AVPlayer : public OHOS::RefBase {
34     OH_AVPlayer() = default;
35     virtual ~OH_AVPlayer() = default;
36     OHOS::Media::PlayerStates state_ = OHOS::Media::PLAYER_IDLE;
37 };
38 
39 #endif // NATIVE_SCREEN_CAPTURE_MAGIC_H