tizen 2.0 merge
[framework/appfw/vconf-internal-keys.git] / include / vconf-internal-voicerecorder-keys.h
1 /*
2  * vconf-internal-keys
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Hakjoo Ko <hakjoo.ko@samsung.com>
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21
22 #ifndef __VCONF_INTERNAL_VOICERECORDER_KEYS_H__
23 #define __VCONF_INTERNAL_VOICERECORDER_KEYS_H__
24
25 /**
26  * This file defines keys and values.
27  *
28  * @file        vconf-internal-voicerecorder-keys.h
29  * @defgroup    vconf_internal_voicerecorder_key Definitions of internal shared Keys for VoiceRecorder
30  * @ingroup     vconf_internal_key
31  * @author      quddls.oh@samsung.com
32  * @version     0.1
33  * @brief       This file has the definitions of shared keys for VoiceRecorder \n
34  */
35
36 /* ========================== VoiceRecorder Keys & Values ============================ */
37 /**
38  * @addtogroup vconf_internal_voicerecorder_key
39  * @{
40  * @brief VoiceRecorder Keys & Values\n
41  *        Maintainer : quddls.oh@samsung.com
42  */
43
44 /**
45  * @brief The status of voice recorder
46  *
47  * VCONFKEY_VOICERECORDER_OFF : application is not launched
48  * VCONFKEY_VOICERECORDER_READY : ready to record
49  * VCONFKEY_VOICERECORDER_RECORDING : recording
50  * VCONFKEY_VOICERECORDER_PAUSED : paused
51 */
52
53 #define VCONFKEY_VOICERECORDER_STATE "memory/voicerecorder/state"
54 enum {
55         /** application is not launched */
56         VCONFKEY_VOICERECORDER_OFF = 0x00,
57         /** ready to record */
58         VCONFKEY_VOICERECORDER_READY,
59         /** recording */
60         VCONFKEY_VOICERECORDER_RECORDING,
61         /** paused */
62         VCONFKEY_VOICERECORDER_PAUSED,
63         VCONFKEY_VOICERECORDER_STATE_MAX
64 };
65
66
67 /**
68  * @brief Current recording file name
69  *
70  * type : string
71 */
72 #define VCONFKEY_VOICERECORDER_RECORDING_NAME   "memory/voicerecorder/clip_name"
73
74 /**
75  * @brief current elpased time
76  *
77  * type : int (sec)
78 */
79 #define VCONFKEY_VOICERECORDER_RECORDING_TIME   "memory/voicerecorder/recording_time"
80
81 /**
82  * @brief current file size
83  *
84  * type : int (KB)
85 */
86 #define VCONFKEY_VOICERECORDER_RECORDING_SIZE   "memory/voicerecorder/recording_size"
87
88
89 /**
90  * @}
91  */
92
93 #endif  /* __VCONF_INTERNAL_VOICERECORDER_KEYS_H__ */
94