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_VALUE_CHOICE
#define HEADER_GUI_VALUE_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -100,5 +99,3 @@ class DropDownChoiceList : public DropDownChoiceListBase {
virtual DropDownList* createSubMenu(ChoiceField::ChoiceP group) const;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_COLOR
#define HEADER_GUI_VALUE_COLOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -39,5 +38,3 @@ class ColorValueEditor : public ColorValueViewer, public ValueEditor {
void changeCustom();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_EDITOR
#define HEADER_GUI_VALUE_EDITOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -153,5 +152,3 @@ class ValueEditor {
Type##ValueEditor::Type##ValueEditor(DataEditor& parent, const Type##StyleP& style) \
: Type##ValueViewer(parent, style)
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_IMAGE
#define HEADER_GUI_VALUE_IMAGE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -37,5 +36,3 @@ class ImageValueEditor : public ImageValueViewer, public ValueEditor {
void sliceImage(const Image&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_INFORMATION
#define HEADER_GUI_VALUE_INFORMATION
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -24,5 +23,3 @@ class InfoValueEditor : public InfoValueViewer, public ValueEditor {
virtual bool drawLabel() const { 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_VALUE_MULTIPLE_CHOICE
#define HEADER_GUI_VALUE_MULTIPLE_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -42,5 +41,3 @@ class MultipleChoiceValueEditor : public MultipleChoiceValueViewer, public Value
void toggleDefault();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_PACKAGE_CHOICE
#define HEADER_GUI_VALUE_PACKAGE_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -38,5 +37,3 @@ class PackageChoiceValueEditor : public PackageChoiceValueViewer, public ValueEd
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_SYMBOL
#define HEADER_GUI_VALUE_SYMBOL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -43,5 +42,3 @@ class SymbolValueEditor : public SymbolValueViewer, public ValueEditor {
Bitmap button_images[1];
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_TEXT
#define HEADER_GUI_VALUE_TEXT
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -187,5 +186,3 @@ class TextValueEditor : public TextValueViewer, public ValueEditor {
};
// ----------------------------------------------------------------------------- : EOF
#endif