diff base/PlayParameterRepository.h @ 284:41d64b873d87

* continue to pick "new" colours for coloured layers even when all colours have been used at least once, rather than sticking on the last one * some messing about with application palette settings * when replacing an audio file, retain the previous playback settings for any layers that depended on the old file * re-check plugin program setting when a parameter changes -- so a plugin can decide to reset the program if the parameters no longer match those for the current program * fix failure to update check-boxes for toggled plugin parameters when their parameters are changed by program changes
author Chris Cannam
date Thu, 09 Aug 2007 14:40:03 +0000
parents 82f529a08cf3
children 5858cc462d0a
line wrap: on
line diff
--- a/base/PlayParameterRepository.h	Thu Aug 09 10:06:02 2007 +0000
+++ b/base/PlayParameterRepository.h	Thu Aug 09 14:40:03 2007 +0000
@@ -34,8 +34,9 @@
 
     void addModel(const Model *model);
     void removeModel(const Model *model);
+    void copyParameters(const Model *from, const Model *to);
 
-    PlayParameters *getPlayParameters(const Model *model) const;
+    PlayParameters *getPlayParameters(const Model *model);
 
     void clear();