dynamic_library.h 288 B

12345678910111213141516
  1. #ifndef DYNAMIC_LIBRAY_H
  2. #define DYNAMIC_LIBRAY_H
  3. class DynamicLibrary
  4. {
  5. protected:
  6. void * handleLib;
  7. public:
  8. DynamicLibrary ();
  9. virtual ~ DynamicLibrary ();
  10. bool open (char const * libname);
  11. bool close ();
  12. void * dlsym (char const * sym_name);
  13. };
  14. #endif //DYNAMIC_LIBRAY_H