summaryrefslogtreecommitdiffstats
path: root/src/stkagent.h
diff options
context:
space:
mode:
authorPhilippe Nunes <philippe.nunes@linux.intel.com>2011-03-30 12:27:43 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-03-30 12:07:49 -0500
commit70ae73d78baf88cdd54078d9c6e2626ad15a7cd2 (patch)
tree4a2b49af6a9372f9b3420697699912b9713e0dfb /src/stkagent.h
parent90cb42e3f9a539637427650954bbf203f2fa88be (diff)
downloadofono-70ae73d78baf88cdd54078d9c6e2626ad15a7cd2.tar.bz2
stkagent: Add stk_agent_display_action method
Diffstat (limited to 'src/stkagent.h')
-rw-r--r--src/stkagent.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stkagent.h b/src/stkagent.h
index 1f0c4fa1..fd608249 100644
--- a/src/stkagent.h
+++ b/src/stkagent.h
@@ -60,6 +60,9 @@ typedef void (*stk_agent_string_cb)(enum stk_agent_result result,
typedef void (*stk_agent_tone_cb)(enum stk_agent_result result,
void *user_data);
+typedef void (*stk_agent_user_termination_cb)(enum stk_agent_result result,
+ void *user_data);
+
struct stk_agent *stk_agent_new(const char *path, const char *sender,
ofono_bool_t remove_on_terminate);
@@ -147,3 +150,9 @@ int stk_agent_confirm_launch_browser(struct stk_agent *agent, const char *text,
void *user_data,
ofono_destroy_func destroy,
int timeout);
+
+int stk_agent_display_action(struct stk_agent *agent, const char *text,
+ const struct stk_icon_id *icon,
+ stk_agent_user_termination_cb cb,
+ void *user_data,
+ ofono_destroy_func destroy);