Loading include/utils/AssetManager.h +19 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,24 @@ #include <utils/ZipFileRO.h> #include <utils/threads.h> /* * Native-app access is via the opaque typedef struct AAssetManager in the C namespace. */ #ifdef __cplusplus extern "C" { #endif struct AAssetManager { }; #ifdef __cplusplus }; #endif /* * Now the proper C++ android-namespace definitions */ namespace android { class Asset; // fwd decl for things that include Asset.h first Loading @@ -48,7 +66,7 @@ struct ResTable_config; * The asset hierarchy may be examined like a filesystem, using * AssetDir objects to peruse a single directory. */ class AssetManager { class AssetManager : public AAssetManager { public: typedef enum CacheMode { CACHE_UNKNOWN = 0, Loading Loading
include/utils/AssetManager.h +19 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,24 @@ #include <utils/ZipFileRO.h> #include <utils/threads.h> /* * Native-app access is via the opaque typedef struct AAssetManager in the C namespace. */ #ifdef __cplusplus extern "C" { #endif struct AAssetManager { }; #ifdef __cplusplus }; #endif /* * Now the proper C++ android-namespace definitions */ namespace android { class Asset; // fwd decl for things that include Asset.h first Loading @@ -48,7 +66,7 @@ struct ResTable_config; * The asset hierarchy may be examined like a filesystem, using * AssetDir objects to peruse a single directory. */ class AssetManager { class AssetManager : public AAssetManager { public: typedef enum CacheMode { CACHE_UNKNOWN = 0, Loading