21 #ifndef PRESSION_PLUGINREGISTRY_H 22 #define PRESSION_PLUGINREGISTRY_H 25 #include <pression/types.h> 31 namespace detail {
class PluginRegistry; }
50 PRESSION_API ~PluginRegistry();
57 PRESSION_API
void addDirectory(
const std::string& path );
60 PRESSION_API
void removeDirectory(
const std::string& path );
67 PRESSION_API
const Strings& getDirectories()
const;
74 PRESSION_API
bool addLunchboxPlugins();
77 PRESSION_API
void init();
80 PRESSION_API
void exit();
96 PRESSION_API
const Plugins& getPlugins()
const;
99 PRESSION_API
Plugin* findPlugin(
const uint32_t name );
102 PRESSION_API
const Plugin* findPlugin(
const uint32_t name )
const;
105 PRESSION_API
bool addPlugin(
const std::string& filename );
108 PluginRegistry(
const PluginRegistry& );
109 PluginRegistry operator=(
const PluginRegistry& );
110 detail::PluginRegistry*
const impl_;
113 #endif // PRESSION_PLUGINREGISTRY_H Defines export visibility macros for library Pression.
Visitor for all plugins and compressors of a Plugin or PluginRegistry.
Holder for all functions and information of one compression plugin DSO.
A registry for loaded plugins.