You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
607 B
26 lines
607 B
13 years ago
|
Index: mcop/objectmanager.cc
|
||
|
===================================================================
|
||
|
--- mcop/objectmanager.cc.orig
|
||
|
+++ mcop/objectmanager.cc
|
||
|
@@ -28,6 +28,7 @@
|
||
|
#include "extensionloader.h"
|
||
|
#include "debug.h"
|
||
|
#include <stdio.h>
|
||
|
+#include <stdlib.h>
|
||
|
#include <unistd.h>
|
||
|
#include <iostream>
|
||
|
|
||
|
@@ -267,6 +268,12 @@ bool ObjectManager::addGlobalReference(O
|
||
|
|
||
|
string ObjectManager::getGlobalReference(const string& name)
|
||
|
{
|
||
|
+ static bool started_arts = false;
|
||
|
+ if (!started_arts)
|
||
|
+ {
|
||
|
+ system("arts-start");
|
||
|
+ started_arts = true;
|
||
|
+ }
|
||
|
return Dispatcher::the()->globalComm().get(name);
|
||
|
}
|
||
|
|