00001 // Copyright (c) 2008-2010 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones 00002 // This file is part of the "cAudio Engine" 00003 // For conditions of distribution and use, see copyright notice in cAudio.h 00004 00005 #ifndef IDATASOURCEFACTORY_H 00006 #define IDATASOURCEFACTORY_H 00007 00008 #include "IDataSource.h" 00009 00010 namespace cAudio 00011 { 00013 class IDataSourceFactory 00014 { 00015 public: 00016 IDataSourceFactory() { } 00017 virtual ~IDataSourceFactory() { } 00018 00020 00024 virtual IDataSource* CreateDataSource(const char* filename, bool streamingRequested) = 0; 00025 protected: 00026 private: 00027 }; 00028 }; 00029 00030 #endif
1.6.2