#include "xlib_xcb_loader.h"
#include <dlfcn.h>
#if !defined(LIBRARY_LOADER_XLIB_XCB_LOADER_H_DLOPEN) && !defined(LIBRARY_LOADER_XLIB_XCB_LOADER_H_DT_NEEDED)
#error neither LIBRARY_LOADER_XLIB_XCB_LOADER_H_DLOPEN nor LIBRARY_LOADER_XLIB_XCB_LOADER_H_DT_NEEDED defined
#endif
#if defined(LIBRARY_LOADER_XLIB_XCB_LOADER_H_DLOPEN) && defined(LIBRARY_LOADER_XLIB_XCB_LOADER_H_DT_NEEDED)
#error both LIBRARY_LOADER_XLIB_XCB_LOADER_H_DLOPEN and LIBRARY_LOADER_XLIB_XCB_LOADER_H_DT_NEEDED defined
#endif
XlibXcbLoader::XlibXcbLoader() : … { … }
XlibXcbLoader::~XlibXcbLoader() { … }
bool XlibXcbLoader::Load(const std::string& library_name) { … }
void XlibXcbLoader::CleanUp(bool unload) { … }