comparison base/PlayParameters.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 f277a171749d
children 70a232b1f12a
comparison
equal deleted inserted replaced
283:7336fe3a7caa 284:41d64b873d87
32 virtual float getPlayGain() const { return m_playGain; } 32 virtual float getPlayGain() const { return m_playGain; }
33 33
34 virtual QString getPlayPluginId() const { return m_playPluginId; } 34 virtual QString getPlayPluginId() const { return m_playPluginId; }
35 virtual QString getPlayPluginConfiguration() const { return m_playPluginConfiguration; } 35 virtual QString getPlayPluginConfiguration() const { return m_playPluginConfiguration; }
36 36
37 virtual void copyFrom(const PlayParameters *);
38
37 virtual QString toXmlString(QString indent = "", 39 virtual QString toXmlString(QString indent = "",
38 QString extraAttributes = "") const; 40 QString extraAttributes = "") const;
39 41
40 public slots: 42 public slots:
41 virtual void setPlayMuted(bool muted); 43 virtual void setPlayMuted(bool muted);
58 bool m_playMuted; 60 bool m_playMuted;
59 float m_playPan; 61 float m_playPan;
60 float m_playGain; 62 float m_playGain;
61 QString m_playPluginId; 63 QString m_playPluginId;
62 QString m_playPluginConfiguration; 64 QString m_playPluginConfiguration;
65
66 private:
67 PlayParameters(const PlayParameters &);
68 PlayParameters &operator=(const PlayParameters &);
63 }; 69 };
64 70
65 #endif 71 #endif
66 72
67 73