diff --git a/applications/services/desktop/helpers/slideshow.c b/applications/services/desktop/helpers/slideshow.c index a8e132779..8434d394f 100644 --- a/applications/services/desktop/helpers/slideshow.c +++ b/applications/services/desktop/helpers/slideshow.c @@ -3,18 +3,11 @@ #include #include #include -#include #include #define SLIDESHOW_MAGIC 0x72676468 #define SLIDESHOW_MAX_SUPPORTED_VERSION 1 -struct Slideshow { - Icon icon; - uint32_t current_frame; - bool loaded; -}; - #pragma pack(push, 1) typedef struct { diff --git a/applications/services/desktop/helpers/slideshow.h b/applications/services/desktop/helpers/slideshow.h index 9083e0dcf..3d52f5e10 100644 --- a/applications/services/desktop/helpers/slideshow.h +++ b/applications/services/desktop/helpers/slideshow.h @@ -1,8 +1,13 @@ #pragma once #include +#include -typedef struct Slideshow Slideshow; +typedef struct { + Icon icon; + uint32_t current_frame; + bool loaded; +} Slideshow; Slideshow* slideshow_alloc();