11#ifndef __AUDACITY_COMPONENT_INTERFACE_SYMBOL__
12#define __AUDACITY_COMPONENT_INTERFACE_SYMBOL__
43 : mInternal{ msgid }, mMsgid{ msgid, {} }
55 const wxString &
Internal()
const {
return mInternal; }
58 const wxString
Translation()
const {
return mMsgid.Translation(); }
60 {
return Stripped().Translation(); }
62 bool empty()
const {
return mInternal.empty(); }
71 {
return !( a == b ); }
ComponentInterfaceSymbol EnumValueSymbol
bool operator<(sampleCount a, sampleCount b)
bool operator==(const WaveTrackLocation &a, const WaveTrackLocation &b)
bool operator!=(const WaveTrackLocation &a, const WaveTrackLocation &b)
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
ComponentInterfaceSymbol(const Identifier &internal, const TranslatableString &msgid)
ComponentInterfaceSymbol(const wxString &internal)
ComponentInterfaceSymbol()=default
ComponentInterfaceSymbol(const wxChar *msgid)
const wxString & Internal() const
const TranslatableString & Msgid() const
const wxString StrippedTranslation() const
ComponentInterfaceSymbol(const TranslatableString &msgid)
const wxString Translation() const
TranslatableString mMsgid
const TranslatableString Stripped() const
An explicitly nonlocalized string, not meant for the user to see.
Holds a msgid for the translation catalog; may also bind format arguments.
TranslatableString Stripped(unsigned options=MenuCodes) const
non-mutating, constructs another TranslatableString object