root/core/action_stack.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _ACTION_STACK_H
   2 #define _ACTION_STACK_H
   3 
   4 // CHDK Script action handler
   5 
   6 // Note: used in modules and platform independent code. 
   7 // Do not add platform dependent stuff in here (#ifdef/#endif compile options or camera dependent values)
   8 
   9 // Action stack processing function
  10 typedef int (*action_func)(void);
  11 
  12 // Action stack ID
  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 // _ACTION_STACK_H
  36 

/* [<][>][^][v][top][bottom][index][help] */