09c6a835cf5cb9882739624da0845950d916f25e
[platform/core/system/libsvi.git] / include / feedback-ids-internal.h
1 /*
2  * libfeedback
3  * Copyright (c) 2016 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_INTERNAL_H__
20 #define __FEEDBACK_IDS_INTERNAL_H__
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /**
27  * @file feedback-ids-internal.h
28  * @brief This file contains the feedback API
29  */
30
31 /**
32  * @addtogroup CAPI_FEEDBACK_MODULE
33  * @{
34  */
35
36 /**
37  * @brief Enumerations of the system pre-defined patterns for feedback interface
38  * @details
39  * Each feedback pattern can have separate media files of each types.
40  * But Depending on vendor design, pattern may not have any type of file.
41  *
42  */
43 typedef enum {
44         FEEDBACK_PATTERN_INTERNAL_NONE = FEEDBACK_PATTERN_NONE,
45
46         FEEDBACK_PATTERN_MESSAGE_ON_CALL        = 24,    /**< feedback pattern when incoming a message on call */
47         FEEDBACK_PATTERN_EMAIL_ON_CALL          = 26,    /**< feedback pattern when incoming an email on call */
48         FEEDBACK_PATTERN_WAKEUP_ON_CALL         = 28,    /**< feedback pattern when alert wake up call on call */
49         FEEDBACK_PATTERN_SCHEDULE_ON_CALL       = 30,    /**< feedback pattern when alert schedule alarm on call */
50         FEEDBACK_PATTERN_TIMER_ON_CALL          = 32,    /**< feedback pattern when alert timer on call */
51         FEEDBACK_PATTERN_GENERAL_ON_CALL        = 34,    /**< feedback pattern when alert general event on call */
52
53         FEEDBACK_PATTERN_CHARGERCONN_ON_CALL    = 39,    /**< feedback pattern when connecting charger on call */
54         FEEDBACK_PATTERN_CHARGING_ERROR_ON_CALL = 41,    /**< feedback pattern when occuring charging error on call */
55         FEEDBACK_PATTERN_FULLCHARGED_ON_CALL    = 43,    /**< feedback pattern when full charged on call */
56         FEEDBACK_PATTERN_LOWBATT_ON_CALL        = 45,    /**< feedback pattern when low battery on call */
57
58         FEEDBACK_PATTERN_OUTGOING_CALL          = 53,    /**< feedback pattern when connected outgoing call */
59         FEEDBACK_PATTERN_SCREEN_CAPTURE         = 61,    /**< feedback pattern when screen capture */
60
61         FEEDBACK_PATTERN_SEND_SOS_MESSAGE       = 69,    /**< feedback pattern when sending SOS message */
62
63         FEEDBACK_PATTERN_SYSTEM_SHORT           = 107,
64         FEEDBACK_PATTERN_SYSTEM_ERROR,
65         FEEDBACK_PATTERN_SYSTEM_LONG            = 112,
66         FEEDBACK_PATTERN_SYSTEM_MID,
67         FEEDBACK_PATTERN_END_EFFECT             = 117,
68         FEEDBACK_PATTERN_RINGER                 = 129,   /**< Feedback pattern for incoming call */
69         FEEDBACK_PATTERN_GENERAL_STRONG_BUZZ    = 135,
70         FEEDBACK_PATTERN_NOTIFICATION           = 146,   /**< Feedback pattern for notification */
71
72         FEEDBACK_PATTERN_RESERVED_END           = 10000,
73         // Add new pattern ids for mobile and wearable devices here
74         // ...
75         FEEDBACK_PATTERN_MOBILE_END             = 20000,
76         // Add new pattern ids for tv devices here
77         // ...
78         FEEDBACK_PATTERN_TV_END                 = 30000,
79         // Add new pattern ids for ivi devices here
80         // ...
81         FEEDBACK_PATTERN_INTERNAL_END           = 90000,
82 } feedback_pattern_internal_e;
83
84 /**
85  * @}
86  */
87
88 #ifdef __cplusplus
89 }
90 #endif
91
92 #endif //__FEEDBACK_IDS_INTERNAL_H__