A base class for all sample editing components. More...
Public Member Functions | |
void | selectSounds (const SampleSelection &selection) |
Call this whenever the selection changes and you want to update the other editors. More... | |
virtual void | updateInterface ()=0 |
Overwrite this and call the method that updates the interface. More... | |
Protected Member Functions | |
virtual void | soundsSelected (const SampleSelection &selectedSounds)=0 |
This is called whenever one of the other subeditors (or itself) called selectSounds(). More... | |
A base class for all sample editing components.
It offers a synchronous callback system for selecting sounds with recursive protection.
void selectSounds | ( | const SampleSelection & | selection | ) |
Call this whenever the selection changes and you want to update the other editors.
|
protectedpure virtual |
This is called whenever one of the other subeditors (or itself) called selectSounds().
Make sure you update the interface to select the new sounds here. Calls to selectSounds are legal, as they do not trigger the callback again.
|
pure virtual |
Overwrite this and call the method that updates the interface.