• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #define MLOG_TAG "MediaAssetEditData"
17 
18 #include "media_asset_edit_data.h"
19 
20 using namespace std;
21 
22 namespace OHOS::Media {
GetCompatibleFormat() const23 string MediaAssetEditData::GetCompatibleFormat() const
24 {
25     return compatibleFormat_;
26 }
27 
SetCompatibleFormat(const string & compatibleFormat)28 void MediaAssetEditData::SetCompatibleFormat(const string& compatibleFormat)
29 {
30     compatibleFormat_ = compatibleFormat;
31 }
32 
GetFormatVersion() const33 string MediaAssetEditData::GetFormatVersion() const
34 {
35     return formatVersion_;
36 }
37 
SetFormatVersion(const string & formatVersion)38 void MediaAssetEditData::SetFormatVersion(const string& formatVersion)
39 {
40     formatVersion_ = formatVersion;
41 }
42 
GetData() const43 string MediaAssetEditData::GetData() const
44 {
45     return data_;
46 }
47 
SetData(const string & data)48 void MediaAssetEditData::SetData(const string& data)
49 {
50     data_ = data;
51 }
52 } // namespace OHOS::Media