 |
Ardour
8.12
|
Go to the documentation of this file.
19 #ifndef __ardour_gtk_gui_thread_h__
20 #define __ardour_gtk_gui_thread_h__
24 #include <boost/bind.hpp>
25 #include <boost/bind/protect.hpp>
29 #define ENSURE_GUI_THREAD(obj,method, ...) if (!Gtkmm2ext::UI::instance()->caller_is_self()) { abort (); }
31 #define gui_context() Gtkmm2ext::UI::instance()
32 #define ui_bind(f, ...) boost::protect (boost::bind (f, __VA_ARGS__))
34 #define invalidator(x) PBD::EventLoop::__invalidator ((x), __FILE__, __LINE__)