* Archive app: skip empty app folders, file menu in favorites tab, looped tab switching * refactoring * cleanup * better filepath trim * fix excessive view updates, various small optimizations * better list_offset calculation, favorites vargs) * revert poor fix Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			478 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			478 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| #include "file-worker.h"
 | |
| 
 | |
| #define ARCHIVE_FAV_PATH "/any/favorites.txt"
 | |
| #define ARCHIVE_FAV_TEMP_PATH "/any/favorites.tmp"
 | |
| 
 | |
| uint16_t archive_favorites_count(void* context);
 | |
| bool archive_favorites_read(void* context);
 | |
| bool archive_favorites_delete(const char* format, ...);
 | |
| bool archive_is_favorite(const char* format, ...);
 | |
| bool archive_favorites_rename(const char* file_path, const char* src, const char* dst);
 | |
| void archive_add_to_favorites(const char* file_path); |