summaryrefslogtreecommitdiffstats
path: root/src/sources/soundsourceoggvorbis.h
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2020-08-30 10:50:27 +0200
committerUwe Klotz <uklotz@mixxx.org>2020-08-30 13:38:19 +0200
commit4d79a9fbdde2dba499f993f786bf5fa99617db26 (patch)
treee2cb9a0dd1a7522e0f795511dfcff08e4f8959ac /src/sources/soundsourceoggvorbis.h
parent994957da6f6509572667a7f9193501369fa4f5fc (diff)
Fix invalid forward declarations of Qt types
Diffstat (limited to 'src/sources/soundsourceoggvorbis.h')
-rw-r--r--src/sources/soundsourceoggvorbis.h7
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