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 extern "C" { 17 FFI_EXPORT int FfiOHOSCreateWindow = 0; 18 FFI_EXPORT int FfiOHOSSetWindowLayoutMode = 0; 19 FFI_EXPORT int FfiOHOSMinimizeAll = 0; 20 FFI_EXPORT int FfiOHOSGetLastWindow = 0; 21 FFI_EXPORT int FfiOHOSWindowHide = 0; 22 FFI_EXPORT int FfiOHOSWindowHideWithAnimation = 0; 23 FFI_EXPORT int FfiOHOSWindowShowWindow = 0; 24 FFI_EXPORT int FfiOHOSWindowShowWithAnimation = 0; 25 FFI_EXPORT int FfiOHOSWindowDestroyWindow = 0; 26 FFI_EXPORT int FfiOHOSWindowMoveWindowTo = 0; 27 FFI_EXPORT int FfiOHOSWindowResize = 0; 28 FFI_EXPORT int FfiOHOSWindowSetWindowMode = 0; 29 FFI_EXPORT int FfiOHOSWindowGetWindowProperties = 0; 30 FFI_EXPORT int FfiOHOSWindowSetWindowLayoutFullScreen = 0; 31 FFI_EXPORT int FfiOHOSSetWindowBackgroundColor = 0; 32 FFI_EXPORT int FfiOHOSWindowSetWindowBrightness = 0; 33 FFI_EXPORT int FfiOHOSWindowSetWindowFocusable = 0; 34 FFI_EXPORT int FfiOHOSWindowSetWindowKeepScreenOn = 0; 35 FFI_EXPORT int FfiOHOSWindowSetWindowPrivacyMode = 0; 36 FFI_EXPORT int FfiOHOSWindowSetWindowTouchable = 0; 37 FFI_EXPORT int FfiOHOSWindowSetForbidSplitMove = 0; 38 FFI_EXPORT int FfiOHOSWindowIsWindowSupportWideGamut = 0; 39 FFI_EXPORT int FfiOHOSWindowIsWindowShowing = 0; 40 FFI_EXPORT int FFiOHOSWindowFindWindow = 0; 41 FFI_EXPORT int FFiOHOSWindowToggleShownStateForAllAppWindows = 0; 42 FFI_EXPORT int FFiOHOSWindowSetGestureNavigationEnabled = 0; 43 FFI_EXPORT int FFiOHOSWindowSetWaterMarkImage = 0; 44 FFI_EXPORT int FFiOHOSWindowSetBackdropBlurStyle = 0; 45 FFI_EXPORT int FFiOHOSWindowSetPreferredOrientation = 0; 46 FFI_EXPORT int FFiOHOSWindowGetWindowAvoidArea = 0; 47 FFI_EXPORT int FFiOHOSWindowSetShadowRadius = 0; 48 FFI_EXPORT int FFiOHOSWindowSetShadowColor = 0; 49 FFI_EXPORT int FFiOHOSWindowSetShadowOffsetX = 0; 50 FFI_EXPORT int FFiOHOSWindowSetShadowOffsetY = 0; 51 FFI_EXPORT int FFiOHOSWindowSetBackdropBlur = 0; 52 FFI_EXPORT int FFiOHOSWindowSetBlur = 0; 53 FFI_EXPORT int FFiOHOSWindowSetWaterMarkFlag = 0; 54 FFI_EXPORT int FFiOHOSWindowSetAspectRatio = 0; 55 FFI_EXPORT int FFiOHOSWindowResetAspectRatio = 0; 56 FFI_EXPORT int FFiOHOSWindowMinimize = 0; 57 FFI_EXPORT int FFiOHOSWindowSetWindowColorSpace = 0; 58 FFI_EXPORT int FFiOHOSWindowSetCornerRadius = 0; 59 FFI_EXPORT int FFiOHOSWindowSetResizeByDragEnabled = 0; 60 FFI_EXPORT int FFiOHOSWindowRaiseToAppTop = 0; 61 FFI_EXPORT int FFiOHOSWindowSetSnapshotSkip = 0; 62 FFI_EXPORT int FFiOHOSWindowSetWakeUpScreen = 0; 63 FFI_EXPORT int FFiOHOSWindowSetRaiseByClickEnabled = 0; 64 FFI_EXPORT int FFiOHOSWindowGetWindowColorSpace = 0; 65 FFI_EXPORT int FFiOHOSWindowRaiseAboveTarget = 0; 66 FFI_EXPORT int FFiOHOSWindowTranslate = 0; 67 FFI_EXPORT int FFiOHOSWindowRotate = 0; 68 FFI_EXPORT int FFiOHOSWindowScale = 0; 69 FFI_EXPORT int FFiOHOSWindowOpacity = 0; 70 FFI_EXPORT int FFiOHOSWindowSnapshot = 0; 71 FFI_EXPORT int FFiOHOSWindowSetWindowSystemBarEnable = 0; 72 FFI_EXPORT int FFiOHOSWindowSetWindowSystemBarProperties = 0; 73 FFI_EXPORT int FFiOHOSMinimize = 0; 74 FFI_EXPORT int FFiOHOSSetWindowColorSpace = 0; 75 FFI_EXPORT int FfiOHOSOnKeyboardHeightChange = 0; 76 FFI_EXPORT int FfiOHOSOffKeyboardHeightChange = 0; 77 FFI_EXPORT int FfiOHOSBindWindowStage = 0; 78 FFI_EXPORT int FfiOHOSGetMainWindow = 0; 79 FFI_EXPORT int FfiOHOSCreateSubWindow = 0; 80 FFI_EXPORT int FfiOHOSGetSubWindow = 0; 81 FFI_EXPORT int FfiOHOSLoadContent = 0; 82 FFI_EXPORT int FfiOHOSLoadContentByName = 0; 83 FFI_EXPORT int FfiOHOSDisableWindowDecor = 0; 84 FFI_EXPORT int FfiOHOSSetShowOnLockScreen = 0; 85 FFI_EXPORT int FfiOHOSWindowMinimizeAll = 0; 86 FFI_EXPORT int FfiOHOSWindowSetWindowLayoutMode = 0; 87 } 88