00001 //---------------------------------------------------------------------------- 00004 // 00005 // (C) 2003-2006 Celartem Technology Inc. All rights reserved. 00006 //---------------------------------------------------------------------------- 00007 00008 #ifndef _cel_dynload_h_ 00009 #define _cel_dynload_h_ 00010 00011 #include "cel_types.h" 00012 #include "cel_referable.h" 00013 #include "cel_string.h" 00014 00015 namespace Celartem 00016 { 00022 class ModuleDynamicLoader : public Referable 00023 { 00024 public: 00033 static AutoPtr<ModuleDynamicLoader> create(const String& inModuleName); 00034 00042 virtual void* getSymbolAddress(const String& inSymbolName) = 0; 00043 00044 virtual ~ModuleDynamicLoader() {} 00045 }; 00046 } 00047 00048 #endif // _cel_dynload_h_