5#include <unordered_map>
12#include <plugify_export.h>
15 class PlugifyProvider;
32 void Log(std::string_view msg, Severity severity)
const;
52 bool IsPreferOwnSymbols() const noexcept;
66 bool IsPluginLoaded(std::string_view name, std::optional<plg::version> requiredVersion = {},
bool minimum =
false)
const noexcept;
80 bool IsModuleLoaded(std::string_view name, std::optional<plg::version> requiredVersion = {},
bool minimum =
false)
const noexcept;
A generic handle class that manages a pointer to an object of type T.
Wrapper handle for the PlugifyProvider, which is provided to the user and implemented in the core.
bool IsModuleLoaded(std::string_view name, std::optional< plg::version > requiredVersion={}, bool minimum=false) const noexcept
Checks if a language module with the specified name is loaded.
PluginHandle FindPlugin(std::string_view name) const noexcept
Finds a plugin by its name.
std::filesystem::path_view GetBaseDir() const noexcept
Get the base directory of the Plugify system.
ModuleHandle FindModule(std::string_view name) const noexcept
Finds a language module by its name.
void Log(std::string_view msg, Severity severity) const
Log a message with a specified severity level.
Handle wrapper to access language module's information.
Handle wrapper to access plugin's information.