diff options
Diffstat (limited to 'src/effects')
41 files changed, 40 insertions, 167 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 */ diff --git a/src/effects/effect.h b/src/effects/effect.h index 272cbfc3d1..be8fd0cd30 100644 --- a/src/effects/effect.h +++ b/src/effects/effect.h @@ -1,5 +1,4 @@ -#ifndef EFFECT_H -#define EFFECT_H +#pragma once #include <QSharedPointer> #include <QDomDocument> @@ -85,5 +84,3 @@ class Effect : public QObject { DISALLOW_COPY_AND_ASSIGN(Effect); }; - -#endif /* EFFECT_H */ diff --git a/src/effects/effectbuttonparameterslot.h b/src/effects/effectbuttonparameterslot.h index 20a2a10008..7c5eb92fbb 100644 --- a/src/effects/effectbuttonparameterslot.h +++ b/src/effects/effectbuttonparameterslot.h @@ -1,5 +1,4 @@ -#ifndef EFFECTBUTTONPARAMETERSLOT_H -#define EFFECTBUTTONPARAMETERSLOT_H +#pragma once #include <QObject> #include <QVariant> @@ -47,5 +46,3 @@ class EffectButtonParameterSlot : public EffectParameterSlotBase { DISALLOW_COPY_AND_ASSIGN(EffectButtonParameterSlot); }; - -#endif // EFFECTBUTTONPARAMETERSLOT_H diff --git a/src/effects/effectchain.h b/src/effects/effectchain.h index 16b0370db9..c9f646f1fa 100644 --- a/src/effects/effectchain.h +++ b/src/effects/effectchain.h @@ -1,5 +1,4 @@ -#ifndef EFFECTCHAIN_H -#define EFFECTCHAIN_H +#pragma once #include <QObject> #include <QMap> @@ -128,5 +127,3 @@ class EffectChain : public QObject { DISALLOW_COPY_AND_ASSIGN(EffectChain); }; - -#endif /* EFFECTCHAIN_H */ diff --git a/src/effects/effectchainmanager.h b/src/effects/effectchainmanager.h index 2b7d6fc94a..702b6c358b 100644 --- a/src/effects/effectchainmanager.h +++ b/src/effects/effectchainmanager.h @@ -1,5 +1,4 @@ -#ifndef EFFECTCHAINMANAGER_H -#define EFFECTCHAINMANAGER_H +#pragma once #include <QObject> #include <QList> @@ -85,5 +84,3 @@ class EffectChainManager : public QObject { QSet<ChannelHandleAndGroup> m_registeredOutputChannels; DISALLOW_COPY_AND_ASSIGN(EffectChainManager); }; - -#endif /* EFFECTCHAINMANAGER_H */ diff --git a/src/effects/effectchainslot.h b/src/effects/effectchainslot.h index 281f73f33d..141c7eab43 100644 --- a/src/effects/effectchainslot.h +++ b/src/effects/effectchainslot.h @@ -1,5 +1,4 @@ -#ifndef EFFECTCHAINSLOT_H -#define EFFECTCHAINSLOT_H +#pragma once #include <QObject> #include <QMap> @@ -169,6 +168,3 @@ class EffectChainSlot : public QObject { DISALLOW_COPY_AND_ASSIGN(EffectChainSlot); }; - - -#endif /* EFFECTCHAINSLOT_H */ diff --git a/src/effects/effectinstantiator.h b/src/effects/effectinstantiator.h index 38167a6d59..50a029b3c0 100644 --- a/src/effects/effectinstantiator.h +++ b/src/effects/effectinstantiator.h @@ -1,5 +1,4 @@ -#ifndef EFFECTINSTANTIATOR_H -#define EFFECTINSTANTIATOR_H +#pragma once #include <QSharedPointer> #include "effects/effectmanifest.h" @@ -50,5 +49,3 @@ class LV2EffectProcessorInstantiator : public EffectInstantiator { }; #endif /* __LILV__ */ - -#endif /* EFFECTINSTANTIATOR_H */ diff --git a/src/effects/effectmanifest.h b/src/effects/effectmanifest.h index 6333769797..a09a57351b 100644 --- a/src/effects/effectmanifest.h +++ b/src/effects/effectmanifest.h @@ -1,5 +1,4 @@ -#ifndef EFFECTMANIFEST_H -#define EFFECTMANIFEST_H +#pragma once #include <QList> #include <QString> @@ -195,5 +194,3 @@ class EffectManifest final { bool m_bAddDryToWet; double m_metaknobDefault; }; - -#endif /* EFFECTMANIFEST_H */ diff --git a/src/effects/effectmanifestparameter.h b/src/effects/effectmanifestparameter.h index c12caa626a..52c5341ae6 100644 --- a/src/effects/effectmanifestparameter.h +++ b/src/effects/effectmanifestparameter.h @@ -1,5 +1,4 @@ -#ifndef EFFECTMANIFESTPARAMETER_H -#define EFFECTMANIFESTPARAMETER_H +#pragma once #include <QVariant> #include <QString> @@ -259,5 +258,3 @@ class EffectManifestParameter { }; QDebug operator<<(QDebug dbg, const EffectManifestParameter& parameter); - -#endif /* EFFECTMANIFESTPARAMETER_H */ diff --git a/src/effects/effectparameter.h b/src/effects/effectparameter.h index f6565258fa..60049f8614 100644 --- a/src/effects/effectparameter.h +++ b/src/effects/effectparameter.h @@ -1,5 +1,4 @@ -#ifndef EFFECTPARAMETER_H -#define EFFECTPARAMETER_H +#pragma once #include <QObject> #include <QVariant> @@ -86,6 +85,3 @@ class EffectParameter : public QObject { DISALLOW_COPY_AND_ASSIGN(EffectParameter); }; - - -#endif /* EFFECTPARAMETER_H */ diff --git a/src/effects/effectparameterslot.h b/src/effects/effectparameterslot.h index fdb5ec9c9a..77b29bf636 100644 --- a/src/effects/effectparameterslot.h +++ b/src/effects/effectparameterslot.h @@ -1,5 +1,4 @@ -#ifndef EFFECTPARAMETERSLOT_H -#define EFFECTPARAMETERSLOT_H +#pragma once #include <QObject> #include <QVariant> @@ -64,5 +63,3 @@ class EffectParameterSlot : public EffectParameterSlotBase { DISALLOW_COPY_AND_ASSIGN(EffectParameterSlot); }; - -#endif // EFFECTPARAMETERSLOT_H diff --git a/src/effects/effectparameterslotbase.h b/src/effects/effectparameterslotbase.h index e0ba8d9549..576d84d211 100644 --- a/src/effects/effectparameterslotbase.h +++ b/src/effects/effectparameterslotbase.h @@ -1,5 +1,4 @@ -#ifndef EFFECTPARAMETERSLOTBASE_H -#define EFFECTPARAMETERSLOTBASE_H +#pragma once #include <QObject> #include <QVariant> @@ -43,5 +42,3 @@ class EffectParameterSlotBase : public QObject { DISALLOW_COPY_AND_ASSIGN(EffectParameterSlotBase); }; - -#endif /* EFFECTPARAMETERSLOTBASE_H */ diff --git a/src/effects/effectprocessor.h b/src/effects/effectprocessor.h index b493511aa2..3ece55553a 100644 --- a/src/effects/effectprocessor.h +++ b/src/effects/effectprocessor.h @@ -1,6 +1,4 @@ - -#ifndef EFFECTPROCESSOR_H -#define EFFECTPROCESSOR_H +#pragma once #include <QString> #include <QHash> @@ -275,5 +273,3 @@ class EffectProcessorImpl : public EffectProcessor { EffectsManager* m_pEffectsManager; ChannelHandleMap<ChannelHandleMap<EffectSpecificState*>> m_channelStateMatrix; }; - -#endif /* EFFECTPROCESSOR_H */ diff --git a/src/effects/effectrack.h b/src/effects/effectrack.h index 09c6d064cd..3e58625a2d 100644 --- a/src/effects/effectrack.h +++ b/src/effects/effectrack.h @@ -1,5 +1,4 @@ -#ifndef EFFECTRACK_H -#define EFFECTRACK_H +#pragma once #include <QObject> #include <QString> @@ -251,5 +250,3 @@ class EqualizerRack : public PerGroupRack { return formatEffectChainSlotGroupString(iRackNumber, group); } }; - -#endif /* EFFECTRACK_H */ diff --git a/src/effects/effectsbackend.h b/src/effects/effectsbackend.h index e1d2c327b6..a3b16ea4ec 100644 --- a/src/effects/effectsbackend.h +++ b/src/effects/effectsbackend.h @@ -1,5 +1,4 @@ -#ifndef EFFECTSBACKEND_H -#define EFFECTSBACKEND_H +#pragma once #include <QObject> #include <QList> @@ -72,5 +71,3 @@ class EffectsBackend : public QObject { QMap<QString, RegisteredEffect> m_registeredEffects; QList<QString> m_effectIds; }; - -#endif /* EFFECTSBACKEND_H */ diff --git a/src/effects/effectslot.h b/src/effects/effectslot.h index 5db3a0aafe..7225fcfea8 100644 --- a/src/effects/effectslot.h +++ b/src/effects/effectslot.h @@ -1,5 +1,4 @@ -#ifndef EFFECTSLOT_H -#define EFFECTSLOT_H +#pragma once #include <QObject> #include <QSharedPointer> @@ -135,5 +134,3 @@ class EffectSlot : public QObject { DISALLOW_COPY_AND_ASSIGN(EffectSlot); }; - -#endif /* EFFECTSLOT_H */ diff --git a/src/effects/effectsmanager.h b/src/effects/effectsmanager.h index c7d80fc76b..74af13feb1 100644 --- a/src/effects/effectsmanager.h +++ b/src/effects/effectsmanager.h @@ -1,5 +1,4 @@ -#ifndef EFFECTSMANAGER_H -#define EFFECTSMANAGER_H +#pragma once #include <QObject> #include <QHash> @@ -143,6 +142,3 @@ class EffectsManager : public QObject { DISALLOW_COPY_AND_ASSIGN(EffectsManager); }; - - -#endif /* EFFECTSMANAGER_H */ diff --git a/src/effects/lv2/lv2backend.h b/src/effects/lv2/lv2backend.h index 1a8c3e7479..1d59d87129 100644 --- a/src/effects/lv2/lv2backend.h +++ b/src/effects/lv2/lv2backend.h @@ -1,5 +1,4 @@ -#ifndef LV2BACKEND_H -#define LV2BACKEND_H +#pragma once #include "effects/defs.h" #include "effects/effectsbackend.h" @@ -32,5 +31,3 @@ class LV2Backend : public EffectsBackend { return "LV2Backend"; } }; - -#endif // LV2BACKEND_H diff --git a/src/effects/lv2/lv2effectprocessor.h b/src/effects/lv2/lv2effectprocessor.h index d594446965..36dc5c5fb9 100644 --- a/src/effects/lv2/lv2effectprocessor.h +++ b/src/effects/lv2/lv2effectprocessor.h @@ -1,5 +1,4 @@ -#ifndef LV2EFFECTPROCESSOR_H -#define LV2EFFECTPROCESSOR_H +#pragma once #include "effects/effectprocessor.h" #include "effects/effectmanifest.h" @@ -68,6 +67,3 @@ class LV2EffectProcessor : public EffectProcessor { EffectsManager* m_pEffectsManager; ChannelHandleMap<ChannelHandleMap<LV2EffectGroupState*>> m_channelStateMatrix; }; - - -#endif // LV2EFFECTPROCESSOR_H diff --git a/src/effects/lv2/lv2manifest.h b/src/effects/lv2/lv2manifest.h index dbb0fa1324..b550ab4b7c 100644 --- a/src/effects/lv2/lv2manifest.h +++ b/src/effects/lv2/lv2manifest.h @@ -1,5 +1,4 @@ -#ifndef LV2MANIFEST_H -#define LV2MANIFEST_H +#pragma once |