• 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 "adapter/ohos/osal/want_wrap_ohos.h"
17 
18 namespace OHOS::Ace {
ConvertToNativeValue(const OHOS::AAFwk::Want & want,NativeEngine * engine)19 napi_value WantWrap::ConvertToNativeValue(const OHOS::AAFwk::Want& want, NativeEngine* engine)
20 {
21     napi_value result = nullptr;
22     return result;
23 }
24 
CreateWantWrap(napi_env env,napi_value value)25 RefPtr<WantWrap> WantWrap::CreateWantWrap(napi_env env, napi_value value)
26 {
27     return nullptr;
28 }
29 
CreateWantWrap(const std::string & bundleName,const std::string & abilityName)30 RefPtr<WantWrap> WantWrap::CreateWantWrap(const std::string& bundleName, const std::string& abilityName)
31 {
32     return nullptr;
33 }
34 
WantWrapOhos(napi_env env,napi_value value)35 WantWrapOhos::WantWrapOhos(napi_env env, napi_value value)
36 {
37 }
38 
WantWrapOhos(const std::string & bundleName,const std::string & abilityName)39 WantWrapOhos::WantWrapOhos(const std::string& bundleName, const std::string& abilityName)
40 {
41 }
42 
SetWantParamsFromWantWrap(void * want)43 void WantWrapOhos::SetWantParamsFromWantWrap(void* want)
44 {
45 }
46 
ToString() const47 std::string WantWrapOhos::ToString() const
48 {
49     return std::string();
50 }
51 } // namespace OHOS::Ace
52