diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2020-08-30 10:50:27 +0200 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2020-08-30 13:38:19 +0200 |
commit | 4d79a9fbdde2dba499f993f786bf5fa99617db26 (patch) | |
tree | e2cb9a0dd1a7522e0f795511dfcff08e4f8959ac /src/sources/soundsourceoggvorbis.h | |
parent | 994957da6f6509572667a7f9193501369fa4f5fc (diff) |
Fix invalid forward declarations of Qt types
Diffstat (limited to 'src/sources/soundsourceoggvorbis.h')
-rw-r--r-- | src/sources/soundsourceoggvorbis.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/sources/soundsourceoggvorbis.h b/src/sources/soundsourceoggvorbis.h index 8f26c4d601..143cace0f0 100644 --- a/src/sources/soundsourceoggvorbis.h +++ b/src/sources/soundsourceoggvorbis.h @@ -1,5 +1,4 @@ -#ifndef MIXXX_SOUNDSOURCEOGGVORBIS_H -#define MIXXX_SOUNDSOURCEOGGVORBIS_H +#pragma once #include "sources/soundsourceprovider.h" #include "util/memory.h" @@ -7,7 +6,7 @@ #define OV_EXCLUDE_STATIC_CALLBACKS #include <vorbis/vorbisfile.h> -class QFile; +QT_FORWARD_DECLARE_CLASS(QFile); namespace mixxx { @@ -55,5 +54,3 @@ class SoundSourceProviderOggVorbis : public SoundSourceProvider { }; } // namespace mixxx - -#endif // MIXXX_SOUNDSOURCEOGGVORBIS_H |