|
@@ -2,7 +2,7 @@
|
|
|
Open Asset Import Library (assimp)
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
-Copyright (c) 2006-2020, assimp team
|
|
|
+Copyright (c) 2006-2021, assimp team
|
|
|
All rights reserved.
|
|
|
|
|
|
Redistribution and use of this software in source and binary forms,
|
|
@@ -54,38 +54,32 @@ namespace Assimp {
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
/** Android extension to DefaultIOSystem using the standard C file functions */
|
|
|
-class ASSIMP_API AndroidJNIIOSystem : public DefaultIOSystem
|
|
|
-{
|
|
|
+class ASSIMP_API AndroidJNIIOSystem : public DefaultIOSystem {
|
|
|
public:
|
|
|
-
|
|
|
/** Initialize android activity data */
|
|
|
std::string mApkWorkspacePath;
|
|
|
AAssetManager* mApkAssetManager;
|
|
|
|
|
|
- /** Constructor. */
|
|
|
+ /// Constructor.
|
|
|
AndroidJNIIOSystem(ANativeActivity* activity);
|
|
|
|
|
|
+ /// Class constructor with past and asset manager.
|
|
|
AndroidJNIIOSystem(const char *internalPath, AAssetManager assetManager);
|
|
|
|
|
|
- /** Destructor. */
|
|
|
+ /// Destructor.
|
|
|
~AndroidJNIIOSystem();
|
|
|
|
|
|
- // -------------------------------------------------------------------
|
|
|
- /** Tests for the existence of a file at the given path. */
|
|
|
+ /// Tests for the existence of a file at the given path.
|
|
|
bool Exists( const char* pFile) const;
|
|
|
|
|
|
- // -------------------------------------------------------------------
|
|
|
- /** Opens a file at the given path, with given mode */
|
|
|
+ /// Opens a file at the given path, with given mode
|
|
|
IOStream* Open( const char* strFile, const char* strMode);
|
|
|
|
|
|
- // ------------------------------------------------------------------------------------------------
|
|
|
- // Inits Android extractor
|
|
|
+ /// Inits Android extractor
|
|
|
void AndroidActivityInit(ANativeActivity* activity);
|
|
|
|
|
|
- // ------------------------------------------------------------------------------------------------
|
|
|
- // Extracts android asset
|
|
|
+ /// Extracts android asset
|
|
|
bool AndroidExtractAsset(std::string name);
|
|
|
-
|
|
|
};
|
|
|
|
|
|
} //!ns Assimp
|