7 #ifndef NAZARA_PLUGINMANAGER_HPP 8 #define NAZARA_PLUGINMANAGER_HPP 10 #include <Nazara/Prerequesites.hpp> 11 #include <Nazara/Core/Enums.hpp> 12 #include <Nazara/Core/String.hpp> 14 #include <unordered_map> 27 static void AddDirectory(
const String& directoryPath);
29 static bool Initialize();
31 static bool Mount(Plugin plugin);
32 static bool Mount(
const String& pluginPath,
bool appendExtension =
true);
34 static void RemoveDirectory(
const String& directoryPath);
36 static void Unmount(Plugin plugin);
37 static void Unmount(
const String& pluginPath);
39 static void Uninitialize();
42 static std::set<String> s_directories;
43 static std::unordered_map<String, DynLib*> s_plugins;
44 static bool s_initialized;
48 #endif // NAZARA_PLUGINMANAGER_HPP TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Core class that represents a string.
Definition: String.hpp:22
Core class that represents a manager for plugin.
Definition: PluginManager.hpp:21