flipbip39_startscreen.h 592 B

12345678910111213141516171819
  1. #pragma once
  2. #include <gui/view.h>
  3. #include "../helpers/flipbip39_custom_event.h"
  4. typedef struct FlipBip39Startscreen FlipBip39Startscreen;
  5. typedef void (*FlipBip39StartscreenCallback)(FlipBip39CustomEvent event, void* context);
  6. void flipbip39_startscreen_set_callback(
  7. FlipBip39Startscreen* flipbip39_startscreen,
  8. FlipBip39StartscreenCallback callback,
  9. void* context);
  10. View* flipbip39_startscreen_get_view(FlipBip39Startscreen* flipbip39_static);
  11. FlipBip39Startscreen* flipbip39_startscreen_alloc();
  12. void flipbip39_startscreen_free(FlipBip39Startscreen* flipbip39_static);