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 "bridge/declarative_frontend/jsview/models/menu_item_model_impl.h"
17 
18 namespace OHOS::Ace::Framework {
Create(const RefPtr<NG::UINode> & customNode)19 void MenuItemModelImpl::Create(const RefPtr<NG::UINode>& customNode) {}
20 
Create(const MenuItemProperties & props)21 void MenuItemModelImpl::Create(const MenuItemProperties& props) {}
22 
SetSelected(bool isSelected)23 void MenuItemModelImpl::SetSelected(bool isSelected) {}
24 
SetSelectIcon(bool isShow)25 void MenuItemModelImpl::SetSelectIcon(bool isShow) {}
26 
SetSelectIconSymbol(std::function<void (WeakPtr<NG::FrameNode>)> && symbolApply)27 void MenuItemModelImpl::SetSelectIconSymbol(std::function<void(WeakPtr<NG::FrameNode>)>&& symbolApply) {}
28 
SetSelectIconSrc(const std::string & src)29 void MenuItemModelImpl::SetSelectIconSrc(const std::string& src) {}
30 
SetOnChange(std::function<void (bool)> && onChange)31 void MenuItemModelImpl::SetOnChange(std::function<void(bool)>&& onChange) {}
32 
SetFontSize(const Dimension & fontSize)33 void MenuItemModelImpl::SetFontSize(const Dimension& fontSize) {}
34 
SetFontWeight(FontWeight weight)35 void MenuItemModelImpl::SetFontWeight(FontWeight weight) {}
36 
SetFontStyle(Ace::FontStyle style)37 void MenuItemModelImpl::SetFontStyle(Ace::FontStyle style) {}
38 
SetFontColor(const std::optional<Color> & color)39 void MenuItemModelImpl::SetFontColor(const std::optional<Color>& color) {}
40 
SetFontFamily(const std::vector<std::string> & families)41 void MenuItemModelImpl::SetFontFamily(const std::vector<std::string> &families) {}
42 
SetLabelFontSize(const Dimension & fontSize)43 void MenuItemModelImpl::SetLabelFontSize(const Dimension& fontSize) {}
44 
SetLabelFontWeight(FontWeight weight)45 void MenuItemModelImpl::SetLabelFontWeight(FontWeight weight) {}
46 
SetLabelFontStyle(Ace::FontStyle style)47 void MenuItemModelImpl::SetLabelFontStyle(Ace::FontStyle style) {}
48 
SetLabelFontColor(const std::optional<Color> & color)49 void MenuItemModelImpl::SetLabelFontColor(const std::optional<Color>& color) {}
50 
SetLabelFontFamily(const std::vector<std::string> & families)51 void MenuItemModelImpl::SetLabelFontFamily(const std::vector<std::string> &families) {}
52 
SetSelectedChangeEvent(std::function<void (bool)> && selectedChangeEvent)53 void MenuItemModelImpl::SetSelectedChangeEvent(std::function<void(bool)>&& selectedChangeEvent) {}
54 } // namespace OHOS::Ace::Framework
55