mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 13:37:41 +00:00
enforce #ifndef __HEADER_H instead of #pragma once, for code consitency and better portability (#2296)
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef __UI_SPECTRUM_PAINTER_H
|
||||
#define __UI_SPECTRUM_PAINTER_H
|
||||
|
||||
#include "ui.hpp"
|
||||
#include "ui_language.hpp"
|
||||
@@ -165,3 +166,5 @@ class SpectrumPainterView : public View {
|
||||
};
|
||||
|
||||
} // namespace ui::external_app::spainter
|
||||
|
||||
#endif
|
||||
|
@@ -19,7 +19,8 @@
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef __UI_SPECTRUM_PAINTER_IMAGE_H
|
||||
#define __UI_SPECTRUM_PAINTER_IMAGE_H
|
||||
|
||||
#include "ui.hpp"
|
||||
#include "ui_widget.hpp"
|
||||
@@ -64,3 +65,5 @@ class SpectrumInputImageView : public View {
|
||||
};
|
||||
|
||||
} // namespace ui::external_app::spainter
|
||||
|
||||
#endif
|
||||
|
@@ -19,7 +19,8 @@
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef __UI_SPECTRUM_PAINTER_TEXT_H
|
||||
#define __UI_SPECTRUM_PAINTER_TEXT_H
|
||||
|
||||
#include "ui.hpp"
|
||||
#include "ui_widget.hpp"
|
||||
@@ -110,3 +111,5 @@ class SpectrumInputTextView : public View {
|
||||
};
|
||||
|
||||
} // namespace ui::external_app::spainter
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user