diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-07-29 13:09:14 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-07-30 17:19:55 -0500 |
commit | 9e00eebe733bc374b5a74de4f5c1414a91005665 (patch) | |
tree | 10850d21c9dbb9ca70cf0ba3accdf4a365b7766d /src/stkagent.h | |
parent | c7b294717bfdf72d37a6f570525a882a1d4e1c9e (diff) | |
download | ofono-9e00eebe733bc374b5a74de4f5c1414a91005665.tar.gz |
stkagent: Reorder stkagent.h
Diffstat (limited to 'src/stkagent.h')
-rw-r--r-- | src/stkagent.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/stkagent.h b/src/stkagent.h index 1d3a7253..26328ea1 100644 --- a/src/stkagent.h +++ b/src/stkagent.h @@ -19,6 +19,17 @@ * */ +struct stk_agent; + +enum stk_agent_result { + STK_AGENT_RESULT_OK, + STK_AGENT_RESULT_BACK, + STK_AGENT_RESULT_TERMINATE, + STK_AGENT_RESULT_HELP, + STK_AGENT_RESULT_TIMEOUT, + STK_AGENT_RESULT_CANCEL, +}; + struct stk_menu_item { char *text; uint8_t icon_id; @@ -34,23 +45,12 @@ struct stk_menu { gboolean has_help; }; -enum stk_agent_result { - STK_AGENT_RESULT_OK, - STK_AGENT_RESULT_BACK, - STK_AGENT_RESULT_TERMINATE, - STK_AGENT_RESULT_HELP, - STK_AGENT_RESULT_TIMEOUT, - STK_AGENT_RESULT_CANCEL, -}; - typedef void (*stk_agent_generic_cb)(enum stk_agent_result result, void *user_data); typedef void (*stk_agent_selection_cb)(enum stk_agent_result result, uint8_t id, void *user_data); -struct stk_agent; - struct stk_agent *stk_agent_new(const char *path, const char *sender, ofono_bool_t is_default); |