27 #include <unordered_map> 38 static std::unordered_map<std::string, void*> m_plugins;
51 static void* openLibrary(
const std::string& path);
59 static void* lookupLibrary(
void* handle,
const std::string& name);
65 static void closeLibrary(
void* handle);
72 static bool loadPlugin(
const std::string& path);
78 static void loadPlugins(
const std::string& path =
"");
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
This manager provides utilities for plugin loading.
Definition: PluginManager.h:35
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
The main header file of the library defining the namespace and basic data types.