diff options
Diffstat (limited to 'arts/runtime/localfactory_impl.cpp')
-rw-r--r-- | arts/runtime/localfactory_impl.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arts/runtime/localfactory_impl.cpp b/arts/runtime/localfactory_impl.cpp new file mode 100644 index 00000000..bf55271c --- /dev/null +++ b/arts/runtime/localfactory_impl.cpp @@ -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); + |