Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef OB_DLHANDLER_H
00020 #define OB_DLHANDLER_H
00021
00022 #include <openbabel/babelconfig.h>
00023
00024 #include <string>
00025 #include <vector>
00026
00027
00028
00029 #ifndef OBERROR
00030 #define OBERROR
00031 #endif
00032 #ifndef OBDLL
00033 #define OBDLL
00034 #endif
00035
00046 class OBERROR DLHandler
00047 {
00048 public:
00049
00067 static bool getConvDirectory(std::string& convPath);
00068
00080 static int findFiles (std::vector <std::string>& file_list,
00081 const std::string& pattern, const std::string& path);
00082
00089 static int findFiles (std::vector<std::string>& file_list,const std::string &filename);
00090
00092 static bool openLib(const std::string& lib_name);
00093
00095 static const char* getFormatFilePattern();
00096
00098 static char getSeparator();
00099
00101 static void Sleep(int n);
00102
00103 };
00104
00105 #endif
00106