mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
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:
parent
e7d84a7c47
commit
09c84d1de8
3 changed files with 53 additions and 0 deletions
19
libs/pbd/glib_event_source.cc
Normal file
19
libs/pbd/glib_event_source.cc
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue