21#include <pluginterfaces/gui/iplugview.h>
29class RunLoop :
public Steinberg::Linux::IRunLoop
39 static gboolean
OnEvent(GIOChannel *source, GIOCondition condition, gpointer data);
41 static gboolean
OnTimer(gpointer data);
48 Steinberg::Linux::IEventHandler*
handler,
49 Steinberg::Linux::FileDescriptor fd)
override;
52 Steinberg::Linux::IEventHandler*
handler)
override;
55 Steinberg::Linux::TimerInterval milliseconds)
override;
59 DECLARE_FUNKNOWN_METHODS
Steinberg::tresult PLUGIN_API registerEventHandler(Steinberg::Linux::IEventHandler *handler, Steinberg::Linux::FileDescriptor fd) override
Steinberg::tresult PLUGIN_API unregisterEventHandler(Steinberg::Linux::IEventHandler *handler) override
RunLoop(::Display *display)
std::vector< std::unique_ptr< EventHandler > > mEventHandlers
static gboolean OnEvent(GIOChannel *source, GIOCondition condition, gpointer data)
std::vector< std::unique_ptr< TimerHandler > > mTimerHandlers
Steinberg::tresult PLUGIN_API registerTimer(Steinberg::Linux::ITimerHandler *handler, Steinberg::Linux::TimerInterval milliseconds) override
Steinberg::tresult PLUGIN_API unregisterTimer(Steinberg::Linux::ITimerHandler *handler) override
static gboolean OnTimer(gpointer data)
AuthorizationHandler handler