Skip to content

Commit

Permalink
make trill part of att enclosingChars
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Feb 3, 2025
1 parent f4bf7d9 commit 24f50c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/vrv/trill.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ namespace vrv {
*/
class Trill : public ControlElement,
public TimeSpanningInterface,
public AttEnclosingChars,
public AttExtender,
public AttExtSymAuth,
public AttExtSymNames,
Expand Down
2 changes: 2 additions & 0 deletions src/iomei.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2281,6 +2281,7 @@ void MEIOutput::WriteTrill(pugi::xml_node currentNode, Trill *trill)

this->WriteControlElement(currentNode, trill);
this->WriteTimeSpanningInterface(currentNode, trill);
trill->WriteEnclosingChars(currentNode);
trill->WriteExtender(currentNode);
trill->WriteExtSymAuth(currentNode);
trill->WriteExtSymNames(currentNode);
Expand Down Expand Up @@ -6065,6 +6066,7 @@ bool MEIInput::ReadTrill(Object *parent, pugi::xml_node trill)
this->ReadControlElement(trill, vrvTrill);

this->ReadTimeSpanningInterface(trill, vrvTrill);
vrvTrill->ReadEnclosingChars(trill);
vrvTrill->ReadExtender(trill);
vrvTrill->ReadExtSymAuth(trill);
vrvTrill->ReadExtSymNames(trill);
Expand Down
3 changes: 3 additions & 0 deletions src/trill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ static const ClassRegistrar<Trill> s_factory("trill", TRILL);
Trill::Trill()
: ControlElement(TRILL, "trill-")
, TimeSpanningInterface()
, AttEnclosingChars()
, AttExtender()
, AttExtSymAuth()
, AttExtSymNames()
Expand All @@ -38,6 +39,7 @@ Trill::Trill()
, AttPlacementRelStaff()
{
this->RegisterInterface(TimeSpanningInterface::GetAttClasses(), TimeSpanningInterface::IsInterface());
this->RegisterAttClass(ATT_ENCLOSINGCHARS);
this->RegisterAttClass(ATT_EXTENDER);
this->RegisterAttClass(ATT_EXTSYMAUTH);
this->RegisterAttClass(ATT_EXTSYMNAMES);
Expand All @@ -55,6 +57,7 @@ void Trill::Reset()
{
ControlElement::Reset();
TimeSpanningInterface::Reset();
this->ResetEnclosingChars();
this->ResetExtender();
this->ResetExtSymAuth();
this->ResetExtSymNames();
Expand Down

0 comments on commit 24f50c0

Please sign in to comment.