1 /*
2  * Copyright (c) 2023-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 #ifndef FOUNDATION_EVENT_CESFWK_INNERKITS_INCLUDE_COMMON_EVENT_SERVICE_IPC_INTERFACE_H
17 #define FOUNDATION_EVENT_CESFWK_INNERKITS_INCLUDE_COMMON_EVENT_SERVICE_IPC_INTERFACE_H
18 
19 /* SAID:3299 */
20 namespace OHOS {
21 namespace EventFwk {
22 enum class CommonEventInterfaceCode {
23     CES_PUBLISH_COMMON_EVENT = 0,
24     CES_PUBLISH_COMMON_EVENT2,
25     CES_SUBSCRIBE_COMMON_EVENT,
26     CES_UNSUBSCRIBE_COMMON_EVENT,
27     CES_GET_STICKY_COMMON_EVENT,
28     CES_FINISH_RECEIVER,
29     CES_FREEZE,
30     CES_UNFREEZE,
31     CES_UNFREEZE_ALL,
32     CES_REMOVE_STICKY_COMMON_EVENT,
33     CES_SET_STATIC_SUBSCRIBER_STATE,
34     CES_SET_STATIC_SUBSCRIBER_EVENTS_STATE,
35     CES_NOTIFY_COMMON_EVENT,
36     COMMAND_ON_RECEIVE_EVENT,
37     CES_SET_FREEZE_STATUS,
38     // ipc id 2001-3000 for tools
39     // ipc id for dumping Subscribe State (2001)
40     CES_DUMP_STATE = 2001,
41 };
42 }  // namespace EventFwk
43 }  // namespace OHOS
44 
45 #endif //FOUNDATION_EVENT_CESFWK_INNERKITS_INCLUDE_COMMON_EVENT_SERVICE_IPC_INTERFACE_H