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