65609405f8b239ae1bd70b159002c618d1583536
[platform/core/system/libsvi.git] / include / feedback-ids.h
1 /*
2  * libfeedback
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18
19 #ifndef __FEEDBACK_IDS_H__
20 #define __FEEDBACK_IDS_H__
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /**
27  * @addtogroup CAPI_SYSTEM_FEEDBACK_MODULE
28  * @{
29  */
30
31 /**
32  * @brief Enumerations of the type for feedback interface
33  * @since_tizen 2.4
34  */
35 typedef enum
36 {
37         FEEDBACK_TYPE_NONE,                             /**< Feedback type none */
38         FEEDBACK_TYPE_SOUND,                            /**< Feedback type for sound */
39         FEEDBACK_TYPE_VIBRATION,                        /**< Feedback type for vibration */
40         FEEDBACK_TYPE_END,
41 } feedback_type_e;
42
43 /**
44  * @brief Enumerations of the system pre-defined patterns for feedback interface
45  * @details
46  * Each feedback pattern can have separate media files of each types.
47  * But Depending on vendor design, pattern may not have any type of file.
48  *
49  * @since_tizen 2.4
50  */
51 typedef enum
52 {
53         FEEDBACK_PATTERN_NONE = -1,
54
55         FEEDBACK_PATTERN_TAP = 0,                                       /**< Feedback pattern when general touch */
56         FEEDBACK_PATTERN_SIP,                                           /**< Feedback pattern when touch text key */
57         FEEDBACK_PATTERN_KEY0 = 6,                                      /**< Feedback pattern when touch numeric 0 key */
58         FEEDBACK_PATTERN_KEY1,                                          /**< Feedback pattern when touch numeric 1 key */
59         FEEDBACK_PATTERN_KEY2,                                          /**< Feedback pattern when touch numeric 2 key */
60         FEEDBACK_PATTERN_KEY3,                                          /**< Feedback pattern when touch numeric 3 key */
61         FEEDBACK_PATTERN_KEY4,                                          /**< Feedback pattern when touch numeric 4 key */
62         FEEDBACK_PATTERN_KEY5,                                          /**< Feedback pattern when touch numeric 5 key */
63         FEEDBACK_PATTERN_KEY6,                                          /**< Feedback pattern when touch numeric 6 key */
64         FEEDBACK_PATTERN_KEY7,                                          /**< Feedback pattern when touch numeric 7 key */
65         FEEDBACK_PATTERN_KEY8,                                          /**< Feedback pattern when touch numeric 8 key */
66         FEEDBACK_PATTERN_KEY9,                                          /**< Feedback pattern when touch numeric 9 key */
67         FEEDBACK_PATTERN_KEY_STAR,                                      /**< Feedback pattern when touch star key */
68         FEEDBACK_PATTERN_KEY_SHARP,                                     /**< Feedback pattern when touch sharp key */
69         FEEDBACK_PATTERN_KEY_BACK,                                      /**< Feedback pattern when touch backspace key */
70         FEEDBACK_PATTERN_HOLD,                                          /**< Feedback pattern when touch hold */
71         FEEDBACK_PATTERN_HW_TAP = 21,                                   /**< Feedback pattern when press hardware key */
72         FEEDBACK_PATTERN_HW_HOLD,                                       /**< Feedback pattern when holding press hardware key */
73
74         FEEDBACK_PATTERN_MESSAGE,                                       /**< Feedback pattern when incoming a message */
75         FEEDBACK_PATTERN_EMAIL = 25,                                    /**< Feedback pattern when incoming an email */
76         FEEDBACK_PATTERN_WAKEUP = 27,                                   /**< Feedback pattern when alert wake up call */
77         FEEDBACK_PATTERN_SCHEDULE = 29,                                 /**< Feedback pattern when alert schedule alarm */
78         FEEDBACK_PATTERN_TIMER = 31,                                    /**< Feedback pattern when alert timer */
79         FEEDBACK_PATTERN_GENERAL = 33,                                  /**< Feedback pattern when alert general event */
80
81         FEEDBACK_PATTERN_POWERON = 36,                                  /**< Feedback pattern when power on */
82         FEEDBACK_PATTERN_POWEROFF,                                      /**< Feedback pattern when power off */
83         FEEDBACK_PATTERN_CHARGERCONN,                                   /**< Feedback pattern when connecting charger */
84         FEEDBACK_PATTERN_CHARGING_ERROR = 40,                           /**< Feedback pattern when occuring charging error */
85         FEEDBACK_PATTERN_FULLCHARGED = 42,                              /**< Feedback pattern when full charged */
86         FEEDBACK_PATTERN_LOWBATT = 44,                                  /**< Feedback pattern when low battery */
87         FEEDBACK_PATTERN_LOCK = 46,                                     /**< Feedback pattern when lock */
88         FEEDBACK_PATTERN_UNLOCK,                                        /**< Feedback pattern when unlock */
89         FEEDBACK_PATTERN_VIBRATION_ON = 55,                             /**< Feedback pattern when turn on vibration mode */
90         FEEDBACK_PATTERN_SILENT_OFF,                                    /**< Feedback pattern when turn off silent mode */
91         FEEDBACK_PATTERN_BT_CONNECTED,                                  /**< Feedback pattern when connecting with bluetooth */
92         FEEDBACK_PATTERN_BT_DISCONNECTED,                               /**< Feedback pattern when disconnecting with bluetooth */
93         FEEDBACK_PATTERN_LIST_REORDER = 62,                             /**< Feedback pattern when list reorder */
94         FEEDBACK_PATTERN_LIST_SLIDER,                                   /**< Feedback pattern when list slider sweep */
95         FEEDBACK_PATTERN_VOLUME_KEY,                                    /**< Feedback pattern when pressed volume key */
96
97         FEEDBACK_PATTERN_END,
98
99 } feedback_pattern_e;
100
101 /**
102  * @}
103  */
104
105 #ifdef __cplusplus
106 }
107 #endif
108
109 #endif //__FEEDBACK_IDS_H__