/[svn]/linuxsampler/trunk/src/engines/InstrumentEditor.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/InstrumentEditor.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1212 by schoenebeck, Tue May 29 23:59:36 2007 UTC revision 1321 by schoenebeck, Tue Sep 4 01:12:49 2007 UTC
# Line 65  namespace LinuxSampler { Line 65  namespace LinuxSampler {
65          listeners.erase(pListener);          listeners.erase(pListener);
66      }      }
67    
68        void InstrumentEditor::NotifySamplesToBeRemoved(std::set<void*> Samples) {
69            for ( // notify all registered listeners
70                std::set<InstrumentEditorListener*>::iterator iter = listeners.begin();
71                iter != listeners.end(); iter++
72            ) (*iter)->OnSamplesToBeRemoved(Samples, this);
73        }
74    
75        void InstrumentEditor::NotifySamplesRemoved() {
76            for ( // notify all registered listeners
77                std::set<InstrumentEditorListener*>::iterator iter = listeners.begin();
78                iter != listeners.end(); iter++
79            ) (*iter)->OnSamplesRemoved(this);
80        }
81    
82        void InstrumentEditor::NotifyDataStructureToBeChanged(void* pStruct, String sStructType) {
83            for ( // notify all registered listeners
84                std::set<InstrumentEditorListener*>::iterator iter = listeners.begin();
85                iter != listeners.end(); iter++
86            ) (*iter)->OnDataStructureToBeChanged(pStruct, sStructType, this);
87        }
88    
89        void InstrumentEditor::NotifyDataStructureChanged(void* pStruct, String sStructType) {
90            for ( // notify all registered listeners
91                std::set<InstrumentEditorListener*>::iterator iter = listeners.begin();
92                iter != listeners.end(); iter++
93            ) (*iter)->OnDataStructureChanged(pStruct, sStructType, this);
94        }
95    
96        void InstrumentEditor::NotifySampleReferenceChanged(void* pOldSample, void* pNewSample) {
97            for ( // notify all registered listeners
98                std::set<InstrumentEditorListener*>::iterator iter = listeners.begin();
99                iter != listeners.end(); iter++
100            ) (*iter)->OnSampleReferenceChanged(pOldSample, pNewSample, this);
101        }
102    
103  } // namespace LinuxSampler  } // namespace LinuxSampler

Legend:
Removed from v.1212  
changed lines
  Added in v.1321

  ViewVC Help
Powered by ViewVC