2021-09-10 00:57:43 +00:00
|
|
|
#pragma once
|
|
|
|
#include "file-worker.h"
|
|
|
|
|
|
|
|
#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, ...);
|
2021-09-10 00:57:43 +00:00
|
|
|
bool archive_favorites_rename(const char* file_path, const char* src, const char* dst);
|
2021-09-21 10:56:33 +00:00
|
|
|
void archive_add_to_favorites(const char* file_path);
|