1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/*
* Copyright 2012 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.tizenopensource.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __PH_DIALER_UTIL_H__
#define __PH_DIALER_UTIL_H__
#include <stdio.h>
void ph_dialer_util_launch_call(ph_dialer_data *dial_d);
int ph_dialer_util_get_pure_numstr_with_plus(ph_dialer_data *dial_d, char *dest);
int ph_dialer_util_get_pure_numstr(ph_dialer_data *dial_d, char *dest);
int ph_dialer_util_get_numstr_from_node(ph_dialer_data *dial_d, char *dest);
int ph_dialer_util_del_all_number(ph_dialer_data *dial_d);
int ph_dialer_util_append_node_from_numstr(ph_dialer_data *dial_d, char *string);
int ph_dialer_util_append_node_from_numstr_with_strip(ph_dialer_data *dial_d, char *string);
int ph_dialer_util_remove_node_at_cursor(ph_dialer_data *dial_d);
void ph_dialer_util_insert_number_at_cursor(ph_dialer_data *dial_d, char num);
char ph_dialer_util_get_number_at_cursor(ph_dialer_data *dial_d);
int ph_dialer_util_get_cursor_pos(ph_dialer_data *dial_d);
InputNumber *ph_dialer_util_get_node_by_index(ph_dialer_data *dial_d, int index);
void ph_dialer_util_strip_from_number_node(ph_dialer_data *dial_d);
int ph_dialer_util_is_dash(char ch);
void ph_dialer_util_add_dashes(ph_dialer_data *dial_d, DashMode kMode);
void ph_dialer_util_entry_clear(ph_dialer_data *dial_d);
void ph_dialer_util_popup_response_cb(void *data, Evas_Object *obj, void *event_info);
void ph_dialer_util_setup_run_mode(ph_dialer_data *dial_d);
#endif //__PH_DIALER_UTIL_H__
|