#define __binding_proxy__
#include <string>
-
#include <gtkmm2ext/popup.h>
#include <boost/shared_ptr.hpp>
+#include "pbd/signals.h"
namespace PBD {
class Controllable;
bool button_press_handler (GdkEventButton *);
- boost::shared_ptr<PBD::Controllable> get_controllable() { return controllable; }
+ boost::shared_ptr<PBD::Controllable> get_controllable() const { return controllable; }
void set_controllable (boost::shared_ptr<PBD::Controllable>);
protected:
boost::shared_ptr<PBD::Controllable> controllable;
guint bind_button;
guint bind_statemask;
- sigc::connection learning_connection;
+ PBD::ScopedConnection learning_connection;
void learning_finished ();
bool prompter_hiding (GdkEventAny *);
};