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_ACE_NAPI_INTERFACES_KITS_NAPI_COMMON_H
17 #define FOUNDATION_ACE_NAPI_INTERFACES_KITS_NAPI_COMMON_H
18 
19 typedef enum {
20     napi_qos_background = 0,
21     napi_qos_utility = 1,
22     napi_qos_default = 2,
23     napi_qos_user_initiated = 3,
24 } napi_qos_t;
25 
26 typedef enum {
27     napi_event_mode_default = 0,
28     napi_event_mode_nowait = 1,
29 } napi_event_mode;
30 
31 typedef enum {
32     napi_priority_immediate = 0,
33     napi_priority_high = 1,
34     napi_priority_low = 2,
35     napi_priority_idle = 3,
36 } napi_task_priority;
37 
38 #endif /* FOUNDATION_ACE_NAPI_INTERFACES_KITS_NAPI_NATIVE_API_H */