diff options
author | xerus2000 <27jf@pm.me> | 2020-08-13 13:47:36 +0200 |
---|---|---|
committer | xerus2000 <27jf@pm.me> | 2020-11-10 23:39:30 +0100 |
commit | 99419f9a8265221faab895f8f7d9b500b1789f4e (patch) | |
tree | 3a139cd2dbfeb726fa0ae4a913b56dddf91c8b2d /src/vinylcontrol | |
parent | 6e6685fe7c5db184bdc0fad7d9956a0b43783574 (diff) |
Use #pragma once everywhere
Diffstat (limited to 'src/vinylcontrol')
-rw-r--r-- | src/vinylcontrol/defs_vinylcontrol.h | 5 | ||||
-rw-r--r-- | src/vinylcontrol/steadypitch.h | 5 | ||||
-rw-r--r-- | src/vinylcontrol/vinylcontrol.h | 5 | ||||
-rw-r--r-- | src/vinylcontrol/vinylcontrolmanager.h | 5 | ||||
-rw-r--r-- | src/vinylcontrol/vinylcontrolprocessor.h | 6 | ||||
-rw-r--r-- | src/vinylcontrol/vinylcontrolsignalwidget.h | 5 | ||||
-rw-r--r-- | src/vinylcontrol/vinylcontrolxwax.h | 5 | ||||
-rw-r--r-- | src/vinylcontrol/vinylsignalquality.h | 5 |
8 files changed, 8 insertions, 33 deletions
diff --git a/src/vinylcontrol/defs_vinylcontrol.h b/src/vinylcontrol/defs_vinylcontrol.h index aa37b7b04b..69a8b54ec9 100644 --- a/src/vinylcontrol/defs_vinylcontrol.h +++ b/src/vinylcontrol/defs_vinylcontrol.h @@ -1,5 +1,4 @@ -#ifndef DEFS_VINYLCONTROL_H -#define DEFS_VINYLCONTROL_H +#pragma once #define VINYL_PREF_KEY "[VinylControl]" @@ -46,5 +45,3 @@ const int VINYL_STATUS_ERROR = 3; #define MIXXX_VINYL_SCOPE_SIZE 100 const int kMaximumVinylControlInputs = 4; - -#endif /* DEFS_VINYLCONTROL_H */ diff --git a/src/vinylcontrol/steadypitch.h b/src/vinylcontrol/steadypitch.h index 972e2e0c10..6b37d7efaa 100644 --- a/src/vinylcontrol/steadypitch.h +++ b/src/vinylcontrol/steadypitch.h @@ -1,5 +1,4 @@ -#ifndef STEADYPITCH_H -#define STEADYPITCH_H +#pragma once #include <QTime> @@ -23,5 +22,3 @@ class SteadyPitch { double m_dPitchThreshold; int m_iPlayDirection; }; - -#endif diff --git a/src/vinylcontrol/vinylcontrol.h b/src/vinylcontrol/vinylcontrol.h index 805cc8dbdf..5d3d591396 100644 --- a/src/vinylcontrol/vinylcontrol.h +++ b/src/vinylcontrol/vinylcontrol.h @@ -1,5 +1,4 @@ -#ifndef VINYLCONTROL_H -#define VINYLCONTROL_H +#pragma once #include <QString> @@ -79,5 +78,3 @@ class VinylControl : public QObject { // Whether this VinylControl instance is enabled. bool m_bIsEnabled; }; - -#endif diff --git a/src/vinylcontrol/vinylcontrolmanager.h b/src/vinylcontrol/vinylcontrolmanager.h index f2c60e34d6..5a346d80a2 100644 --- a/src/vinylcontrol/vinylcontrolmanager.h +++ b/src/vinylcontrol/vinylcontrolmanager.h @@ -1,5 +1,4 @@ -#ifndef VINYLCONTROLMANAGER_H -#define VINYLCONTROLMANAGER_H +#pragma once #include <QObject> #include <QString> @@ -63,5 +62,3 @@ class VinylControlManager : public QObject { ControlProxy* m_pNumDecks; int m_iNumConfiguredDecks; }; - -#endif // VINYLCONTROLMANAGER_H diff --git a/src/vinylcontrol/vinylcontrolprocessor.h b/src/vinylcontrol/vinylcontrolprocessor.h index 1ab825d829..7b236c021f 100644 --- a/src/vinylcontrol/vinylcontrolprocessor.h +++ b/src/vinylcontrol/vinylcontrolprocessor.h @@ -1,5 +1,4 @@ -#ifndef VINYLCONTROLPROCESSOR_H -#define VINYLCONTROLPROCESSOR_H +#pragma once #include <QObject> #include <QThread> @@ -81,6 +80,3 @@ class VinylControlProcessor : public QThread, public AudioDestination { volatile bool m_bQuit; volatile bool m_bReloadConfig; }; - - -#endif /* VINYLCONTROLPROCESSOR_H */ diff --git a/src/vinylcontrol/vinylcontrolsignalwidget.h b/src/vinylcontrol/vinylcontrolsignalwidget.h index 702e65d43f..90bb687c70 100644 --- a/src/vinylcontrol/vinylcontrolsignalwidget.h +++ b/src/vinylcontrol/vinylcontrolsignalwidget.h @@ -5,8 +5,7 @@ * Author: asantoni */ -#ifndef VINYLCONTROLSIGNALWIDGET_H -#define VINYLCONTROLSIGNALWIDGET_H +#pragma once #include <QImage> #include <QPaintEvent> @@ -42,5 +41,3 @@ class VinylControlSignalWidget : public QWidget, public VinylSignalQualityListen float m_fSignalQuality; bool m_bVinylActive; }; - -#endif /* VINYLCONTROLSIGNALWIDGET_H */ diff --git a/src/vinylcontrol/vinylcontrolxwax.h b/src/vinylcontrol/vinylcontrolxwax.h index f0b3be6907..aae53a0266 100644 --- a/src/vinylcontrol/vinylcontrolxwax.h +++ b/src/vinylcontrol/vinylcontrolxwax.h @@ -1,5 +1,4 @@ -#ifndef __VINYLCONTROLXWAX_H__ -#define __VINYLCONTROLXWAX_H__ +#pragma once #include <QTime> @@ -139,5 +138,3 @@ class VinylControlXwax : public VinylControl { static QMutex s_xwaxLUTMutex; static bool s_bLUTInitialized; }; - -#endif diff --git a/src/vinylcontrol/vinylsignalquality.h b/src/vinylcontrol/vinylsignalquality.h index 670f677656..ee99e2b56c 100644 --- a/src/vinylcontrol/vinylsignalquality.h +++ b/src/vinylcontrol/vinylsignalquality.h @@ -1,5 +1,4 @@ -#ifndef VINYLSIGNALQUALITY_H -#define VINYLSIGNALQUALITY_H +#pragma once #include "vinylcontrol/defs_vinylcontrol.h" @@ -14,5 +13,3 @@ class VinylSignalQualityListener { public: virtual void onVinylSignalQualityUpdate(const VinylSignalQualityReport& report) = 0; }; - -#endif /* VINYLSIGNALQUALITY_H */ |