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     GET_COORDINATION_STATE_SYNC,
34     REGISTER_COOPERATE_MONITOR,
35     UNREGISTER_COOPERATE_MONITOR,
36     PREPARE_COOPERATE,
37     UNPREPARE_COOPERATE,
38     START_COOPERATE,
39     STOP_COOPERATE,
40     GET_COOPERATE_STATE,
41     UPDATED_DRAG_STYLE = 30,
42     START_DRAG,
43     STOP_DRAG,
44     GET_DRAG_TARGET_PID,
45     GET_DRAG_TARGET_UDKEY,
46     REGISTER_DRAG_MONITOR,
47     UNREGISTER_DRAG_MONITOR,
48     SET_DRAG_WINDOW_VISIBLE,
49     GET_SHADOW_OFFSET,
50     UPDATE_SHADOW_PIC,
51     GET_DRAG_DATA,
52     REGISTER_SUBSCRIPT_MONITOR,
53     UNREGISTER_SUBSCRIPT_MONITOR,
54     GET_DRAG_STATE,
55     GET_DRAG_SUMMARY,
56     ENTER_TEXT_EDITOR_AREA,
57     GET_DRAG_ACTION,
58     GET_DRAG_EXTRAINFO,
59     UPDATE_PREVIEW_STYLE,
60     UPDATE_PREVIEW_STYLE_WITH_ANIMATION,
61     ADD_PRIVILEGE,
62     ERASE_MOUSE_ICON,
63     ALLOC_SOCKET_FD = 60,
64     ADD_HOT_AREA_MONITOR = 70,
65     REMOVE_HOT_AREA_MONITOR,
66 };
67 } // namespace Msdp
68 } // namespace OHOS
69 #endif // MSDP_IPC_INTERFACE_CODE_H
70