Make TIZEN 2.0
[apps/home/call.git] / call-engine / include / voice-call-device.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.tizenopensource.org/license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #ifndef _VOICE_CALL_DEVICE_H_
19 #define _VOICE_CALL_DEVICE_H_
20
21 #include "voice-call-core.h"
22 /**
23  * This function initialize earjack event.
24  *
25  * @return              Returns TRUE on success or FALSE on failure
26  * @param[in]           pcall_core                      Handle to voicecall core                
27  */
28 gboolean _voicecall_dvc_earjack_init(call_vc_core_state_t *pcall_core);
29
30 /**
31  * This function gets the earjack status 
32  *
33  * @return              void
34  * @param[in]           pcall_core              Handle to voicecall core                
35  */
36 void _voicecall_dvc_get_earjack_status(call_vc_core_state_t *pcall_core);
37
38 /**
39  * This function gets the earjack is connected or not
40  *
41  * @return              void
42  * @param[in]           pcall_core              Handle to voicecall core                
43  */
44 gboolean _voicecall_dvc_get_earjack_connected(void);
45
46 /**
47  * This function control the lcd status.
48  *
49  * @return      void
50  * @param[in]   state   one of voicecall_lcd_control_t members.
51  */
52 void _voicecall_dvc_control_lcd_state(voicecall_lcd_control_t state);
53
54 #endif