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 #ifndef FOUNDATION_ACE_INTERFACE_INNERKITS_IMAGE_ANALYZER_DEFAULT_H
17 #define FOUNDATION_ACE_INTERFACE_INNERKITS_IMAGE_ANALYZER_DEFAULT_H
18 
19 #include "interfaces/inner_api/ace/ai/image_analyzer_interface.h"
20 
21 namespace OHOS::Ace {
22 class ACE_EXPORT ImageAnalyzerDefault final : public ImageAnalyzerInterface {
23 public:
ImageAnalyzerDefault()24     explicit ImageAnalyzerDefault() {}
25 
IsImageAnalyzerSupported()26     bool IsImageAnalyzerSupported() override
27     {
28         return false;
29     }
BuildNodeFunc(void * pixelMap,void * config,ImageAnalyzerInnerConfig * uiConfig,void ** overlayData)30     void BuildNodeFunc(void* pixelMap, void* config, ImageAnalyzerInnerConfig* uiConfig,
31         void** overlayData) override {}
UpdateImage(void ** overlayData,void * pixelMap,void * config,ImageAnalyzerInnerConfig * uiConfig)32     void UpdateImage(void** overlayData, void* pixelMap, void* config,
33         ImageAnalyzerInnerConfig* uiConfig) override {}
UpdateConfig(void ** overlayData,void * config)34     void UpdateConfig(void** overlayData, void* config) override {}
UpdateInnerConfig(void ** overlayData,ImageAnalyzerInnerConfig * config)35     void UpdateInnerConfig(void** overlayData, ImageAnalyzerInnerConfig* config) override {}
Release(void ** overlayData)36     void Release(void** overlayData) override {}
UpdatePressOverlay(void ** overlayData,ImageAnalyzerInnerConfig * config)37     void UpdatePressOverlay(void** overlayData, ImageAnalyzerInnerConfig* config) override {}
UpdateOverlayStatus(void ** overlayData,ImageAnalyzerInnerConfig * config)38     void UpdateOverlayStatus(void** overlayData, ImageAnalyzerInnerConfig* config) override {}
UpdateOverlayActiveStatus(void ** overlayData,bool status)39     void UpdateOverlayActiveStatus(void** overlayData, bool status) override {}
UpdateAIButtonConfig(void ** overlayData,AIButtonConfig * config)40     void UpdateAIButtonConfig(void** overlayData, AIButtonConfig* config) override {}
41 };
42 } // namespace OHOS::Ace
43 #endif // FOUNDATION_ACE_INTERFACE_INNERKITS_IMAGE_ANALYZER_DEFAULT_H
44