boilerplate_startscreen.h 626 B

12345678910111213141516171819
  1. #pragma once
  2. #include <gui/view.h>
  3. #include "../helpers/boilerplate_custom_event.h"
  4. typedef struct BoilerplateStartscreen BoilerplateStartscreen;
  5. typedef void (*BoilerplateStartscreenCallback)(BoilerplateCustomEvent event, void* context);
  6. void boilerplate_startscreen_set_callback(
  7. BoilerplateStartscreen* boilerplate_startscreen,
  8. BoilerplateStartscreenCallback callback,
  9. void* context);
  10. View* boilerplate_startscreen_get_view(BoilerplateStartscreen* boilerplate_static);
  11. BoilerplateStartscreen* boilerplate_startscreen_alloc();
  12. void boilerplate_startscreen_free(BoilerplateStartscreen* boilerplate_static);