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 #include "video_capture_range_adapter_impl.h"
17 
18 namespace OHOS::NWeb {
19 
GetMin()20 double VideoCaptureRangeAdapterImpl::GetMin()
21 {
22     return min_;
23 }
24 
GetMax()25 double VideoCaptureRangeAdapterImpl::GetMax()
26 {
27     return max_;
28 }
29 
GetStep()30 double VideoCaptureRangeAdapterImpl::GetStep()
31 {
32     return step_;
33 }
34 
GetCurrent()35 double VideoCaptureRangeAdapterImpl::GetCurrent()
36 {
37     return current_;
38 }
39 
SetMin(double min)40 void VideoCaptureRangeAdapterImpl::SetMin(double min)
41 {
42     min_ = min;
43 }
44 
SetMax(double max)45 void VideoCaptureRangeAdapterImpl::SetMax(double max)
46 {
47     max_ = max;
48 }
49 
SetStep(double step)50 void VideoCaptureRangeAdapterImpl::SetStep(double step)
51 {
52     step_ = step;
53 }
54 
SetCurrent(double current)55 void VideoCaptureRangeAdapterImpl::SetCurrent(double current)
56 {
57     current_ = current;
58 }
59 
60 } // namespace OHOS::NWeb
61