mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
triggerbox (UI): shared ptrs for everyone, plus indirect references to Triggers from TriggerEntry
This commit is contained in:
parent
f69180c8ee
commit
c18d175f55
17 changed files with 79 additions and 62 deletions
|
|
@ -37,7 +37,7 @@ public:
|
|||
TriggerPropertiesBox () {}
|
||||
~TriggerPropertiesBox () {}
|
||||
|
||||
virtual void set_trigger (ARDOUR::Trigger*) = 0;
|
||||
virtual void set_trigger (ARDOUR::TriggerPtr) = 0;
|
||||
};
|
||||
|
||||
class AudioTriggerPropertiesBox : public TriggerPropertiesBox
|
||||
|
|
@ -46,7 +46,7 @@ public:
|
|||
AudioTriggerPropertiesBox ();
|
||||
~AudioTriggerPropertiesBox ();
|
||||
|
||||
void set_trigger (ARDOUR::Trigger*);
|
||||
void set_trigger (ARDOUR::TriggerPtr);
|
||||
|
||||
void set_session (ARDOUR::Session*);
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ protected:
|
|||
Gtk::Label _header_label;
|
||||
|
||||
private:
|
||||
ARDOUR::AudioTrigger* _trigger;
|
||||
boost::shared_ptr<ARDOUR::AudioTrigger> _trigger;
|
||||
|
||||
Gtk::Table _table;
|
||||
Gtk::Label _abpm_label;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue