diff options
Diffstat (limited to 'src/effects/builtin')
22 files changed, 21 insertions, 86 deletions
diff --git a/src/effects/builtin/autopaneffect.h b/src/effects/builtin/autopaneffect.h index dc4141a8be..3538698e9f 100644 --- a/src/effects/builtin/autopaneffect.h +++ b/src/effects/builtin/autopaneffect.h @@ -1,5 +1,4 @@ -#ifndef AUTOPANEFFECT_H -#define AUTOPANEFFECT_H +#pragma once #include <QMap> @@ -106,5 +105,3 @@ class AutoPanEffect : public EffectProcessorImpl<AutoPanGroupState> { DISALLOW_COPY_AND_ASSIGN(AutoPanEffect); }; - -#endif /* AUTOPANEFFECT_H */ diff --git a/src/effects/builtin/balanceeffect.h b/src/effects/builtin/balanceeffect.h index 668409d16c..4562c93a0e 100644 --- a/src/effects/builtin/balanceeffect.h +++ b/src/effects/builtin/balanceeffect.h @@ -1,5 +1,4 @@ -#ifndef BALANCEEFFECT_H -#define BALANCEEFFECT_H +#pragma once #include "effects/effectprocessor.h" #include "engine/effects/engineeffect.h" @@ -54,5 +53,3 @@ class BalanceEffect : public EffectProcessorImpl<BalanceGroupState> { DISALLOW_COPY_AND_ASSIGN(BalanceEffect); }; - -#endif /* BALANCEEFFECT_H */ diff --git a/src/effects/builtin/bessel4lvmixeqeffect.h b/src/effects/builtin/bessel4lvmixeqeffect.h index 877cbd51fb..80cdef73b5 100644 --- a/src/effects/builtin/bessel4lvmixeqeffect.h +++ b/src/effects/builtin/bessel4lvmixeqeffect.h @@ -1,5 +1,4 @@ -#ifndef BESSEL4LVMIXEQEFFECT_H -#define BESSEL4LVMIXEQEFFECT_H +#pragma once #include <QMap> @@ -57,5 +56,3 @@ class Bessel4LVMixEQEffect : public EffectProcessorImpl<Bessel4LVMixEQEffectGrou DISALLOW_COPY_AND_ASSIGN(Bessel4LVMixEQEffect); }; - -#endif /* BESSEL4LVMIXEQEFFECT_H */ diff --git a/src/effects/builtin/bessel8lvmixeqeffect.h b/src/effects/builtin/bessel8lvmixeqeffect.h index a44dfa5a87..7e41479bee 100644 --- a/src/effects/builtin/bessel8lvmixeqeffect.h +++ b/src/effects/builtin/bessel8lvmixeqeffect.h @@ -1,5 +1,4 @@ -#ifndef BESSEL8LVMIXEQEFFECT_H -#define BESSEL8LVMIXEQEFFECT_H +#pragma once #include "effects/builtin/lvmixeqbase.h" @@ -60,5 +59,3 @@ class Bessel8LVMixEQEffect : public EffectProcessorImpl<Bessel8LVMixEQEffectGrou DISALLOW_COPY_AND_ASSIGN(Bessel8LVMixEQEffect); }; - -#endif /* BESSEL8LVMIXEQEFFECT_H */ diff --git a/src/effects/builtin/biquadfullkilleqeffect.h b/src/effects/builtin/biquadfullkilleqeffect.h index 4bf757a241..3a2a4063a2 100644 --- a/src/effects/builtin/biquadfullkilleqeffect.h +++ b/src/effects/builtin/biquadfullkilleqeffect.h @@ -1,5 +1,4 @@ -#ifndef BIQUADFULLKILLEQEFFECT_H -#define BIQUADFULLKILLEQEFFECT_H +#pragma once #include "control/controlproxy.h" #include "effects/effect.h" @@ -96,5 +95,3 @@ class BiquadFullKillEQEffect : public EffectProcessorImpl<BiquadFullKillEQEffect std::unique_ptr<ControlProxy> m_pLoFreqCorner; std::unique_ptr<ControlProxy> m_pHiFreqCorner; }; - -#endif // BIQUADFULLKILLEQEFFECT_H diff --git a/src/effects/builtin/bitcrushereffect.h b/src/effects/builtin/bitcrushereffect.h index 88d102719c..b7888032a6 100644 --- a/src/effects/builtin/bitcrushereffect.h +++ b/src/effects/builtin/bitcrushereffect.h @@ -1,5 +1,4 @@ -#ifndef BITCRUSHEREFFECT_H -#define BITCRUSHEREFFECT_H +#pragma once #include <QMap> @@ -49,5 +48,3 @@ class BitCrusherEffect : public EffectProcessorImpl<BitCrusherGroupState> { DISALLOW_COPY_AND_ASSIGN(BitCrusherEffect); }; - -#endif /* BITCRUSHEREFFECT_H */ diff --git a/src/effects/builtin/builtinbackend.cpp b/src/effects/builtin/builtinbackend.cpp index 36e208f58d..a974388b66 100644 --- a/src/effects/builtin/builtinbackend.cpp +++ b/src/effects/builtin/builtinbackend.cpp @@ -1,4 +1,3 @@ - #include "effects/builtin/builtinbackend.h" #include <QtDebug> diff --git a/src/effects/builtin/builtinbackend.h b/src/effects/builtin/builtinbackend.h index b797f29304..1d34083ba8 100644 --- a/src/effects/builtin/builtinbackend.h +++ b/src/effects/builtin/builtinbackend.h @@ -1,5 +1,4 @@ -#ifndef BUILTINBACKEND_H -#define BUILTINBACKEND_H +#pragma once #include "effects/defs.h" #include "effects/effectsbackend.h" @@ -15,5 +14,3 @@ class BuiltInBackend : public EffectsBackend { return "BuiltInBackend"; } }; - -#endif /* BUILTINBACKEND_H */ diff --git a/src/effects/builtin/echoeffect.h b/src/effects/builtin/echoeffect.h index 876f623c23..a3a04fb617 100644 --- a/src/effects/builtin/echoeffect.h +++ b/src/effects/builtin/echoeffect.h @@ -1,5 +1,4 @@ -#ifndef ECHOEFFECT_H -#define ECHOEFFECT_H +#pragma once #include <QMap> @@ -74,5 +73,3 @@ class EchoEffect : public EffectProcessorImpl<EchoGroupState> { DISALLOW_COPY_AND_ASSIGN(EchoEffect); }; - -#endif /* ECHOEFFECT_H */ diff --git a/src/effects/builtin/equalizer_util.h b/src/effects/builtin/equalizer_util.h index 1ab188a826..96700ce596 100644 --- a/src/effects/builtin/equalizer_util.h +++ b/src/effects/builtin/equalizer_util.h @@ -1,5 +1,4 @@ -#ifndef EFFECTS_BUILTIN_EQUALIZER_UTIL_H -#define EFFECTS_BUILTIN_EQUALIZER_UTIL_H +#pragma once #include <QObject> @@ -92,6 +91,3 @@ class EqualizerUtil { "To adjust frequency shelves, go to Preferences -> Equalizers."); } }; - - -#endif /* EFFECTS_BUILTIN_EQUALIZER_UTIL_H */ diff --git a/src/effects/builtin/filtereffect.h b/src/effects/builtin/filtereffect.h index b37eaa5cb7..a7ba64c557 100644 --- a/src/effects/builtin/filtereffect.h +++ b/src/effects/builtin/filtereffect.h @@ -1,5 +1,4 @@ -#ifndef FILTEREFFECT_H -#define FILTEREFFECT_H +#pragma once #include "effects/effect.h" #include "effects/effectprocessor.h" @@ -54,5 +53,3 @@ class FilterEffect : public EffectProcessorImpl<FilterGroupState> { DISALLOW_COPY_AND_ASSIGN(FilterEffect); }; - -#endif /* FILTEREFFECT_H */ diff --git a/src/effects/builtin/flangereffect.h b/src/effects/builtin/flangereffect.h index 08275c42d4..a942f90bc6 100644 --- a/src/effects/builtin/flangereffect.h +++ b/src/effects/builtin/flangereffect.h @@ -1,5 +1,4 @@ -#ifndef FLANGEREFFECT_H -#define FLANGEREFFECT_H +#pragma once #include <QMap> @@ -77,5 +76,3 @@ class FlangerEffect : public EffectProcessorImpl<FlangerGroupState> { DISALLOW_COPY_AND_ASSIGN(FlangerEffect); }; - -#endif /* FLANGEREFFECT_H */ diff --git a/src/effects/builtin/graphiceqeffect.h b/src/effects/builtin/graphiceqeffect.h index b4a721fbed..b4a3c40a74 100644 --- a/src/effects/builtin/graphiceqeffect.h +++ b/src/effects/builtin/graphiceqeffect.h @@ -1,5 +1,4 @@ -#ifndef GRAPHICEQEFFECT_H -#define GRAPHICEQEFFECT_H +#pragma once #include <QMap> @@ -58,5 +57,3 @@ class GraphicEQEffect : public EffectProcessorImpl<GraphicEQEffectGroupState> { DISALLOW_COPY_AND_ASSIGN(GraphicEQEffect); }; - -#endif // GRAPHICEQEFFECT_H diff --git a/src/effects/builtin/linkwitzriley8eqeffect.h b/src/effects/builtin/linkwitzriley8eqeffect.h index 656119542f..0bf85b3354 100644 --- a/src/effects/builtin/linkwitzriley8eqeffect.h +++ b/src/effects/builtin/linkwitzriley8eqeffect.h @@ -1,5 +1,4 @@ -#ifndef LINKWITZRILEYEQEFFECT_H -#define LINKWITZRILEYEQEFFECT_H +#pragma once #include <QMap> @@ -73,5 +72,3 @@ class LinkwitzRiley8EQEffect : public EffectProcessorImpl<LinkwitzRiley8EQEffect DISALLOW_COPY_AND_ASSIGN(LinkwitzRiley8EQEffect); }; - -#endif /* LINKWITZRILEYEQEFFECT_H */ diff --git a/src/effects/builtin/loudnesscontoureffect.h b/src/effects/builtin/loudnesscontoureffect.h index 329304be28..d2149cf276 100644 --- a/src/effects/builtin/loudnesscontoureffect.h +++ b/src/effects/builtin/loudnesscontoureffect.h @@ -1,5 +1,4 @@ -#ifndef LOUDNESSCONTOUREFFECT_H -#define LOUDNESSCONTOUREFFECT_H +#pragma once #include "control/controlproxy.h" #include "effects/effect.h" @@ -60,5 +59,3 @@ class LoudnessContourEffect EngineEffectParameter* m_pLoudness; EngineEffectParameter* m_pUseGain; }; - -#endif // LOUDNESSCONTOUREFFECT_H diff --git a/src/effects/builtin/metronomeeffect.h b/src/effects/builtin/metronomeeffect.h index 962ff10a9b..6207f008d2 100644 --- a/src/effects/builtin/metronomeeffect.h +++ b/src/effects/builtin/metronomeeffect.h @@ -1,5 +1,4 @@ -#ifndef METRONOMEEFFECT_H -#define METRONOMEEFFECT_H +#pragma once #include <QMap> @@ -46,5 +45,3 @@ class MetronomeEffect : public EffectProcessorImpl<MetronomeGroupState> { DISALLOW_COPY_AND_ASSIGN(MetronomeEffect); }; - -#endif /* METRONOMEEFFECT_H */ diff --git a/src/effects/builtin/moogladder4filtereffect.h b/src/effects/builtin/moogladder4filtereffect.h index e6acf8d498..8f269b4905 100644 --- a/src/effects/builtin/moogladder4filtereffect.h +++ b/src/effects/builtin/moogladder4filtereffect.h @@ -1,5 +1,4 @@ -#ifndef MOOGLADDER4FILTEREFFECT_H -#define MOOGLADDER4FILTEREFFECT_H +#pragma once #include "effects/effect.h" #include "effects/effectprocessor.h" @@ -54,5 +53,3 @@ class MoogLadder4FilterEffect : public EffectProcessorImpl<MoogLadder4FilterGrou DISALLOW_COPY_AND_ASSIGN(MoogLadder4FilterEffect); }; - -#endif /* MOOGLADDER4FILTEREFFECT_H */ diff --git a/src/effects/builtin/parametriceqeffect.h b/src/effects/builtin/parametriceqeffect.h index be88b2a8fe..b41a451187 100644 --- a/src/effects/builtin/parametriceqeffect.h +++ b/src/effects/builtin/parametriceqeffect.h @@ -1,5 +1,4 @@ -#ifndef PARAMERICEQEFFECT_H -#define PARAMERICEQEFFECT_H +#pragma once #include <vector> #include <QMap> @@ -65,5 +64,3 @@ class ParametricEQEffect : public EffectProcessorImpl<ParametricEQEffectGroupSta DISALLOW_COPY_AND_ASSIGN(ParametricEQEffect); }; - -#endif // PARAMERICEQEFFECT_H diff --git a/src/effects/builtin/phasereffect.h b/src/effects/builtin/phasereffect.h index c85b59a5dc..bc71a0f786 100644 --- a/src/effects/builtin/phasereffect.h +++ b/src/effects/builtin/phasereffect.h @@ -1,5 +1,4 @@ -#ifndef PHASEREFFECT_H -#define PHASEREFFECT_H +#pragma once #include "effects/effectprocessor.h" #include "engine/effects/engineeffect.h" @@ -81,5 +80,3 @@ class PhaserEffect : public EffectProcessorImpl<PhaserGroupState> { DISALLOW_COPY_AND_ASSIGN(PhaserEffect); }; - -#endif diff --git a/src/effects/builtin/reverbeffect.h b/src/effects/builtin/reverbeffect.h index 1883b53680..5708c37dca 100644 --- a/src/effects/builtin/reverbeffect.h +++ b/src/effects/builtin/reverbeffect.h @@ -1,8 +1,7 @@ // Ported from CAPS Reverb. // This effect is GPL code. -#ifndef REVERBEFFECT_H -#define REVERBEFFECT_H +#pragma once #include <QMap> @@ -61,5 +60,3 @@ class ReverbEffect : public EffectProcessorImpl<ReverbGroupState> { DISALLOW_COPY_AND_ASSIGN(ReverbEffect); }; - -#endif /* REVERBEFFECT_H */ diff --git a/src/effects/builtin/threebandbiquadeqeffect.h b/src/effects/builtin/threebandbiquadeqeffect.h index bf180f2cb2..308a3131d2 100644 --- a/src/effects/builtin/threebandbiquadeqeffect.h +++ b/src/effects/builtin/threebandbiquadeqeffect.h @@ -1,5 +1,4 @@ -#ifndef THREEBANDBIQUADEQEFFECT_H -#define THREEBANDBIQUADEQEFFECT_H +#pragma once #include "control/controlproxy.h" #include "effects/effect.h" @@ -79,5 +78,3 @@ class ThreeBandBiquadEQEffect : public EffectProcessorImpl<ThreeBandBiquadEQEffe std::unique_ptr<ControlProxy> m_pLoFreqCorner; std::unique_ptr<ControlProxy> m_pHiFreqCorner; }; - -#endif // THREEBANDBIQUADEQEFFECT_H diff --git a/src/effects/builtin/tremoloeffect.h b/src/effects/builtin/tremoloeffect.h index 571a02398f..91ad1dee41 100644 --- a/src/effects/builtin/tremoloeffect.h +++ b/src/effects/builtin/tremoloeffect.h @@ -1,5 +1,4 @@ -#ifndef TREMOLOEFFECT_H -#define TREMOLOEFFECT_H +#pragma once #include "effects/effectprocessor.h" #include "engine/effects/engineeffect.h" @@ -50,5 +49,3 @@ class TremoloEffect : public EffectProcessorImpl<TremoloState> { DISALLOW_COPY_AND_ASSIGN(TremoloEffect); }; - -#endif /* TREMOLOEFFECT_H */ |