diff options
Diffstat (limited to 'src/app.h')
-rw-r--r-- | src/app.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,6 +3,7 @@ | |||
3 | /* Application core: event loop, base event processing, audio synth. */ | 3 | /* Application core: event loop, base event processing, audio synth. */ |
4 | 4 | ||
5 | #include <the_Foundation/string.h> | 5 | #include <the_Foundation/string.h> |
6 | #include <the_Foundation/time.h> | ||
6 | 7 | ||
7 | iDeclareType(Window) | 8 | iDeclareType(Window) |
8 | 9 | ||
@@ -20,11 +21,12 @@ const iString *execPath_App (void); | |||
20 | 21 | ||
21 | int run_App (int argc, char **argv); | 22 | int run_App (int argc, char **argv); |
22 | void processEvents_App (enum iAppEventMode mode); | 23 | void processEvents_App (enum iAppEventMode mode); |
24 | iBool handleCommand_App (const char *cmd); | ||
23 | void refresh_App (void); | 25 | void refresh_App (void); |
24 | 26 | ||
27 | iTime urlVisitTime_App (const iString *url); | ||
25 | iAny * findWidget_App (const char *id); | 28 | iAny * findWidget_App (const char *id); |
26 | void addTicker_App (void (*ticker)(iAny *), iAny *context); | 29 | void addTicker_App (void (*ticker)(iAny *), iAny *context); |
27 | |||
28 | void postRefresh_App (void); | 30 | void postRefresh_App (void); |
29 | void postCommand_App (const char *command); | 31 | void postCommand_App (const char *command); |
30 | void postCommandf_App (const char *command, ...); | 32 | void postCommandf_App (const char *command, ...); |
@@ -32,5 +34,3 @@ void postCommandf_App (const char *command, ...); | |||
32 | iLocalDef void postCommandString_App(const iString *command) { | 34 | iLocalDef void postCommandString_App(const iString *command) { |
33 | postCommand_App(cstr_String(command)); | 35 | postCommand_App(cstr_String(command)); |
34 | } | 36 | } |
35 | |||
36 | iBool handleCommand_App (const char *cmd); | ||