Audacity  3.0.3
Public Member Functions | Public Attributes | List of all members
FileNames::FileType Struct Reference

#include <FileNames.h>

Collaboration diagram for FileNames::FileType:

Public Member Functions

 FileType ()=default
 FileType (TranslatableString d, FileExtensions e, bool a=false)

Public Attributes

TranslatableString description
FileExtensions extensions
bool appendExtensions = false

Detailed Description

Definition at line 52 of file FileNames.h.

Constructor & Destructor Documentation

◆ FileType() [1/2]

FileNames::FileType::FileType ( )

◆ FileType() [2/2]

FileNames::FileType::FileType ( TranslatableString  d,
FileExtensions  e,
bool  a = false 

Definition at line 55 of file FileNames.h.

56  : description{ std::move( d ) }
57  , extensions( std::move( e ) )
58  , appendExtensions{ a }
59  {}

Member Data Documentation

◆ appendExtensions

bool FileNames::FileType::appendExtensions = false

Definition at line 65 of file FileNames.h.

◆ description

TranslatableString FileNames::FileType::description

Definition at line 61 of file FileNames.h.

Referenced by Importer::SetDefaultOpenType(), and Importer::SetLastOpenType().

◆ extensions

FileExtensions FileNames::FileType::extensions

Definition at line 62 of file FileNames.h.

Referenced by Importer::GetFileTypes().

The documentation for this struct was generated from the following file:
TranslatableString description
Definition: FileNames.h:61
bool appendExtensions
Definition: FileNames.h:65
FileExtensions extensions
Definition: FileNames.h:62