Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
crescendo.h
Go to the documentation of this file.
1 
8 #ifndef CRESCENDO_H_
9 #define CRESCENDO_H_
10 
11 #include "core/mark.h"
12 
13 class CANote;
14 
15 class CACrescendo: public CAMark {
16 public:
20  };
21 
23  virtual ~CACrescendo();
24 
26  int compare( CAMusElement* );
27 
28  inline const int finalVolume() { return _finalVolume; }
29  inline void setFinalVolume( const int v ) { _finalVolume = v; }
30  inline const CACrescendoType crescendoType() { return _crescendoType; }
32 
33  static const QString crescendoTypeToString( CACrescendoType t );
34  static CACrescendoType crescendoTypeFromString( const QString r );
35 
36 private:
37  int _finalVolume; // volume percantage - from 0% to 100%
39 };
40 
41 #endif /* CRESCENDO_H_ */