diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2020-09-20 00:28:44 +0200 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2020-10-26 07:39:19 +0100 |
commit | e87bf77b8e20dae3ddd6aaf3e3b1b8689c00c670 (patch) | |
tree | 4582d735ed29d6ca5b52f9740eac0cf9705c54d7 /src/sources/soundsourcemodplug.h | |
parent | fc3eedc94db3a9c857a91dd2b2055b71b90e2bb6 (diff) |
SoundSourceProvider: Expose display name as constant
Diffstat (limited to 'src/sources/soundsourcemodplug.h')
-rw-r--r-- | src/sources/soundsourcemodplug.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/sources/soundsourcemodplug.h b/src/sources/soundsourcemodplug.h index f78887175d..8cef32ac40 100644 --- a/src/sources/soundsourcemodplug.h +++ b/src/sources/soundsourcemodplug.h @@ -1,5 +1,4 @@ -#ifndef MIXXX_SOUNDSOURCEMODPLUG_H -#define MIXXX_SOUNDSOURCEMODPLUG_H +#pragma once #include "sources/soundsourceprovider.h" @@ -53,7 +52,11 @@ class SoundSourceModPlug : public SoundSource { class SoundSourceProviderModPlug : public SoundSourceProvider { public: - QString getName() const override; + static const QString kDisplayName; + + QString getDisplayName() const override { + return kDisplayName; + } QStringList getSupportedFileExtensions() const override; @@ -63,5 +66,3 @@ class SoundSourceProviderModPlug : public SoundSourceProvider { }; } // namespace mixxx - -#endif // MIXXX_SOUNDSOURCEMODPLUG_H |