MuseScore/libmscore/cleflist.h
ws 7dc9aed512 rework initial clef, staff type change
- initial clef is now determined by instrument
- extend instrument to allow different clefs for stave (piano)
- do not write first generated clef
2014-08-14 14:34:45 +02:00

36 lines
944 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);
};
} // namespace Ms
#endif