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_DATA_FIELD_BOOLEAN
#define HEADER_DATA_FIELD_BOOLEAN
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -57,5 +56,3 @@ class BooleanValue : public ChoiceValue {
DECLARE_REFLECTION();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_CHOICE
#define HEADER_DATA_FIELD_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -180,5 +179,3 @@ class ChoiceValue : public Value {
virtual bool update(Context&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_COLOR
#define HEADER_DATA_FIELD_COLOR
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -81,5 +80,3 @@ class ColorValue : public Value {
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_IMAGE
#define HEADER_DATA_FIELD_IMAGE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -52,5 +51,3 @@ class ImageValue : public Value {
Age last_update; ///< When was the image last changed?
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_INFORMATION
#define HEADER_DATA_FIELD_INFORMATION
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -65,5 +64,3 @@ class InfoValue : public Value {
virtual bool update(Context&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_MULTIPLE_CHOICE
#define HEADER_DATA_FIELD_MULTIPLE_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -79,5 +78,3 @@ class MultipleChoiceValue : public ChoiceValue {
/// Is the given choice selected in the value?
bool chosen(const String& multiple_choice_value, const String& chioce);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_PACKAGE_CHOICE
#define HEADER_DATA_FIELD_PACKAGE_CHOICE
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -66,5 +65,3 @@ class PackageChoiceValue : public Value {
virtual bool update(Context&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_SYMBOL
#define HEADER_DATA_FIELD_SYMBOL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -72,5 +71,3 @@ class SymbolValue : public Value {
Age last_update; ///< When was the symbol last changed?
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_TEXT
#define HEADER_DATA_FIELD_TEXT
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -122,5 +121,3 @@ class FakeTextValue : public TextValue {
virtual bool equals(const Value* that);
};
// ----------------------------------------------------------------------------- : EOF
#endif