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;
111 template <
typename PtrType >
112 void fetchVariable(
const std::string& name, PtrType& variable )
const;
166 template <
typename FuncType >
169 func =
reinterpret_cast< FuncType
>(
findFunction( name ) );
172 template <
typename PtrType >
175 variable =
static_cast< PtrType
>(
findVariable( name ) );
178 #endif // WSHAREDLIB_H