Audacity 3.2.0
TrackAttachment.cpp
Go to the documentation of this file.
1/*!********************************************************************
2
3Audacity: A Digital Audio Editor
4
5@file TrackAttachment.cpp
6@brief implements TrackAttachment
7
8Paul Licameli split from CommonTrackPanelCell.cpp
9
10**********************************************************************/
11
12#include "TrackAttachment.h"
13
15
17{
18}
19
20void TrackAttachment::Reparent( const std::shared_ptr<Track> & )
21{
22}
23
25{
26}
27
29 const std::string_view&, const XMLAttributeValueView& )
30{
31 return false;
32}
abstract base class for structures that user interface associates with tracks
virtual bool HandleXMLAttribute(const std::string_view &attr, const XMLAttributeValueView &valueView)
Deserialize an attribute, returning true if recognized.
virtual void Reparent(const std::shared_ptr< Track > &parent)
Object may be shared among tracks but hold a special back-pointer to one of them; reassign it.
virtual void CopyTo(Track &track) const
Copy state, for undo/redo purposes.
virtual void WriteXMLAttributes(XMLWriter &) const
Serialize persistent attributes.
virtual ~TrackAttachment()
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:110
A view into an attribute value. The class does not take the ownership of the data.
Base class for XMLFileWriter and XMLStringWriter that provides the general functionality for creating...
Definition: XMLWriter.h:25