Adapt to new metaservice behavior.
svn path=/branches/work/~ervin/sodep/; revision=923761
This commit is contained in:
parent
dab7dc3f1c
commit
b4267d0689
@ -114,7 +114,7 @@ private slots:
|
|||||||
QFETCH(QString, fileName);
|
QFETCH(QString, fileName);
|
||||||
|
|
||||||
SodepMessage message("/", "loadEmbeddedJolieService");
|
SodepMessage message("/", "loadEmbeddedJolieService");
|
||||||
SodepValue value(0);
|
SodepValue value;
|
||||||
value.children("resourcePrefix") << SodepValue(resourcePrefix);
|
value.children("resourcePrefix") << SodepValue(resourcePrefix);
|
||||||
value.children("filepath") << SodepValue(QString(DATA_DIR"/")+fileName);
|
value.children("filepath") << SodepValue(QString(DATA_DIR"/")+fileName);
|
||||||
message.setData(value);
|
message.setData(value);
|
||||||
@ -153,10 +153,10 @@ private slots:
|
|||||||
SodepValue value;
|
SodepValue value;
|
||||||
|
|
||||||
SodepValue s1;
|
SodepValue s1;
|
||||||
s1.children("metadata");
|
s1.children("isEmbedded") << SodepValue(1);
|
||||||
s1.children("resourceName") << SodepValue("Math");
|
s1.children("resourceName") << SodepValue("Math");
|
||||||
SodepValue s2;
|
SodepValue s2;
|
||||||
s2.children("metadata");
|
s2.children("isEmbedded") << SodepValue(1);
|
||||||
s2.children("resourceName") << SodepValue("Printer");
|
s2.children("resourceName") << SodepValue("Printer");
|
||||||
|
|
||||||
value.children("service") << s1 << s2;
|
value.children("service") << s1 << s2;
|
||||||
|
Loading…
Reference in New Issue
Block a user