comparison base/PropertyContainer.h @ 28:4b16526b011b

* Add LED button * Add note model playback (currently assuming that value == MIDI pitch) * Reorganise PlayParameters and move repository from ViewManager to new PlayParameterRepository class
author Chris Cannam
date Wed, 15 Feb 2006 17:58:35 +0000
parents 070e9e1e40ea
children 8460b3bf8f04
comparison
equal deleted inserted replaced
27:070e9e1e40ea 28:4b16526b011b
12 12
13 #include <QString> 13 #include <QString>
14 #include <QObject> 14 #include <QObject>
15 #include <vector> 15 #include <vector>
16 16
17 class Playable; 17 class PlayParameters;
18 18
19 class PropertyContainer 19 class PropertyContainer
20 { 20 {
21 public: 21 public:
22 virtual ~PropertyContainer() { } 22 virtual ~PropertyContainer() { }
80 virtual void setProperty(const PropertyName &, int value); 80 virtual void setProperty(const PropertyName &, int value);
81 81
82 virtual QString getPropertyContainerName() const = 0; 82 virtual QString getPropertyContainerName() const = 0;
83 virtual QString getPropertyContainerIconName() const = 0; 83 virtual QString getPropertyContainerIconName() const = 0;
84 84
85 Playable *getPlayable() const { return 0; } 85 virtual PlayParameters *getPlayParameters() const { return 0; }
86 }; 86 };
87 87
88 #endif 88 #endif