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_RENDER_VALUE_CHOICE
#define HEADER_RENDER_VALUE_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -28,5 +27,3 @@ class ChoiceValueViewer : public ValueViewer {
bool prepare_choice_viewer(RotatedDC& dc, ValueViewer& viewer, ChoiceStyle& style, const String& value);
void draw_choice_viewer(RotatedDC& dc, ValueViewer& viewer, ChoiceStyle& style, const String& value);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_RENDER_VALUE_COLOR
#define HEADER_RENDER_VALUE_COLOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -26,5 +25,3 @@ class ColorValueViewer : public ValueViewer {
virtual bool containsPoint(const RealPoint& p) const;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_RENDER_VALUE_IMAGE
#define HEADER_RENDER_VALUE_IMAGE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -36,5 +35,3 @@ class ImageValueViewer : public ValueViewer {
static Bitmap imagePlaceholder(const Rotation& rot, UInt w, UInt h, const Image& background, bool editing);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_RENDER_VALUE_INFORMATION
#define HEADER_RENDER_VALUE_INFORMATION
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -24,5 +23,3 @@ class InfoValueViewer : public ValueViewer {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_RENDER_VALUE_MULTIPLE_CHOICE
#define HEADER_RENDER_VALUE_MULTIPLE_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -29,5 +28,3 @@ class MultipleChoiceValueViewer : public ValueViewer {
void drawChoice(RotatedDC& dc, RealPoint& pos, const String& choice, bool active = true);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_RENDER_VALUE_PACKAGE_CHOICE
#define HEADER_RENDER_VALUE_PACKAGE_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -34,5 +33,3 @@ class PackageChoiceValueViewer : public ValueViewer {
struct ComparePackagePosHint;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_RENDER_VALUE_SYMBOL
#define HEADER_RENDER_VALUE_SYMBOL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -27,5 +26,3 @@ class SymbolValueViewer : public ValueViewer {
vector<Bitmap> symbols; ///< Cached images
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_RENDER_VALUE_TEXT
#define HEADER_RENDER_VALUE_TEXT
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -33,5 +32,3 @@ class TextValueViewer : public ValueViewer {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_RENDER_VALUE_VIEWER
#define HEADER_RENDER_VALUE_VIEWER
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -120,5 +119,3 @@ class ValueViewer : public StyleListener {
}
// ----------------------------------------------------------------------------- : EOF
#endif