hex_viewer_startscreen.h 618 B

12345678910111213141516171819
  1. #pragma once
  2. #include <gui/view.h>
  3. #include "../helpers/hex_viewer_custom_event.h"
  4. typedef struct BoilerplateStartscreen BoilerplateStartscreen;
  5. typedef void (*BoilerplateStartscreenCallback)(BoilerplateCustomEvent event, void* context);
  6. void hex_viewer_startscreen_set_callback(
  7. BoilerplateStartscreen* hex_viewer_startscreen,
  8. BoilerplateStartscreenCallback callback,
  9. void* context);
  10. View* hex_viewer_startscreen_get_view(BoilerplateStartscreen* hex_viewer_static);
  11. BoilerplateStartscreen* hex_viewer_startscreen_alloc();
  12. void hex_viewer_startscreen_free(BoilerplateStartscreen* hex_viewer_static);