mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-29 04:09:58 -07:00
[FL-2627] Flipper applications: SDK, build and debug system (#1387)
This commit is contained in:
35
applications/services/gui/modules/loading.h
Normal file
35
applications/services/gui/modules/loading.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#pragma once
|
||||
#include <gui/view.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/** Loading anonymous structure */
|
||||
typedef struct Loading Loading;
|
||||
|
||||
/** Allocate and initialize
|
||||
*
|
||||
* This View used to show system is doing some processing
|
||||
*
|
||||
* @return Loading View instance
|
||||
*/
|
||||
Loading* loading_alloc();
|
||||
|
||||
/** Deinitialize and free Loading View
|
||||
*
|
||||
* @param instance Loading instance
|
||||
*/
|
||||
void loading_free(Loading* instance);
|
||||
|
||||
/** Get Loading view
|
||||
*
|
||||
* @param instance Loading instance
|
||||
*
|
||||
* @return View instance that can be used for embedding
|
||||
*/
|
||||
View* loading_get_view(Loading* instance);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user