1 //=============================================================================
2 //  MuseScore
3 //  Music Composition & Notation
4 //
5 //  Copyright (C) 2011 Werner Schweer
6 //
7 //  This program is free software; you can redistribute it and/or modify
8 //  it under the terms of the GNU General Public License version 2
9 //  as published by the Free Software Foundation and appearing in
10 //  the file LICENCE.GPL
11 //=============================================================================
12 
13 #ifndef __CLEFLIST_H__
14 #define __CLEFLIST_H__
15 
16 #include "mscore.h"
17 #include "clef.h"
18 
19 namespace Ms {
20 
21 class Score;
22 
23 //---------------------------------------------------------
24 //   ClefList
25 //---------------------------------------------------------
26 
27 class ClefList : public std::map<int, ClefTypeList> {
28    public:
ClefList()29       ClefList() {}
30       ClefTypeList clef(int tick) const;
31       void setClef(int tick, ClefTypeList);
32       int nextClefTick(int tick) const;
33       int currentClefTick(int tick) const;
34       };
35 
36 }     // namespace Ms
37 #endif
38 
39