summaryrefslogtreecommitdiffstats
path: root/src/server/events/Disconnect.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events/Disconnect.hpp')
-rw-r--r--src/server/events/Disconnect.hpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/server/events/Disconnect.hpp b/src/server/events/Disconnect.hpp
index d6a455c8..8b43d0d0 100644
--- a/src/server/events/Disconnect.hpp
+++ b/src/server/events/Disconnect.hpp
@@ -20,6 +20,7 @@
#include "CompiledGraph.hpp"
#include "Event.hpp"
#include "PortImpl.hpp"
+#include "ingen/memory.hpp"
#include "types.hpp"
#include <memory>
@@ -39,10 +40,10 @@ namespace events {
class Disconnect : public Event
{
public:
- Disconnect(Engine& engine,
- const SPtr<Interface>& client,
- SampleCount timestamp,
- const ingen::Disconnect& msg);
+ Disconnect(Engine& engine,
+ const std::shared_ptr<Interface>& client,
+ SampleCount timestamp,
+ const ingen::Disconnect& msg);
bool pre_process(PreProcessContext& ctx) override;
void execute(RunContext& ctx) override;
@@ -59,11 +60,11 @@ public:
inline InputPort* head() { return _head; }
private:
- Engine& _engine;
- PortImpl* _tail;
- InputPort* _head;
- SPtr<ArcImpl> _arc;
- MPtr<PortImpl::Voices> _voices;
+ Engine& _engine;
+ PortImpl* _tail;
+ InputPort* _head;
+ std::shared_ptr<ArcImpl> _arc;
+ MPtr<PortImpl::Voices> _voices;
};
private: