Audacity 3.2.0
Public Attributes | List of all members
ViewInfo::ProjectFileIORegistration Struct Reference

Construct once at static initialization time to hook project file IO. More...

Collaboration diagram for ViewInfo::ProjectFileIORegistration:
[legend]

Public Attributes

ProjectFileIORegistry::AttributeReaderEntries entries
 
ProjectFileIORegistry::AttributeReaderEntries entries2
 

Detailed Description

Construct once at static initialization time to hook project file IO.

Definition at line 298 of file ViewInfo.cpp.

Member Data Documentation

◆ entries

ProjectFileIORegistry::AttributeReaderEntries ViewInfo::ProjectFileIORegistration::entries
Initial value:
{
{
return ViewInfo::Get(project).selectedRegion;
},
}
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:89
static XMLMethodRegistryBase::Mutators< NotifyingSelectedRegion > Mutators(const char *legacyT0Name, const char *legacyT1Name)
Return some information used for deserialization purposes by ViewInfo.
Definition: ViewInfo.cpp:24
NotifyingSelectedRegion selectedRegion
Definition: ViewInfo.h:216
static ViewInfo & Get(AudacityProject &project)
Definition: ViewInfo.cpp:235

Definition at line 300 of file ViewInfo.cpp.

◆ entries2

ProjectFileIORegistry::AttributeReaderEntries ViewInfo::ProjectFileIORegistration::entries2
Initial value:
{
{
{ "vpos", [](auto &viewInfo, auto value){
viewInfo.vpos = value.Get(viewInfo.vpos);
} },
{ "h", [](auto &viewInfo, auto value){
viewInfo.h = value.Get(viewInfo.h);
} },
{ "zoom", [](auto &viewInfo, auto value){
viewInfo.zoom = value.Get(viewInfo.zoom);
} },
} }
int vpos
Definition: ZoomInfo.h:58

Definition at line 308 of file ViewInfo.cpp.


The documentation for this struct was generated from the following file: