Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
E:/Programming/MyProject/K_Game_hg/GameEngine/include/resource/ResourceFactory.h
Go to the documentation of this file.
00001 // Copyright 2006-2011 by Kat'Oun
00002 
00003 #ifndef _RESOURCE_FACTORY_H_
00004 #define _RESOURCE_FACTORY_H_
00005 
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008 
00009 namespace resource
00010 {
00011 
00012 class Resource;
00013 class Serializer;
00014 
00015 class ENGINE_PUBLIC_EXPORT ResourceFactory
00016 {
00017 public:
00018 
00020         virtual Resource* createResource(const std::string& filename, Serializer* serializer) = 0;
00021 
00023         virtual void destroyResource(Resource* resource) = 0;
00024 };
00025 
00026 } // end namespace resource
00027 
00028 #endif

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:05 by Doxygen (1.7.4)