00001 /* -*- C++ -*- */ 00002 00003 /* COPYRIGHT 00004 * 00005 * This file is part of the Visual Effects Engine - VEE 00006 * 00007 * Read the "VEE-LICENSE" file for the license. 00008 * 00009 * Authors & Copyright: 00010 * 00011 * Tommi Ilmonen, Tuukka Heikura, Marko Myllymaa and 00012 * Janne Kontkanen 2001-2004 00013 * 00014 * Additional copyrights: Tekes 2003-2004 00015 * 00016 * firstname.lastname@hut.fi 00017 * 00018 */ 00019 00020 #ifndef VEE_OBJECT_FACTORY_H 00021 #define VEE_OBJECT_FACTORY_H 00022 00023 class VEE_Object; 00024 00025 class VEE_ObjectFactory 00026 { 00027 public: 00028 00029 static VEE_Object * create(const char *type); 00030 00031 static void addFactory(const char *, VEE_Object *(*factory)()); 00032 00033 static void init(); 00034 }; 00035 00036 00037 #endif