31 #include <boost/filesystem.hpp>
58 explicit WSharedLib( boost::filesystem::path lib );
99 template <
typename FuncType >
100 void fetchFunction(
const std::string& name, FuncType& func )
const;
120 template <
typename PtrType >
121 void fetchVariable(
const std::string& name, PtrType& variable )
const;
185 template <
typename FuncType >
188 func =
reinterpret_cast< FuncType
>(
findFunction( name ) );
191 template <
typename PtrType >
194 variable =
static_cast< PtrType
>(
findVariable( name ) );
197 #endif // WSHAREDLIB_H