Ajout version Release/x64 avec les libraries x64 et tuning de la version Debug
This commit is contained in:
		
							
								
								
									
										41
									
								
								SQCSim2021/external/irrKlang-64bit-1.6.0/include/ik_IFileFactory.h
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								SQCSim2021/external/irrKlang-64bit-1.6.0/include/ik_IFileFactory.h
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| // Copyright (C) 2002-2018 Nikolaus Gebhardt | ||||
| // This file is part of the "irrKlang" library. | ||||
| // For conditions of distribution and use, see copyright notice in irrKlang.h | ||||
|  | ||||
| #ifndef __I_IRRKLANG_FILE_FACTORY_H_INCLUDED__ | ||||
| #define __I_IRRKLANG_FILE_FACTORY_H_INCLUDED__ | ||||
|  | ||||
| #include "ik_IRefCounted.h" | ||||
|  | ||||
| namespace irrklang | ||||
| { | ||||
| 	class IFileReader; | ||||
|  | ||||
| 	//! Interface to overwrite file access in irrKlang. | ||||
| 	/** Derive your own class from IFileFactory, overwrite the createFileReader() | ||||
| 		method and return your own implemented IFileReader to overwrite file access of irrKlang. | ||||
| 		Use ISoundEngine::addFileFactory() to let irrKlang know about your class. | ||||
| 		Example code can be found in the tutorial 04.OverrideFileAccess. | ||||
| 	 */ | ||||
| 	class IFileFactory : public virtual IRefCounted | ||||
| 	{ | ||||
| 	public: | ||||
|  | ||||
| 		virtual ~IFileFactory() {}; | ||||
|  | ||||
| 		//! Opens a file for read access. | ||||
| 		/** Derive your own class from IFileFactory, overwrite this | ||||
| 		method and return your own implemented IFileReader to overwrite file access of irrKlang. | ||||
| 		Use ISoundEngine::addFileFactory() to let irrKlang know about your class. | ||||
| 		Example code can be found in the tutorial 04.OverrideFileAccess. | ||||
| 		\param filename Name of file to open. | ||||
| 		\return Returns a pointer to the created file interface. | ||||
| 		The returned pointer should be dropped when no longer needed. | ||||
| 		See IRefCounted::drop() for more information. Returns 0 if file cannot be opened. */ | ||||
| 		virtual IFileReader* createFileReader(const ik_c8* filename) = 0;		 | ||||
| 	}; | ||||
|  | ||||
| } // end namespace irrklang | ||||
|  | ||||
| #endif | ||||
|  | ||||
		Reference in New Issue
	
	Block a user