RioEngine  0.1
My first attempt to create a 3D WYSIWYG Game Engine
ik_IFileFactory.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2014 Nikolaus Gebhardt
2 // This file is part of the "irrKlang" library.
3 // For conditions of distribution and use, see copyright notice in irrKlang.h
4 
5 #ifndef __I_IRRKLANG_FILE_FACTORY_H_INCLUDED__
6 #define __I_IRRKLANG_FILE_FACTORY_H_INCLUDED__
7 
8 #include "ik_IRefCounted.h"
9 
10 namespace irrklang
11 {
12  class IFileReader;
13 
15 
20  class IFileFactory : public virtual IRefCounted
21  {
22  public:
23 
24  virtual ~IFileFactory() {};
25 
27 
35  virtual IFileReader* createFileReader(const ik_c8* filename) = 0;
36  };
37 
38 } // end namespace irrklang
39 
40 #endif
41 
virtual IFileReader * createFileReader(const ik_c8 *filename)=0
Opens a file for read access.
Base class of most objects of the irrKlang.
Interface providing read acess to a file.
char ik_c8
8 bit character variable.
Everything in the irrKlang Sound Engine can be found in this namespace.
Interface to overwrite file access in irrKlang.