MuseScore/libmscore/cleflist.h

38 lines
984 B
C
Raw Normal View History

2012-05-26 14:26:10 +02:00
//=============================================================================
// 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"
2013-05-13 18:49:17 +02:00
namespace Ms {
2012-05-26 14:26:10 +02:00
class Score;
//---------------------------------------------------------
// ClefList
//---------------------------------------------------------
2013-09-05 16:37:49 +02:00
class ClefList : public std::map<int, ClefTypeList> {
2012-05-26 14:26:10 +02:00
public:
ClefList() {}
ClefTypeList clef(int tick) const;
void setClef(int tick, ClefTypeList);
int nextClefTick(int tick) const;
2012-05-26 14:26:10 +02:00
};
2013-05-13 18:49:17 +02:00
} // namespace Ms
2012-05-26 14:26:10 +02:00
#endif