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 "babelconfig.h"
00023
00024 #include <string>
00025 #include <vector>
00026
00027
00028
00029 #ifndef OBCONV
00030 #define OBCONV
00031 #endif
00032 #ifndef OBDLL
00033 #define OBDLL
00034 #endif
00035
00044 class OBCONV DLHandler
00045 {
00046 public:
00047
00052 static bool getConvDirectory(std::string& convPath);
00053
00063 static int findFiles (std::vector <std::string>& file_list,
00064 const std::string& pattern, const std::string& path);
00065
00072 static int findFiles (std::vector<std::string>& file_list,const std::string &filename);
00073
00075 static bool openLib(const std::string& lib_name);
00076
00077
00078 static const char* getFormatFilePattern();
00079
00080 static char getSeparator();
00081 static void Sleep(int n);
00082
00083 };
00084
00085 #endif
00086