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:

Public Attributes

ProjectFileIORegistry::AttributeReaderEntries entries
ProjectFileIORegistry::AttributeReaderEntries entries2

Detailed Description

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

Definition at line 295 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:90
static XMLMethodRegistryBase::Mutators< NotifyingSelectedRegion > Mutators(const char *legacyT0Name, const char *legacyT1Name)
Return some information used for deserialization purposes by ViewInfo.
Definition: ViewInfo.cpp:23
NotifyingSelectedRegion selectedRegion
Definition: ViewInfo.h:217
static ViewInfo & Get(AudacityProject &project)
Definition: ViewInfo.cpp:234

Definition at line 297 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:54

Definition at line 305 of file ViewInfo.cpp.

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