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>
21 lines
541 B
C
21 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);
|