add new GSource-derived object that can be attached to a Glib::MainContext to execute code before other sources have their dispatch() method invoked

This commit is contained in:
Paul Davis 2020-11-19 19:19:51 -07:00
parent e7d84a7c47
commit 09c84d1de8
3 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,19 @@
#include "pbd/glib_event_source.h"
bool
GlibEventLoopSource::prepare (int& timeout)
{
return false;
}
bool
GlibEventLoopSource::check ()
{
return false;
}
bool
GlibEventLoopSource::dispatch (sigc::slot_base*)
{
return false;
}