00001
00002
00003
00004
00005 #ifndef xmog_sharedlib_inc
00006 #define xmog_sharedlib_inc
00007
00008
00009 #include "xmog.h"
00010
00011
00017 class XMOG_DECLSPEC xmog_sharedlib
00018 {
00019 public:
00020
00027 static xmog_sharedlib * resolve( const char * file );
00028
00033 static xmog_sharedlib * getRuntimeLib();
00034
00038 static xmog_sharedlib * getCallingProcess();
00039
00043 ~xmog_sharedlib();
00044
00050 void * resolveSymbol( const char * symbol );
00051
00052 private:
00053
00054 xmog_sharedlib( const char * file, void * handle );
00055
00056 char * file_;
00057
00058 void * handle_;
00059
00060 };
00061
00062
00063 #endif