Hide Android asset manager state from asset header

This commit is contained in:
2026-06-04 19:09:39 +02:00
parent e6831fcb28
commit b2334e65c9
6 changed files with 30 additions and 3 deletions

View File

@@ -9,9 +9,15 @@
#endif
#ifdef __ANDROID__
#include <android/asset_manager.h>
#include <dirent.h>
AAssetManager* Asset::m_am;
bool android_create_dir(const std::string& path);
void Asset::set_android_asset_manager(AAssetManager* asset_manager)
{
m_am = asset_manager;
}
#endif
bool Asset::delete_file(const std::string& path)