38#ifndef BLOCXX_DL_SHAREDLIBRARY_HPP_INCLUDE_GUARD_
39#define BLOCXX_DL_SHAREDLIBRARY_HPP_INCLUDE_GUARD_
40#include "blocxx/BLOCXX_config.h"
41#if defined(BLOCXX_USE_DL)
46#if defined(BLOCXX_USE_FAKE_LIBS)
63 dlSharedLibrary(
void * libhandle,
const String& libName);
64 virtual ~dlSharedLibrary();
73 static void setCallDlclose(
bool callDlclose)
75 s_call_dlclose = callDlclose;
81 static bool isFakeLibrary(
const String& library_path);
93 virtual bool doGetFunctionPointer(
const String& functionName,
100 dlSharedLibrary(
const dlSharedLibrary&);
101 dlSharedLibrary& operator=(
const dlSharedLibrary&);
103#if defined(BLOCXX_USE_FAKE_LIBS)
105 Map<String, String> m_symbolMap;
107 void initializeSymbolMap();
110 static bool s_call_dlclose;
SharedLibrary is a base class for platform classes that implement the functionality of loading and qu...