PluginLoader — Provides information about registered plugins.
class PluginLoader : : public SimpleWrappedObjectSernaApi::SimpleWrappedObject { public: // construct/copy/destruct PluginLoader(SernaApiBase * = 0); PluginLoader(const PluginLoader &); PluginLoader& operator=(const PluginLoader &); ~PluginLoader(); // public member functions PropertyNode getPluginProps() const; bool isEnabled(const PropertyNode &) const; bool isLoaded(const PropertyNode &, const SernaDoc &) const; // public static functions PluginLoader instance() ; static const SString PLUGIN_NAME; static const SString PLUGIN_DESC; static const SString LOAD_FOR; static const SString PLUGIN_DLL; static const SString RESOLVED_DLL; static const SString PLUGIN_VENDOR; static const SString PLUGIN_DATA; static const SString IS_DISABLED; static const SString PRELOAD_DLL; static const SString RESOLVED_PATH; static const SString SPD_FILE_NAME; };
PluginLoader
public member functionsPropertyNode getPluginProps() const;
Accessors to plugin descriptors. Children of returned property are "serna-plugin" property subtrees.
Returns true if requested plugin is enabled in Serna.
Returns true if requested plugin is loaded for given document.
PluginLoader
public static functionsPluginLoader instance() ;
Returns reference to PluginLoader instance.