Audacity 3.2.0
Variables
ImportExport.cpp File Reference
#include "ImportExport.h"
#include "Project.h"
#include "XMLWriter.h"
#include "XMLAttributeValueView.h"
Include dependency graph for ImportExport.cpp:

Go to the source code of this file.

Variables

static const AudacityProject::AttachedObjects::RegisteredFactory sKey
 
static ProjectFileIORegistry::AttributeWriterEntry entry
 
static ProjectFileIORegistry::AttributeReaderEntries entries
 

Variable Documentation

◆ entries

Initial value:
{
{ "preferred_export_rate", [](auto &settings, auto value){
const double rate = value.Get(settings.GetPreferredExportRate());
settings.SetPreferredExportRate( rate );
} }
} }
static Settings & settings()
Definition: TrackInfo.cpp:69
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 ImportExport & Get(AudacityProject &project)

Definition at line 56 of file ImportExport.cpp.

Referenced by PrefsDialog::PrefsDialog().

◆ entry

Initial value:
{
[](const AudacityProject &project, XMLWriter &xmlFile){
xmlFile.WriteAttr(wxT("preferred_export_rate"), ImportExport::Get(project).GetPreferredExportRate());
}
}
wxT("CloseDown"))
const auto project
double GetPreferredExportRate() const
Base class for XMLFileWriter and XMLStringWriter that provides the general functionality for creating...
Definition: XMLWriter.h:25

Definition at line 50 of file ImportExport.cpp.

Referenced by CommandManager::Populator::AddGlobalCommand(), MacrosWindow::AddItem(), CommandManager::Populator::AddItem(), CommandManager::Populator::AddItemList(), MacroCommandsCatalog::ByCommandId(), AttachedVirtualFunction< Tag, Return, This, Arguments >::Call(), CommandManager::DoRepeatProcess(), CommandManager::Enable(), CommandManager::EnableUsingFlags(), CommandManager::ExecuteCommand(), MenuCreator::ExecuteCommand(), MenuCreator::FilterKeyEvent(), ToolBarButtons::ForAllButtons(), anonymous_namespace{MenuCreator.cpp}::FormatLabelWithDisabledAccel(), AVDictionaryWrapper::Get(), anonymous_namespace{ScrubState.cpp}::ScrubQueue::Get(), CommandManager::GetAllCommandData(), CommandManager::GetAllCommandLabels(), CommandManager::GetAllCommandNames(), MIR::anonymous_namespace{TatumQuantizationFitBenchmarking.cpp}::GetBenchmarkingAudioFiles(), CommandManager::GetCategories(), anonymous_namespace{MenuCreator.cpp}::MenuItemVisitor::GetMenuBar(), MIR::GetMeterUsingTatumQuantizationFit(), CommandManager::GetPrefixedLabelFromName(), FileDialog::GTKFilterChanged(), CommandManager::HandleCommandEntry(), CommandManager::HandleMenuID(), CommandManager::HandleTextualCommand(), AVDictionaryWrapper::HasValue(), BuiltinEffectsModule::Initialize(), BuiltinCommandsModule::Initialize(), FLACExportProcessor::MakeMetadata(), CommandManager::Populator::NewIdentifier(), MacroCommandDialog::PopulateCommandList(), anonymous_namespace{PopupMenuTable.cpp}::PopupMenuBuilder::PopupMenuBuilder(), ToolManager::ReadConfig(), CommandParameters::ReadEnum(), anonymous_namespace{NoiseReduction.cpp}::readPrefs(), ToolsToolBar::RegenerateTooltips(), TranscriptionToolBar::RegenerateTooltips(), SettingsWX::Remove(), CommandManager::ReportDuplicateShortcuts(), ToolManager::Reset(), FileDialog::SetFileExtension(), CommandManager::SetKeyFromIndex(), CommandManager::UpdateCheckmarks(), anonymous_namespace{MenuCreator.cpp}::MenuItemVisitor::VisitEntry(), anonymous_namespace{NoiseReduction.cpp}::writePrefs(), and CommandManager::WriteXML().

◆ sKey

Initial value:
{
auto result = std::make_shared< ImportExport >();
return result;
}
}

Definition at line 19 of file ImportExport.cpp.

Referenced by ImportExport::Get().