mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 04:41:26 +04:00
* clang-format: AllowShortEnumsOnASingleLine: false * clang-format: InsertNewlineAtEOF: true * clang-format: Standard: c++20 * clang-format: AlignConsecutiveBitFields * clang-format: AlignConsecutiveMacros * clang-format: RemoveParentheses: ReturnStatement * clang-format: RemoveSemicolon: true * Restored RemoveParentheses: Leave, retained general changes for it * formatting: fixed logging TAGs * Formatting update for dev Co-authored-by: あく <alleteam@gmail.com>
15 lines
606 B
C
15 lines
606 B
C
#pragma once
|
|
|
|
#include <storage/storage.h>
|
|
|
|
#define ARCHIVE_FAV_PATH ANY_PATH("favorites.txt")
|
|
#define ARCHIVE_FAV_TEMP_PATH ANY_PATH("favorites.tmp")
|
|
|
|
uint16_t archive_favorites_count(void* context);
|
|
bool archive_favorites_read(void* context);
|
|
bool archive_favorites_delete(const char* format, ...) _ATTRIBUTE((__format__(__printf__, 1, 2)));
|
|
bool archive_is_favorite(const char* format, ...) _ATTRIBUTE((__format__(__printf__, 1, 2)));
|
|
bool archive_favorites_rename(const char* src, const char* dst);
|
|
void archive_add_to_favorites(const char* file_path);
|
|
void archive_favorites_save(void* context);
|