37 lines
984 B
C++
37 lines
984 B
C++
//=============================================================================
|
|
// MuseScore
|
|
// Music Composition & Notation
|
|
//
|
|
// Copyright (C) 2011 Werner Schweer
|
|
//
|
|
// This program is free software; you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License version 2
|
|
// as published by the Free Software Foundation and appearing in
|
|
// the file LICENCE.GPL
|
|
//=============================================================================
|
|
|
|
#ifndef __CLEFLIST_H__
|
|
#define __CLEFLIST_H__
|
|
|
|
#include "mscore.h"
|
|
#include "clef.h"
|
|
|
|
namespace Ms {
|
|
|
|
class Score;
|
|
|
|
//---------------------------------------------------------
|
|
// ClefList
|
|
//---------------------------------------------------------
|
|
|
|
class ClefList : public std::map<int, ClefTypeList> {
|
|
public:
|
|
ClefList() {}
|
|
ClefTypeList clef(int tick) const;
|
|
void setClef(int tick, ClefTypeList);
|
|
int nextClefTick(int tick) const;
|
|
};
|
|
|
|
} // namespace Ms
|
|
#endif
|
|
|