Browse Source

use correct type in forward declaration.

Signed-off-by: Kim Kulling <[email protected]>
Kim Kulling 10 years ago
parent
commit
d12868adc4
4 changed files with 17 additions and 17 deletions
  1. 10 10
      code/AssbinLoader.h
  2. 3 3
      code/BaseImporter.h
  3. 1 1
      code/FBXConverter.h
  4. 3 3
      code/XFileExporter.h

+ 10 - 10
code/AssbinLoader.h

@@ -48,16 +48,16 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "BaseImporter.h"
 #include "../include/assimp/types.h"
 
-class aiMesh;
-class aiNode;
-class aiBone;
-class aiMaterial;
-class aiMaterialProperty;
-class aiNodeAnim;
-class aiAnimation;
-class aiTexture;
-class aiLight;
-class aiCamera;
+struct aiMesh;
+struct aiNode;
+struct aiBone;
+struct aiMaterial;
+struct aiMaterialProperty;
+struct aiNodeAnim;
+struct aiAnimation;
+struct aiTexture;
+struct aiLight;
+struct aiCamera;
 
 #ifndef ASSIMP_BUILD_NO_ASSBIN_IMPORTER
 

+ 3 - 3
code/BaseImporter.h

@@ -49,17 +49,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <vector>
 #include <set>
 #include "../include/assimp/types.h"
-#include "../include/assimp/ProgressHandler.hpp"
+#include "../include/assimp/ProgressHandler.hpp"
 
 struct aiScene;
 
 namespace Assimp	{
-
+
 class Importer;
 class IOSystem;
 class BaseProcess;
 class SharedPostProcessInfo;
-class IOStream;
+class IOStream;
 
 
 // utility to do char4 to uint32 in a portable manner

+ 1 - 1
code/FBXConverter.h

@@ -44,7 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef INCLUDED_AI_FBX_CONVERTER_H
 #define INCLUDED_AI_FBX_CONVERTER_H
 
-class aiScene;
+struct aiScene;
 
 namespace Assimp {
 namespace FBX {

+ 3 - 3
code/XFileExporter.h

@@ -56,9 +56,9 @@ struct aiNode;
 struct aiMesh;
 struct aiString;
 
-namespace Assimp
-{
-struct IOSystem;
+namespace Assimp {
+
+class IOSystem;
 
 
 /// Helper class to export a given scene to a X-file.