1 #ifndef _ACTION_STACK_H
2 #define _ACTION_STACK_H
3
4
5
6
7
8
9
10 typedef int (*action_func)(void);
11
12
13 typedef unsigned long AS_ID;
14
15 int action_stack_AS_SHOOT(void);
16
17 AS_ID action_stack_create(action_func proc_func);
18
19 long action_top(int n);
20 void action_push(long p);
21 void action_push_delay(long msec);
22 void action_push_press(long key);
23 void action_push_release(long key);
24 void action_push_click(long key);
25 void action_push_shoot(int retry);
26 long action_pop_func(int nParam);
27 void action_push_func(action_func f);
28
29 void action_wait_for_click(int timeout);
30
31 void action_stack_process_all();
32 int action_stack_is_finished(AS_ID comp_id);
33 void action_stack_kill(AS_ID comp_id);
34
35 #endif
36