Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :
https://about.gitlab.com/releases/2021/02/11/security-release-gitlab-13-8-4-released/
https://about.gitlab.com/releases/2021/02/05/gitlab-13-8-3-released/

Commit 41f8f60a authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

add method to activate dtkObjectManager in composer extensions

parent ff5be790
......@@ -80,6 +80,7 @@ namespace dtkComposer
namespace _private {
dtkComposerExtensionPluginFactory factory;
dtkComposerExtensionPluginManager manager;
bool activate_obj_mgr = false;
}
dtkComposerExtensionPluginFactory& pluginFactory(void)
......@@ -92,6 +93,18 @@ namespace dtkComposer
return _private::manager;
}
void activateObjectManager(bool val)
{
qDebug() << "set activate object manager to:" << val;
_private::activate_obj_mgr = val;
}
bool isObjectManagerActive(void)
{
qDebug() << "is active object manager ?" << _private::activate_obj_mgr ;
return _private::activate_obj_mgr ;
}
void initialize(const QString& path)
{
QString realpath = path;
......
......@@ -34,6 +34,8 @@ namespace dtkComposer {
DTKCOMPOSER_EXPORT dtkComposerExtensionPluginFactory& pluginFactory(void);
DTKCOMPOSER_EXPORT dtkComposerExtensionPluginManager& pluginManager(void);
DTKCOMPOSER_EXPORT void initialize(const QString& path = "");
DTKCOMPOSER_EXPORT void activateObjectManager(bool val = true);
DTKCOMPOSER_EXPORT bool isObjectManagerActive(void);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment