Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_InputSourceProvider Class Reference

#include <inputsource_provider.h>

Inheritance diagram for CL_InputSourceProvider:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~CL_InputSourceProvider ()
virtual CL_InputSourceopen_source (const char *handle)=0
 param: filename - Name of the datafile to be used.retval: The datafile input provider created.

virtual CL_InputSourceProvider* clone ()=0
 param: handle - handle/index/filename/identier to the input source requested.retval: The opened input source.


Static Public Methods

CL_InputSourceProvider* create_file_provider (const char *path)
CL_InputSourceProvider* create_datafile_provider (const char *filename)
 param: path - Path where the files are located.retval: The file input provider created.


Constructor & Destructor Documentation

CL_InputSourceProvider::~CL_InputSourceProvider ( ) [inline, virtual]
 

Definition at line 28 of file inputsource_provider.h.


Member Function Documentation

CL_InputSourceProvider * CL_InputSourceProvider::clone ( ) [pure virtual]
 

param: handle - handle/index/filename/identier to the input source requested.retval: The opened input source.

Reimplemented in CL_InputSourceProvider_File, CL_InputSourceProvider_Datafile, and CL_InputSourceProvider_Memory.

Referenced by INPUT_BUF_SIZE().

CL_InputSourceProvider* CL_InputSourceProvider::create_datafile_provider ( const char * filename ) [static]
 

param: path - Path where the files are located.retval: The file input provider created.

CL_InputSourceProvider* CL_InputSourceProvider::create_file_provider ( const char * path ) [static]
 

Referenced by CL_VorbisSoundProvider::CL_VorbisSoundProvider(), and INPUT_BUF_SIZE().

CL_InputSource * CL_InputSourceProvider::open_source ( const char * handle ) [pure virtual]
 

param: filename - Name of the datafile to be used.retval: The datafile input provider created.

Reimplemented in CL_InputSourceProvider_File, CL_InputSourceProvider_Datafile, and CL_InputSourceProvider_Memory.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:04 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001