#pragma once #include static constexpr int PHOTO_MAX = 64; static constexpr int PHOTO_PATH_MAX = 96; enum PhotoKind : uint8_t { PHOTO_JPG = 0, PHOTO_PNG = 1, PHOTO_GIF = 2, }; struct PhotoEntry { char path[PHOTO_PATH_MAX]; PhotoKind kind; }; uint16_t photo_list_count(); const PhotoEntry *photo_list_get(uint16_t index); uint16_t photo_list_scan(); // returns count