app_scene.h 246 B

1234567891011
  1. #pragma once
  2. #include <stdint.h>
  3. #include <stdbool.h>
  4. typedef struct {
  5. uint32_t id;
  6. const void (*on_enter)(void* context);
  7. const bool (*on_event)(void* context, uint32_t event);
  8. const void (*on_exit)(void* context);
  9. } AppScene;