Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
repeatmark.h
Go to the documentation of this file.
1 
8 #ifndef REPEATMARK_H_
9 #define REPEATMARK_H_
10 
11 #include "core/mark.h"
12 
13 class CABarline;
14 
15 class CARepeatMark : public CAMark {
16 public:
18  Undefined = 0,
19  Volta = 1,
20  Segno = 2,
21  Coda = 3,
22  VarCoda = 4,
23  DalSegno = 5,
24  DalCoda = 6,
26  };
27 
29  virtual ~CARepeatMark();
30 
32  int compare( CAMusElement *);
33 
36 
37  inline int voltaNumber() { return _voltaNumber; }
38  inline void setVoltaNumber( int n ) { _voltaNumber = n; }
39 
40  static const QString repeatMarkTypeToString( CARepeatMarkType t );
41  static CARepeatMarkType repeatMarkTypeFromString( const QString r );
42 
43 private:
46 };
47 
48 #endif /* REPEATMARK_H_ */