~phablet-team/ofono/ofono-bug-updates

« back to all changes in this revision

Viewing changes to src/stkagent.h

  • Committer: Denis Kenzior
  • Author(s): Lucas De Marchi
  • Date: 2011-03-18 23:31:14 UTC
  • Revision ID: git-v1:888e07863b24026413bac8f449de377c879e1044
message: add cancelled state

Based on patch from Yang Gu <gyagp0@gmail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 *
3
3
 *  oFono - Open Source Telephony
4
4
 *
5
 
 *  Copyright (C) 2008-2011  Intel Corporation. All rights reserved.
 
5
 *  Copyright (C) 2008-2010  Intel Corporation. All rights reserved.
6
6
 *
7
7
 *  This program is free software; you can redistribute it and/or modify
8
8
 *  it under the terms of the GNU General Public License version 2 as
60
60
typedef void (*stk_agent_tone_cb)(enum stk_agent_result result,
61
61
                                                void *user_data);
62
62
 
63
 
typedef void (*stk_agent_display_action_cb)(enum stk_agent_result result,
64
 
                                                void *user_data);
65
 
 
66
63
struct stk_agent *stk_agent_new(const char *path, const char *sender,
67
64
                                        ofono_bool_t remove_on_terminate);
68
65
 
102
99
                                stk_agent_string_cb cb, void *user_data,
103
100
                                ofono_destroy_func destroy, int timeout);
104
101
 
105
 
int stk_agent_request_quick_digit(struct stk_agent *agent, const char *text,
106
 
                                        const struct stk_icon_id *icon,
107
 
                                        stk_agent_string_cb cb, void *user_data,
108
 
                                        ofono_destroy_func destroy,
109
 
                                        int timeout);
110
 
 
111
102
int stk_agent_request_key(struct stk_agent *agent, const char *text,
112
103
                                const struct stk_icon_id *icon,
113
104
                                ofono_bool_t unicode_charset,
156
147
                                        void *user_data,
157
148
                                        ofono_destroy_func destroy,
158
149
                                        int timeout);
159
 
 
160
 
int stk_agent_display_action(struct stk_agent *agent, const char *text,
161
 
                                        const struct stk_icon_id *icon,
162
 
                                        stk_agent_display_action_cb cb,
163
 
                                        void *user_data,
164
 
                                        ofono_destroy_func destroy);
165
 
 
166
 
int stk_agent_confirm_open_channel(struct stk_agent *agent, const char *text,
167
 
                                        const struct stk_icon_id *icon,
168
 
                                        stk_agent_confirmation_cb cb,
169
 
                                        void *user_data,
170
 
                                        ofono_destroy_func destroy,
171
 
                                        int timeout);