empty_screen.h 653 B

1234567891011121314151617181920212223242526272829
  1. #pragma once
  2. #include <gui/view.h>
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /* Empty screen anonymous structure */
  7. typedef struct EmptyScreen EmptyScreen;
  8. /* Allocate and initialize empty screen
  9. * This empty screen used to ask simple questions like Yes/
  10. */
  11. EmptyScreen* empty_screen_alloc();
  12. /* Deinitialize and free empty screen
  13. * @param empty_screen - Empty screen instance
  14. */
  15. void empty_screen_free(EmptyScreen* empty_screen);
  16. /* Get empty screen view
  17. * @param empty_screen - Empty screen instance
  18. * @return View instance that can be used for embedding
  19. */
  20. View* empty_screen_get_view(EmptyScreen* empty_screen);
  21. #ifdef __cplusplus
  22. }
  23. #endif