MuseScore  3.4
Music composition and notation
cleflist.h
Go to the documentation of this file.
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:
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 
Definition: cleflist.h:27
int nextClefTick(int tick) const
Definition: cleflist.cpp:72
Definition: clef.h:81
Definition of classes Clef.
Definition: aeolus.cpp:26
ClefList()
Definition: cleflist.h:29
ClefTypeList clef(int tick) const
Definition: cleflist.cpp:42
void setClef(int tick, ClefTypeList)
Definition: cleflist.cpp:56
int currentClefTick(int tick) const
Definition: cleflist.cpp:89