async_cb.h 284 B

123456789101112131415161718
  1. #ifndef BB_STD_ASYNC_CB_H
  2. #define BB_STD_ASYNC_CB_H
  3. #include <bbmonkey.h>
  4. #include "async.h"
  5. namespace bbAsync{
  6. int createAsyncCallback( bbFunction<void()> func,bool oneshot );
  7. void destroyAsyncCallback( int callback );
  8. void invokeAsyncCallback( int callback );
  9. }
  10. #endif