Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
/home/iurt/rpm/BUILD/canorus-0.7.R1002/src/core/instrumentchange.h
Go to the documentation of this file.
00001 
00008 #ifndef INSTRUMENTCHANGE_H_
00009 #define INSTRUMENTCHANGE_H_
00010 
00011 #include <QString>
00012 #include "core/mark.h"
00013 
00014 class CANote;
00015 
00016 class CAInstrumentChange: public CAMark {
00017 public:
00018         CAInstrumentChange( int instrument, CANote *note );
00019         virtual ~CAInstrumentChange();
00020         
00021         CAInstrumentChange *clone(CAMusElement *elt=0);
00022         int compare( CAMusElement* );
00023         
00024         inline const int instrument() { return _instrument; }
00025         inline void setInstrument( const int instrument ) { _instrument = instrument; }
00026         
00027 private:
00028         int _instrument;
00029 };
00030 
00031 #endif /* INSTRUMENTCHANGE_H_ */