mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-26 14:51:52 +03: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>
24 lines
649 B
C
24 lines
649 B
C
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
|
|
#include "desktop_events.h"
|
|
#include "../helpers/slideshow_filename.h"
|
|
|
|
#define SLIDESHOW_FS_PATH INT_PATH(SLIDESHOW_FILE_NAME)
|
|
|
|
typedef struct DesktopSlideshowView DesktopSlideshowView;
|
|
|
|
typedef void (*DesktopSlideshowViewCallback)(DesktopEvent event, void* context);
|
|
|
|
DesktopSlideshowView* desktop_view_slideshow_alloc(void);
|
|
|
|
void desktop_view_slideshow_free(DesktopSlideshowView* main_view);
|
|
|
|
View* desktop_view_slideshow_get_view(DesktopSlideshowView* main_view);
|
|
|
|
void desktop_view_slideshow_set_callback(
|
|
DesktopSlideshowView* main_view,
|
|
DesktopSlideshowViewCallback callback,
|
|
void* context);
|