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

outputsource_provider.h

Go to the documentation of this file.
00001 /*
00002         $Id: outputsource_provider.h,v 1.3 2001/03/04 17:54:47 mbn Exp $
00003 
00004         ------------------------------------------------------------------------
00005         ClanLib, the platform independent game SDK.
00006 
00007         This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE
00008         version 2. See COPYING for details.
00009 
00010         For a total list of contributers see CREDITS.
00011 
00012         ------------------------------------------------------------------------
00013 */
00014 
00016 
00017 #ifndef header_outputsource_provider
00018 #define header_outputsource_provider
00019 
00020 class CL_OutputSourceProvider
00021 //: Class that provides output targets.
00022 // CL_OutputSourceProvider is used to open output sources. This can be from a
00023 // datafile where the outputsource is an index - or it a directory where the
00024 // files are the outputsources.
00025 {
00026 public:
00027         virtual ~CL_OutputSourceProvider() { return; }
00028 /*
00029         Not implemented yet:
00030 
00031         static CL_OutputSourceProvider *create_file_provider(const char *path);
00032         //: Creates a file provider. Output sources opened are considered as files.
00035 */
00036         virtual CL_OutputSource *open_source(const char *handle)=0;
00037         //: Opens an outputsource using the passed handle.
00040 
00041         virtual CL_OutputSourceProvider *clone()=0;
00042         //: Returns a copy of the current provider.
00044 };
00045 
00046 #endif

Generated at Wed Apr 4 19:54:02 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001