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_SET_CARDS_PANEL
#define HEADER_GUI_SET_CARDS_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -100,5 +99,3 @@ class CardsPanel : public SetWindowPanel {
wxMenu* makeAddCardsSubmenu(bool add_single_card_option);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_CONSOLE_PANEL
#define HEADER_GUI_SET_CONSOLE_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -68,5 +67,3 @@ private:
void onTimer(wxTimerEvent&);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_KEYWORDS_PANEL
#define HEADER_GUI_SET_KEYWORDS_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -79,5 +78,3 @@ class KeywordsPanel : public SetWindowPanel {
void onModeChange(wxCommandEvent& ev);
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_PANEL
#define HEADER_GUI_SET_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -80,5 +79,3 @@ class SetWindowPanel : public wxPanel, public SetView {
bool isInitialized() 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_SET_RANDOM_PACK_PANEL
#define HEADER_GUI_SET_RANDOM_PACK_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -98,5 +97,3 @@ class RandomPackPanel : public SetWindowPanel {
typedef PackItem PackItem_for_typeof;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_SET_INFO_PANEL
#define HEADER_GUI_SET_SET_INFO_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -43,5 +42,3 @@ class SetInfoPanel : public SetWindowPanel {
SetInfoEditor* editor;
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_STATS_PANEL
#define HEADER_GUI_SET_STATS_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -73,5 +72,3 @@ class StatsPanel : public SetWindowPanel {
void filterCards();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_STYLE_PANEL
#define HEADER_GUI_SET_STYLE_PANEL
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -63,5 +62,3 @@ class StylePanel : public SetWindowPanel {
void initControls();
};
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_WINDOW
#define HEADER_GUI_SET_WINDOW
#pragma once
// ----------------------------------------------------------------------------- : Includes
@@ -175,5 +174,3 @@ private:
void onEraseBackground (wxEraseEvent&) {} // reduce flicker
};
// ----------------------------------------------------------------------------- : EOF
#endif