Skip to content

Commit 700e916

Browse files
committed
clean up headers
1 parent 4fdda4e commit 700e916

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

src/surge-fx/ParameterPanel.h

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,13 @@
1-
#pragma once
2-
3-
#include <memory> // Include memory header for std::unique_ptr
1+
#ifndef SURGE_SRC_SURGE_FX_PARAMETERPANEL_H
2+
#define SURGE_SRC_SURGE_FX_PARAMETERPANEL_H
43

54
#include "SurgeFXProcessor.h"
65
#include "SurgeLookAndFeel.h"
76
#include "KnobSource.h"
87

9-
#include "juce_gui_basics/juce_gui_basics.h"
10-
118
#include <sst/jucegui/style/StyleSheet.h>
129
#include <sst/jucegui/components/Knob.h>
1310

14-
#include "SurgeStorage.h"
15-
#include "Effect.h"
16-
#include "FXOpenSoundControl.h"
17-
#include <atomic>
18-
#include "sst/filters/HalfRateFilter.h"
19-
20-
#include "juce_audio_processors/juce_audio_processors.h"
21-
2211
class ParameterPanel : public juce::Component
2312
{
2413
public:
@@ -62,3 +51,5 @@ class ParameterPanel : public juce::Component
6251

6352
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(ParameterPanel);
6453
};
54+
55+
#endif // SURGE_SRC_SURGE_FX_PARAMETERPANEL_H

src/surge-fx/SurgeLookAndFeel.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#pragma once
21
/*
32
* Surge XT - a free and open source hybrid synthesizer,
43
* built by Surge Synth Team
@@ -21,6 +20,8 @@
2120
* https://github.com/surge-synthesizer/surge
2221
*/
2322

23+
#ifndef SURGE_SRC_SURGE_FX_SURGELOOKANDFEEL_H
24+
#define SURGE_SRC_SURGE_FX_SURGELOOKANDFEEL_H
2425
#include "version.h"
2526

2627
#include "juce_gui_basics/juce_gui_basics.h"
@@ -505,3 +506,4 @@ class SurgeTempoSyncSwitch : public juce::ToggleButton
505506
g.fillRoundedRectangle(kbounds, controlRadius);
506507
}
507508
};
509+
#endif // SURGE_SRC_SURGE_FX_SURGELOOKANDFEEL_H

0 commit comments

Comments
 (0)