• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2022 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 "uicast_interface/uicast_context_impl.h"
17 
18 namespace OHOS::Ace {
IsEnable()19 bool UICastContextImpl::IsEnable()
20 {
21     return false;
22 }
23 
Init(const WeakPtr<PipelineContext> & context)24 void UICastContextImpl::Init(const WeakPtr<PipelineContext>& context) {}
25 
NeedsRebuild()26 bool UICastContextImpl::NeedsRebuild()
27 {
28     return false;
29 }
30 
OnFlushBuildStart()31 void UICastContextImpl::OnFlushBuildStart() {}
32 
OnFlushBuildFinish()33 void UICastContextImpl::OnFlushBuildFinish() {}
34 
CallRouterBackToPopPage()35 bool UICastContextImpl::CallRouterBackToPopPage()
36 {
37     return false;
38 }
39 
CheckEvent()40 void UICastContextImpl::CheckEvent() {}
41 
HandleRouterPageCall(const std::string & cmd,const std::string & url)42 void UICastContextImpl::HandleRouterPageCall(const std::string& cmd, const std::string& url) {}
43 
ShowToast(const std::string & message,int32_t duration,const std::string & bottom)44 void UICastContextImpl::ShowToast(const std::string& message, int32_t duration, const std::string& bottom) {}
45 
ShowDialog(const DialogProperties & dialogProperties)46 void UICastContextImpl::ShowDialog(const DialogProperties& dialogProperties) {}
47 } // namespace OHOS::Ace