00001 /* 00002 $Id: resourcetype.cpp,v 1.1.1.1 2000/04/09 12:18:01 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 00015 #include "Core/precomp.h" 00016 00017 #include <API/Core/Resources/resourcetype.h> 00018 00019 std::list<CL_ResourceType*> CL_ResourceType::resource_types; 00020 00021 CL_ResourceType::CL_ResourceType(std::string _type_id) 00022 { 00023 type = _type_id; 00024 resource_types.push_back(this); 00025 } 00026 00027 CL_ResourceType::~CL_ResourceType() 00028 { 00029 resource_types.remove(this); 00030 }
1.2.6 written by Dimitri van Heesch,
© 1997-2001