00001
00002
00003
00004
00005 #ifndef ActiveSharedLib_h
00006 #define ActiveSharedLib_h
00007
00008 #include "BaseSharedLib.h"
00009
00010 #if defined hpux || defined __hpux
00011 const char * const shLibExt = "sl";
00012 #endif
00013
00014 #ifdef _WIN32
00015 const char * const shLibExt = "dll";
00016 #endif
00017
00018 #if defined __sun || defined __osf__ || defined __linux
00019 const char * const shLibExt = "so";
00020 #endif
00021
00031 class ActiveSharedLib : public BaseSharedLib {
00032 public:
00034 ActiveSharedLib () {}
00036 void remove();
00042 int makeLib(const char *baseFileName, const char *gmakeFile, char *override);
00049 int compile (char *baseFileName, const char *gmakeFile, char *override);
00050 };
00051
00052 #endif
00053