Commit 743bce3e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

EventManager: Allow EventManager implementations to use RegisteredEvent type

parent 34122362
......@@ -77,8 +77,6 @@ private:
virtual void unregister() = 0;
};
using RegisteredEvent = EventHandlerBase&;
template <typename Func>
class EventHandler : public EventHandlerBase
{
......@@ -162,6 +160,8 @@ public:
EventManager& operator=(EventManager&&) = default;
protected:
using RegisteredEvent = EventHandlerBase&;
/**
* @brief handle Provides the common behavior for all event handlers
* @param eventType The libvlc type of event
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment