Commit 88391307 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

register common container types (needed for remote nodes)

parent 6f7ed83f
......@@ -17,8 +17,12 @@
#include "dtkComposerSettings.h"
#include "dtkComposerDefaultExtensions.h"
namespace dtkComposer {
namespace node {
#include <dtkCore/dtkArray.h>
namespace dtkComposer
{
namespace node
{
namespace _private {
dtkComposerNodeFactory factory;
}
......@@ -32,20 +36,28 @@ namespace dtkComposer {
{
dtkComposerBaseExtension baseExt;
baseExt.extend(&(_private::factory));
dtkComposerBooleanExtension boolExt;
boolExt.extend(&(_private::factory));
dtkComposerControlExtension controlExt;
controlExt.extend(&(_private::factory));
dtkComposerConstantsExtension constantsExt;
constantsExt.extend(&(_private::factory));
dtkComposerDistributedExtension distributedExt;
distributedExt.extend(&(_private::factory));
dtkComposerFileExtension fileExt;
fileExt.extend(&(_private::factory));
dtkComposerNumberExtension numberExt;
numberExt.extend(&(_private::factory));
dtkComposerStringExtension stringExt;
stringExt.extend(&(_private::factory));
dtkComposerContainerExtension containerExt;
containerExt.extend(&(_private::factory));
}
......@@ -86,6 +98,12 @@ namespace dtkComposer {
dtkDebug() << "initialize composer plugins using path:" << path ;
pluginManager().initialize(path);
}
// needed when the composer is run on a remote node
// should we add more ?
qMetaTypeId< dtkArray<qlonglong>* >();
qMetaTypeId< dtkArray<double>* >();
qMetaTypeId< QStringList* >();
}
}
}
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