Replace include guards by #pragma once

This commit is contained in:
Twan van Laarhoven
2020-04-26 01:25:16 +02:00
parent bad9981ad9
commit 54a3cbfde3
167 changed files with 167 additions and 670 deletions
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_BASIC_SHAPE_EDITOR
#define HEADER_GUI_SYMBOL_BASIC_SHAPE_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -69,5 +68,3 @@ class SymbolBasicShapeEditor : public SymbolEditorBase {
void makeCenteredShape(const Vector2D& c, Vector2D r, bool constrained);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_CONTROL
#define HEADER_GUI_SYMBOL_CONTROL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -102,5 +101,3 @@ class SymbolControl : public wxControl, public SymbolViewer {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_EDITOR
#define HEADER_GUI_SYMBOL_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -91,5 +90,3 @@ class SymbolEditorBase : public IntrusivePtrVirtualBase {
virtual bool isEditing() { return false; }
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_PART_LIST
#define HEADER_GUI_SYMBOL_PART_LIST
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -105,5 +104,3 @@ class SymbolPartList : public wxScrolledWindow, public SymbolView {
void updateCaret(DC& dc, int x, int y, int h, const SymbolPartP& part);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_POINT_EDITOR
#define HEADER_GUI_SYMBOL_POINT_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -165,5 +164,3 @@ class SymbolPointEditor : public SymbolEditorBase {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_SELECT_EDITOR
#define HEADER_GUI_SYMBOL_SELECT_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -120,5 +119,3 @@ class SymbolSelectEditor : public SymbolEditorBase {
void resetActions();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_SELECTION
#define HEADER_GUI_SYMBOL_SELECTION
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -83,5 +82,3 @@ class SymbolPartsSelection {
void clearChildren (SymbolPart* part);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_SYMMETRY_EDITOR
#define HEADER_GUI_SYMBOL_SYMMETRY_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -70,5 +69,3 @@ class SymbolSymmetryEditor : public SymbolEditorBase {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_WINDOW
#define HEADER_GUI_SYMBOL_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -71,5 +70,3 @@ class SymbolWindow : public wxFrame {
void onSelectFromControl();
};
// ----------------------------------------------------------------------------- : EOF
#endif