Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / bases / DynLibLoader.hxx
1 #ifndef __DYNLIBLOADER_HXX__
2 #define __DYNLIBLOADER_HXX__
3
4 #include <string>
5
6 // --- Interface is:
7
8 // class DynLibLoader
9 // {
10 // public:
11 //   DynLibLoader(const std::string& libNameWithoutExtension);
12 //   ~DynLibLoader();
13 //   bool isLibFileFindable() const;
14 //   int appendDirInSearchPath(const std::string& dirName);
15 //   int removeDirInSearchPath(const std::string& dirName);
16 //   void *getHandleOnSymbolWithName(const std::string& symbName);
17 //   static const char *getExtensionForDynLib();
18 // };
19
20
21 #if defined(YACS_PTHREAD)
22 #include "DynLibLoaderGNU.hxx"
23
24 namespace YACS
25 {
26   namespace BASES
27   {
28     typedef DynLibLoaderGNU DynLibLoader;
29   }
30 }
31
32 #else
33
34 #error
35
36 #endif
37
38 #endif