summaryrefslogtreecommitdiffstats
path: root/src/stkagent.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-07-29 20:08:09 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-07-30 17:19:55 -0500
commit0292fe12c0883dc10558cc20fdf06febbe2c9f6b (patch)
treefadef798499227205fc989fc67c5368de7279df0 /src/stkagent.h
parent9684c4a36289a6075dceb5172f5344a69747e021 (diff)
downloadofono-0292fe12c0883dc10558cc20fdf06febbe2c9f6b.tar.bz2
stkagent: Get rid of nasty g_timeout tricks
Diffstat (limited to 'src/stkagent.h')
-rw-r--r--src/stkagent.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stkagent.h b/src/stkagent.h
index 1afeec36..9f5a8204 100644
--- a/src/stkagent.h
+++ b/src/stkagent.h
@@ -52,7 +52,7 @@ typedef void (*stk_agent_selection_cb)(enum stk_agent_result result,
uint8_t id, void *user_data);
struct stk_agent *stk_agent_new(const char *path, const char *sender,
- ofono_bool_t is_default);
+ ofono_bool_t remove_on_terminate);
void stk_agent_free(struct stk_agent *agent);
@@ -66,12 +66,12 @@ ofono_bool_t stk_agent_matches(struct stk_agent *agent,
void stk_agent_request_cancel(struct stk_agent *agent);
-void stk_agent_request_selection(struct stk_agent *agent,
+int stk_agent_request_selection(struct stk_agent *agent,
const struct stk_menu *menu,
stk_agent_selection_cb cb,
void *user_data, int timeout);
-void stk_agent_display_text(struct stk_agent *agent, const char *text,
+int stk_agent_display_text(struct stk_agent *agent, const char *text,
uint8_t icon_id, ofono_bool_t urgent,
ofono_bool_t ack, stk_agent_generic_cb cb,
void *user_data, int timeout);