diff --git a/include/vrv/trill.h b/include/vrv/trill.h index da61ec3d259..5581f8c4e62 100644 --- a/include/vrv/trill.h +++ b/include/vrv/trill.h @@ -26,6 +26,7 @@ namespace vrv { class Trill : public ControlElement, public TimeSpanningInterface, public AttColor, + public AttEnclosingChars, public AttExtender, public AttExtSymAuth, public AttExtSymNames, diff --git a/src/iomei.cpp b/src/iomei.cpp index 3c0e5c5836d..ccc5f74e00e 100644 --- a/src/iomei.cpp +++ b/src/iomei.cpp @@ -2258,6 +2258,7 @@ void MEIOutput::WriteTrill(pugi::xml_node currentNode, Trill *trill) this->WriteControlElement(currentNode, trill); this->WriteTimeSpanningInterface(currentNode, trill); trill->WriteColor(currentNode); + trill->WriteEnclosingChars(currentNode); trill->WriteExtender(currentNode); trill->WriteExtSymAuth(currentNode); trill->WriteExtSymNames(currentNode); @@ -5957,6 +5958,7 @@ bool MEIInput::ReadTrill(Object *parent, pugi::xml_node trill) this->ReadTimeSpanningInterface(trill, vrvTrill); vrvTrill->ReadColor(trill); + vrvTrill->ReadEnclosingChars(trill); vrvTrill->ReadExtender(trill); vrvTrill->ReadExtSymAuth(trill); vrvTrill->ReadExtSymNames(trill); diff --git a/src/trill.cpp b/src/trill.cpp index 8d6b762ff39..2236b64ea01 100644 --- a/src/trill.cpp +++ b/src/trill.cpp @@ -30,6 +30,7 @@ Trill::Trill() : ControlElement(TRILL, "trill-") , TimeSpanningInterface() , AttColor() + , AttEnclosingChars() , AttExtender() , AttExtSymAuth() , AttExtSymNames() @@ -40,6 +41,7 @@ Trill::Trill() { this->RegisterInterface(TimeSpanningInterface::GetAttClasses(), TimeSpanningInterface::IsInterface()); this->RegisterAttClass(ATT_COLOR); + this->RegisterAttClass(ATT_ENCLOSINGCHARS); this->RegisterAttClass(ATT_EXTENDER); this->RegisterAttClass(ATT_EXTSYMAUTH); this->RegisterAttClass(ATT_EXTSYMNAMES); @@ -58,6 +60,7 @@ void Trill::Reset() ControlElement::Reset(); TimeSpanningInterface::Reset(); this->ResetColor(); + this->ResetEnclosingChars(); this->ResetExtender(); this->ResetExtSymAuth(); this->ResetExtSymNames();