webOS Userland
Native system APIs for webOS
states.h
1 /*
2  * Copyright (c) 2008-2018 LG Electronics, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9 
10 
11 
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17 
18  * SPDX-License-Identifier: Apache-2.0
19  */
20 
21 #ifndef NDL_DIRECTMEDIA2_STATE_H_
22 #define NDL_DIRECTMEDIA2_STATE_H_
23 
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
30  typedef enum {
31  NDL_ESP_STATUS_IDLE,
32  NDL_ESP_STATUS_LOADED,
33  NDL_ESP_STATUS_PLAYING,
34  NDL_ESP_STATUS_PAUSED,
35  NDL_ESP_STATUS_UNLOADED,
36  NDL_ESP_STATUS_FLUSHING,
37  NDL_ESP_STATUS_STEPPING,
38  NDL_ESP_STATUS_EOS,
39  NDL_ESP_STATUS_COUNT,
40  } NDL_ESP_STATUS;
41 
42 
43  typedef enum {
44  NDL_ESP_APP_STATE_INIT,
45  NDL_ESP_APP_STATE_FOREGROUND,
46  NDL_ESP_APP_STATE_BACKGROUND,
47  NDL_ESP_APP_STATE_RESERVED,
48  } NDL_ESP_APP_STATE;
49 
50 
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif // NDL_DIRECTMEDIA2_STATE_H_