summaryrefslogtreecommitdiffstats
path: root/arts/runtime/localfactory_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'arts/runtime/localfactory_impl.cc')
-rw-r--r--arts/runtime/localfactory_impl.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/arts/runtime/localfactory_impl.cc b/arts/runtime/localfactory_impl.cc
new file mode 100644
index 00000000..bf55271c
--- /dev/null
+++ b/arts/runtime/localfactory_impl.cc
@@ -0,0 +1,15 @@
+#include "artsbuilder.h"
+
+using namespace Arts;
+using namespace std;
+
+class LocalFactory_impl : virtual public LocalFactory_skel {
+public:
+ Object createObject(const string& name)
+ {
+ return SubClass(name);
+ }
+};
+
+REGISTER_IMPLEMENTATION(LocalFactory_impl);
+