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 MSDP_IPC_INTERFACE_CODE_H 17 #define MSDP_IPC_INTERFACE_CODE_H 18 19 /* SAID:2902 */ 20 namespace OHOS { 21 namespace Msdp { 22 enum class DeviceInterfaceCode { 23 DEVICESTATUS_SUBSCRIBE = 0, 24 DEVICESTATUS_UNSUBSCRIBE, 25 DEVICESTATUS_GETCACHE, 26 REGISTER_COORDINATION_MONITOR = 10, 27 UNREGISTER_COORDINATION_MONITOR, 28 PREPARE_COORDINATION, 29 UNPREPARE_COORDINATION, 30 START_COORDINATION, 31 STOP_COORDINATION, 32 GET_COORDINATION_STATE, 33 UPDATED_DRAG_STYLE = 20, 34 START_DRAG, 35 STOP_DRAG, 36 GET_DRAG_TARGET_PID, 37 GET_DRAG_TARGET_UDKEY, 38 REGISTER_DRAG_MONITOR, 39 UNREGISTER_DRAG_MONITOR, 40 SET_DRAG_WINDOW_VISIBLE, 41 GET_SHADOW_OFFSET, 42 UPDATE_SHADOW_PIC, 43 ALLOC_SOCKET_FD = 40 44 }; 45 } // namespace Msdp 46 } // namespace OHOS 47 #endif // MSDP_IPC_INTERFACE_CODE_H 48