cash2ecash

cash2ecash: cash acceptor that issues digital cash (experimental)
Log | Files | Refs | Submodules | README | LICENSE

global.hpp (460B)


      1 #ifndef GLOBAL_H
      2 #define GLOBAL_H
      3 
      4 enum event_e {
      5   EVENT_INITIALIZE,
      6   EVENT_BUTTON_START,
      7   EVENT_BUTTON_ABORT,
      8   EVENT_BUTTON_FINISH_CASHIN,
      9   EVENT_WAKEUP,
     10   EVENT_SLEEP,
     11   EVENT_TIMEOUT,
     12   EVENT_IDENTIFICATION_SUCCESS,
     13   EVENT_BANK_TOKEN_DONE,
     14   EVENT_BANK_WITHDRAWAL_DONE,
     15   EVENT_BANK_W_STATUS_SELECTED,
     16   EVENT_BANK_W_STATUS_PENDING,
     17   EVENT_BANK_W_CONFIRMATION_DONE,
     18   ENUM_EVENT_END
     19 };
     20 #define NUMBER_OF_EVENTS 13
     21 
     22 void event(event_e event);
     23 
     24 #endif