7 #include "inoteobservable.h"
8 #include "inoteobserver.h"
15 void addNote(uint8_t pitch, uint8_t velocity);
16 void removeNote(uint8_t pitch);
17 const std::vector<Note> getNotes()
const;
18 void registerObserver(PNoteObserver &observer);
19 void removeObserver(PNoteObserver &observer);
22 std::vector<Note> notes;
23 std::vector<PNoteObserver> observers;