Home | All Classes | Grouped Classes | Index | Search

CL_ResourceManager::CL_ResourceManager

Resource Manager constructor.

	CL_ResourceManager(
		const std::string& config_file, CL_InputSourceProvider* provider = NULL, bool read_directly_from_source=false, bool delete_inputsource_provider=false);

	CL_ResourceManager(
		const std::string& config_file, const bool is_datafile);

	CL_ResourceManager(
		const std::string& config_file, const bool is_datafile, CL_ResourceManager& additional_resources);

	CL_ResourceManager(
		const CL_ResourceManager& copy);

	CL_ResourceManager();

	CL_ResourceManager(
		class CL_ResourceManager_File* impl);

Parameters:

config_file
the name of the file in which the resources are defined
provider
the optional inputprovider in which, the resource file is stored
read_directly_from_source
if true, any resources are loaded directly from their source, meaning that any datafile-directive is ignored.
file_name
the name of the file to open
is_datafile
indicates if the file is a scriptfile or a datafile
additional_resources
additional resources to be included into the resource set.

See also:

CL_ResourceManager



Questions or comments, write to the ClanLib mailing list.