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

Construct once at static intialization 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 intialization time to hook project file IO.

Definition at line 304 of file ViewInfo.cpp.

Member Data Documentation

◆ entries

ProjectFileIORegistry::AttributeReaderEntries ViewInfo::ProjectFileIORegistration::entries
Initial value:
return ViewInfo::Get(project).selectedRegion;

Definition at line 306 of file ViewInfo.cpp.

◆ entries2

ProjectFileIORegistry::AttributeReaderEntries ViewInfo::ProjectFileIORegistration::entries2
Initial value:
{ L"vpos", [](auto &viewInfo, auto value){
long longVpos;
viewInfo.vpos = (int)(longVpos);
} },
{ L"h", [](auto &viewInfo, auto value){
Internat::CompatibleToDouble(value, &viewInfo.h);
} },
{ L"zoom", [](auto &viewInfo, auto value){
Internat::CompatibleToDouble(value, &viewInfo.zoom);
} },
} }

Definition at line 314 of file ViewInfo.cpp.

The documentation for this struct was generated from the following file:
int vpos
Definition: ZoomInfo.h:58
static ViewInfo & Get(AudacityProject &project)
Definition: ViewInfo.cpp:241
Definition: ViewInfo.h:202
NotifyingSelectedRegion selectedRegion
Definition: ViewInfo.h:229
static XMLMethodRegistryBase::Mutators< NotifyingSelectedRegion > Mutators(const wxString &legacyT0Name, const wxString &legacyT1Name)
Return some information used for deserialization purposes by ViewInfo.
Definition: ViewInfo.cpp:35
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:92
static bool CompatibleToDouble(const wxString &stringToConvert, double *result)
Convert a string to a number.
Definition: Internat.cpp:134
Definition: ViewInfo.h:44