upload tizen1.0 source
[framework/system/sync-agent.git] / framework / include / agent-framework / Device / EXT_DCI_Common.h
1 /*
2  * sync-agent-framework
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: JuHak Park <juhaki.park@samsung.com>,
7  *          JuneHyuk Lee <junhyuk7.lee@samsung.com>,
8  *          SunBong Ha <sunbong.ha@samsung.com>
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  */
23
24
25
26
27 /*
28  * For any sort of issue you concern as to this software,
29  * you may use following point of contact.
30  * All resources contributed on this software
31  * are orinigally written by S-Core Inc., a member of Samsung Group.
32  *
33  * Seokgil Kang <seokgil.kang@samsung.com>
34  */
35
36 #ifndef DICI_COMMON_H_
37 #define DICI_COMMON_H_
38
39 #include "EXT_DCI_Errors.h"
40
41 /**
42  * @file EXT_DCI_Common.h
43  * @brief Defines enumerations for device execution
44  */
45
46 /**
47  * @brief Enumerations for state of power manager
48  */
49 typedef enum {
50         LCD_NORMAL = 0,
51         LCD_DIM,
52         LCD_OFF,
53         SUSPEND,
54         POWER_OFF,
55         SETALL
56 } PM_State;
57
58 /**
59  * @brief Enumerations for lock state of power manager
60  */
61 typedef enum {
62         GOTO_STATE_NOW = 0,
63         STAY_CUR_STATE
64 } PM_Lock_State_Flag;
65
66 /**
67  * @brief Enumerations for unlock state of power manager
68  */
69 typedef enum {
70         SLEEP_MARGIN = 0,
71         RESET_TIMER,
72         KEEP_TIMER
73 } PM_Unlock_State_Flag;
74
75 #endif /* DICI_COMMON_H_ */