mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2025-01-09 03:08:47 +00:00
acc39a4bc0
* Api Symbols: replace asserts with checks * Api Symbols: replace asserts with checks part 2 * Update no args function signatures with void, to help compiler to track incorrect usage * More unavoidable void * Update PVS config and code to make it happy * Format sources * nfc: fix checks * dead code cleanup & include fixes Co-authored-by: gornekich <n.gorbadey@gmail.com> Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: hedger <hedger@nanode.su>
41 lines
795 B
C
41 lines
795 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(void);
|
|
|
|
/** 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
|