mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-30 06:33:07 +00:00
21ac37a6f6
* [Fl-2152] New PIN Lock, part 1 * Fix errors & leaks, renaming * Add support to f6 * Fix error, remove duplicate code * Fix drawing corners of Lock Popup * FuriHal: insomnia if usb connected * Applications: cleanup timers use Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
20 lines
541 B
C
20 lines
541 B
C
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
|
|
#include "desktop_events.h"
|
|
|
|
typedef struct DesktopFirstStartView DesktopFirstStartView;
|
|
|
|
typedef void (*DesktopFirstStartViewCallback)(DesktopEvent event, void* context);
|
|
|
|
DesktopFirstStartView* desktop_first_start_alloc();
|
|
|
|
void desktop_first_start_free(DesktopFirstStartView* main_view);
|
|
|
|
View* desktop_first_start_get_view(DesktopFirstStartView* main_view);
|
|
|
|
void desktop_first_start_set_callback(
|
|
DesktopFirstStartView* main_view,
|
|
DesktopFirstStartViewCallback callback,
|
|
void* context);
|