Merge "Modify Wearable profile release version info" into tizen
[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 @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
34  */
35 typedef enum {
36         FEEDBACK_TYPE_NONE,                             /**< Feedback type none */
37         FEEDBACK_TYPE_SOUND,                            /**< Feedback type for sound */
38         FEEDBACK_TYPE_VIBRATION,                        /**< Feedback type for vibration */
39         FEEDBACK_TYPE_END,
40 } feedback_type_e;
41
42 /**
43  * @brief Enumerations of the system pre-defined patterns for feedback interface
44  * @details
45  * Each feedback pattern can have separate media files of each types.
46  * But Depending on vendor design, pattern may not have any type of file.
47  *
48  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
49  */
50 typedef enum {
51         FEEDBACK_PATTERN_NONE = -1,
52
53         FEEDBACK_PATTERN_TAP = 0,                                       /**< Feedback pattern when general touch */
54         FEEDBACK_PATTERN_SIP,                                           /**< Feedback pattern when touch text key */
55         FEEDBACK_PATTERN_KEY0 = 6,                                      /**< Feedback pattern when touch numeric 0 key */
56         FEEDBACK_PATTERN_KEY1,                                          /**< Feedback pattern when touch numeric 1 key */
57         FEEDBACK_PATTERN_KEY2,                                          /**< Feedback pattern when touch numeric 2 key */
58         FEEDBACK_PATTERN_KEY3,                                          /**< Feedback pattern when touch numeric 3 key */
59         FEEDBACK_PATTERN_KEY4,                                          /**< Feedback pattern when touch numeric 4 key */
60         FEEDBACK_PATTERN_KEY5,                                          /**< Feedback pattern when touch numeric 5 key */
61         FEEDBACK_PATTERN_KEY6,                                          /**< Feedback pattern when touch numeric 6 key */
62         FEEDBACK_PATTERN_KEY7,                                          /**< Feedback pattern when touch numeric 7 key */
63         FEEDBACK_PATTERN_KEY8,                                          /**< Feedback pattern when touch numeric 8 key */
64         FEEDBACK_PATTERN_KEY9,                                          /**< Feedback pattern when touch numeric 9 key */
65         FEEDBACK_PATTERN_KEY_STAR,                                      /**< Feedback pattern when touch star key */
66         FEEDBACK_PATTERN_KEY_SHARP,                                     /**< Feedback pattern when touch sharp key */
67         FEEDBACK_PATTERN_KEY_BACK,                                      /**< Feedback pattern when touch backspace key */
68         FEEDBACK_PATTERN_HOLD,                                          /**< Feedback pattern when touch hold */
69         FEEDBACK_PATTERN_HW_TAP = 21,                                   /**< Feedback pattern when press hardware key */
70         FEEDBACK_PATTERN_HW_HOLD,                                       /**< Feedback pattern when holding press hardware key */
71
72         FEEDBACK_PATTERN_MESSAGE,                                       /**< Feedback pattern when incoming a message */
73         FEEDBACK_PATTERN_EMAIL = 25,                                    /**< Feedback pattern when incoming an email */
74         FEEDBACK_PATTERN_WAKEUP = 27,                                   /**< Feedback pattern when alert wake up call */
75         FEEDBACK_PATTERN_SCHEDULE = 29,                                 /**< Feedback pattern when alert schedule alarm */
76         FEEDBACK_PATTERN_TIMER = 31,                                    /**< Feedback pattern when alert timer */
77         FEEDBACK_PATTERN_GENERAL = 33,                                  /**< Feedback pattern when alert general event */
78
79         FEEDBACK_PATTERN_POWERON = 36,                                  /**< Feedback pattern when power on */
80         FEEDBACK_PATTERN_POWEROFF,                                      /**< Feedback pattern when power off */
81         FEEDBACK_PATTERN_CHARGERCONN,                                   /**< Feedback pattern when connecting charger */
82         FEEDBACK_PATTERN_CHARGING_ERROR = 40,                           /**< Feedback pattern when occuring charging error */
83         FEEDBACK_PATTERN_FULLCHARGED = 42,                              /**< Feedback pattern when full charged */
84         FEEDBACK_PATTERN_LOWBATT = 44,                                  /**< Feedback pattern when low battery */
85         FEEDBACK_PATTERN_LOCK = 46,                                     /**< Feedback pattern when lock */
86         FEEDBACK_PATTERN_UNLOCK,                                        /**< Feedback pattern when unlock */
87         FEEDBACK_PATTERN_VIBRATION_ON = 55,                             /**< Feedback pattern when turn on vibration mode */
88         FEEDBACK_PATTERN_SILENT_OFF,                                    /**< Feedback pattern when turn off silent mode */
89         FEEDBACK_PATTERN_BT_CONNECTED,                                  /**< Feedback pattern when connecting with bluetooth */
90         FEEDBACK_PATTERN_BT_DISCONNECTED,                               /**< Feedback pattern when disconnecting with bluetooth */
91         FEEDBACK_PATTERN_LIST_REORDER = 62,                             /**< Feedback pattern when list reorder */
92         FEEDBACK_PATTERN_LIST_SLIDER,                                   /**< Feedback pattern when list slider sweep */
93         FEEDBACK_PATTERN_VOLUME_KEY,                                    /**< Feedback pattern when pressed volume key */
94
95         FEEDBACK_PATTERN_END,
96
97 } feedback_pattern_e;
98
99 /**
100  * @}
101  */
102
103 #ifdef __cplusplus
104 }
105 #endif
106
107 #endif //__FEEDBACK_IDS_H__