mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-24 19:53:08 +00:00
4d6b170769
* Fixing compiler warnings with -Wextra * More warnings suppression, WIP * Even more warning fixes * Added new lines at end of text files. * Padding fix * Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline * Fixes for Secplus v1 * -additional warnings * +-Wredundant-decls fixes * FuriHal: print stack overflow task name in console * FuriHal: add missing include Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
41 lines
791 B
C
41 lines
791 B
C
/**
|
|
* @file empty_screen.h
|
|
* GUI: EmptyScreen view module API
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** Empty screen anonymous structure */
|
|
typedef struct EmptyScreen EmptyScreen;
|
|
|
|
/** Allocate and initialize empty screen
|
|
*
|
|
* This empty screen used to ask simple questions like Yes/
|
|
*
|
|
* @return EmptyScreen instance
|
|
*/
|
|
EmptyScreen* empty_screen_alloc();
|
|
|
|
/** Deinitialize and free empty screen
|
|
*
|
|
* @param empty_screen Empty screen instance
|
|
*/
|
|
void empty_screen_free(EmptyScreen* empty_screen);
|
|
|
|
/** Get empty screen view
|
|
*
|
|
* @param empty_screen Empty screen instance
|
|
*
|
|
* @return View instance that can be used for embedding
|
|
*/
|
|
View* empty_screen_get_view(EmptyScreen* empty_screen);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|