1 /* 2 * Copyright (c) 2021 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 INTERFACES_INNERKITS_WM_WINDOW_MANAGER_COMMON_H 17 #define INTERFACES_INNERKITS_WM_WINDOW_MANAGER_COMMON_H 18 19 #include "../wmclient/wm_common.h" 20 21 namespace OHOS { 22 typedef enum { 23 WINDOW_LAYER_DEFINE_NORMAL_ID = 5000, 24 WINDOW_LAYER_DEFINE_STATUSBAR_ID = 6000, 25 WINDOW_LAYER_DEFINE_NAVIBAR_ID = 7000, 26 WINDOW_LAYER_DEFINE_ALARM_ID = 8000, 27 } LayerID; 28 29 constexpr int32_t LAYER_ID_APP_TYPE_BASE = 5000; 30 constexpr int32_t LAYER_ID_TYPE_OFSSET = 1000; 31 32 typedef enum { 33 SHOT_WINDOW = 0, 34 SHOT_SCREEN, 35 SHOT_INVALID 36 } ShotType; 37 38 struct MoveReq { 39 int32_t id; 40 int32_t pos_x; 41 int32_t pos_y; 42 }; 43 } // namespace OHOS 44 45 #endif // INTERFACES_INNERKITS_WM_WINDOW_MANAGER_COMMON_H 46