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 FOUNDATION_RESOURCESCHEDULE_WORKSCHEDULER_IWORK_SCHED_SERVICE_IPC_INTERFACE_CODE_H
17 #define FOUNDATION_RESOURCESCHEDULE_WORKSCHEDULER_IWORK_SCHED_SERVICE_IPC_INTERFACE_CODE_H
18 
19 /* SAID: 1904 */
20 namespace OHOS {
21 namespace WorkScheduler {
22         enum class IWorkSchedServiceInterfaceCode {
23         START_WORK = 0,
24         STOP_WORK,
25         STOP_AND_CANCEL_WORK,
26         STOP_AND_CLEAR_WORKS,
27         IS_LAST_WORK_TIMEOUT,
28         OBTAIN_ALL_WORKS,
29         GET_WORK_STATUS,
30         GET_ALL_RUNNING_WORKS,
31         PAUSE_RUNNING_WORKS,
32         RESUME_PAUSED_WORKS,
33         SET_WORK_SCHEDULER_CONFIG,
34     };
35 } // namespace WorkScheduler
36 } // namespace OHOS
37 #endif // FOUNDATION_RESOURCESCHEDULE_WORKSCHEDULER_IWORK_SCHED_SERVICE_IPC_INTERFACE_CODE_H