1 #ifndef __pbd_base_ui_h__
2 #define __pbd_base_ui_h__
7 #include <sigc++/slot.h>
8 #include <sigc++/trackable.h>
10 class BaseUI : virtual public sigc::trackable {
12 BaseUI (std::string name, bool with_signal_pipes);
15 BaseUI* base_instance() { return base_ui_instance; }
17 std::string name() const { return _name; }
19 bool ok() const { return _ok; }
25 struct BaseRequestObject {
27 sigc::slot<void> the_slot;
30 static RequestType new_request_type();
31 static RequestType CallSlot;
39 BaseUI* base_ui_instance;
41 static uint32_t rt_bit;
43 int setup_signal_pipe ();
46 #endif /* __pbd_base_ui_h__ */