1 /*
2  * Copyright (C) 2024 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 "core/common/ai/ai_write_adapter.h"
17 
18 namespace OHOS::Ace {
IsSentenceBoundary(const wchar_t value)19 bool AIWriteAdapter::IsSentenceBoundary(const wchar_t value) { return false; }
GetSelectLengthOnlyText(const std::wstring & content)20 uint32_t AIWriteAdapter::GetSelectLengthOnlyText(const std::wstring& content) { return 0; }
CloseModalUIExtension()21 void AIWriteAdapter::CloseModalUIExtension() {}
ShowModalUIExtension(const AIWriteInfo & info,std::function<void (std::vector<uint8_t> &)> resultCallback)22 void AIWriteAdapter::ShowModalUIExtension(const AIWriteInfo& info,
23     std::function<void(std::vector<uint8_t>&)> resultCallback) {}
GetBufferParam(const std::string & key,const AAFwk::WantParams & wantParams)24 std::vector<uint8_t> GetBufferParam(const std::string& key, const AAFwk::WantParams& wantParams) { return {}; }
GetBoolParam(const std::string & key,const AAFwk::WantParams & wantParams)25 bool AIWriteAdapter::GetBoolParam(const std::string& key, const AAFwk::WantParams& wantParams) { return false; }
26 } // namespace OHOS::Ace