2021-09-10 00:57:43 +00:00
|
|
|
#pragma once
|
2022-04-14 11:28:59 +00:00
|
|
|
|
|
|
|
#include <storage/storage.h>
|
2021-09-10 00:57:43 +00:00
|
|
|
|
|
|
|
#define ARCHIVE_FAV_PATH "/any/favorites.txt"
|
|
|
|
#define ARCHIVE_FAV_TEMP_PATH "/any/favorites.tmp"
|
|
|
|
|
2021-09-21 10:56:33 +00:00
|
|
|
uint16_t archive_favorites_count(void* context);
|
2021-09-10 00:57:43 +00:00
|
|
|
bool archive_favorites_read(void* context);
|
2021-09-21 10:56:33 +00:00
|
|
|
bool archive_favorites_delete(const char* format, ...);
|
|
|
|
bool archive_is_favorite(const char* format, ...);
|
2022-02-10 13:01:49 +00:00
|
|
|
bool archive_favorites_rename(const char* src, const char* dst);
|
2021-10-12 13:09:34 +00:00
|
|
|
void archive_add_to_favorites(const char* file_path);
|
|
|
|
void archive_favorites_save(void* context);
|