summaryrefslogtreecommitdiffstats
path: root/src/client/OSCEngineSender.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/OSCEngineSender.hpp')
-rw-r--r--src/client/OSCEngineSender.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/OSCEngineSender.hpp b/src/client/OSCEngineSender.hpp
index ef4a2fa3..ea156c34 100644
--- a/src/client/OSCEngineSender.hpp
+++ b/src/client/OSCEngineSender.hpp
@@ -41,9 +41,12 @@ namespace Client {
class OSCEngineSender : public EngineInterface, public Shared::OSCSender {
public:
OSCEngineSender(const string& engine_url);
-
~OSCEngineSender();
+ static OSCEngineSender* create(const std::string& engine_url) {
+ return new OSCEngineSender(engine_url);
+ }
+
std::string uri() const { return _engine_url; }
inline int32_t next_id()