add FolderItem for folder tree view

This commit is contained in:
scawful
2024-07-13 15:35:41 -04:00
parent 8440f4b44e
commit bf9bf6f414
3 changed files with 221 additions and 25 deletions

View File

@@ -212,6 +212,14 @@ uint16_t ldle16b(uint8_t const *const p_arr);
void stle16b(uint8_t *const p_arr, uint16_t const p_val);
struct FolderItem {
std::string name;
std::vector<FolderItem> subfolders;
std::vector<std::string> files;
};
typedef struct FolderItem FolderItem;
} // namespace core
} // namespace app
} // namespace yaze