ResourceBrowser: move implementation of default actions to ResourceAction

Again there's no need for duplicated functionality. Adding a
ResourceAction::defaultTrigger() method allows to separate all
functionality from ResourceBrowser and possibly use it in other places
as well.
This commit is contained in:
Tobias Doerffel
2009-10-26 16:21:55 +01:00
parent de1675f39e
commit 722aa11563
3 changed files with 20 additions and 17 deletions

View File

@@ -59,6 +59,8 @@ public:
bool loadByPlugin( InstrumentTrack * _target );
bool loadPreset( InstrumentTrack * _target );
bool importProject( trackContainer * _target );
// most actions can be triggered without any further information
bool defaultTrigger();
private: