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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_CLI_MAIN #pragma once
#define HEADER_CLI_MAIN
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -48,5 +47,3 @@ private:
bool run_script_file(String const& filename); bool run_script_file(String const& filename);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_CLI_TEXT_IO_HANDLER #pragma once
#define HEADER_CLI_TEXT_IO_HANDLER
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -60,5 +59,3 @@ private:
/// The global TextIOHandler object /// The global TextIOHandler object
extern TextIOHandler cli; extern TextIOHandler cli;
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ACTION_GENERIC #pragma once
#define HEADER_DATA_ACTION_GENERIC
/** @file data/action/generic.hpp /** @file data/action/generic.hpp
* *
@@ -112,5 +111,3 @@ void GenericAddAction<T>::perform(vector<T>& container, bool to_undo) const {
} }
} }
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ACTION_KEYWORD #pragma once
#define HEADER_DATA_ACTION_KEYWORD
/** @file data/action/keyword.hpp /** @file data/action/keyword.hpp
* *
@@ -100,5 +99,3 @@ class ChangeKeywordModeAction : public Action {
String mode; String mode;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ACTION_SET #pragma once
#define HEADER_DATA_ACTION_SET
/** @file data/action/set.hpp /** @file data/action/set.hpp
* *
@@ -157,5 +156,3 @@ class ChangePackAction : public PackTypesAction {
size_t pos; size_t pos;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ACTION_SYMBOL #pragma once
#define HEADER_DATA_ACTION_SYMBOL
/** @file data/action/symbol.hpp /** @file data/action/symbol.hpp
* *
@@ -314,5 +313,3 @@ class UngroupSymbolPartsAction : public GroupSymbolPartsActionBase {
virtual String getName(bool to_undo) const; virtual String getName(bool to_undo) const;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ACTION_SYMBOL_PART #pragma once
#define HEADER_DATA_ACTION_SYMBOL_PART
/** @file data/action/symbol_part.hpp /** @file data/action/symbol_part.hpp
* *
@@ -236,5 +235,3 @@ class SymmetryCopiesAction : public Action {
String old_name; String old_name;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ACTION_VALUE #pragma once
#define HEADER_DATA_ACTION_VALUE
/** @file data/action/value.hpp /** @file data/action/value.hpp
* *
@@ -178,5 +177,3 @@ class ValueActionPerformer {
SetP set; ///< Set for the actions SetP set; ///< Set for the actions
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_ADD_CARDS_SCRIPT #pragma once
#define HEADER_DATA_ADD_CARDS_SCRIPT
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -34,5 +33,3 @@ class AddCardsScript : public IntrusivePtrBase<AddCardsScript> {
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_CARD #pragma once
#define HEADER_DATA_CARD
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -100,5 +99,3 @@ inline String type_name(const vector<CardP>&) {
void mark_dependency_member(const Card& value, const String& name, const Dependency& dep); void mark_dependency_member(const Card& value, const String& name, const Dependency& dep);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_DRAW_WHAT #pragma once
#define HEADER_DATA_DRAW_WHAT
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -26,5 +25,3 @@ enum DrawWhat
, DRAW_NATIVELOOK = 0x400 // use a native look , DRAW_NATIVELOOK = 0x400 // use a native look
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_EXPORT_TEMPLATE #pragma once
#define HEADER_DATA_EXPORT_TEMPLATE
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -62,5 +61,3 @@ struct ExportInfo {
DECLARE_DYNAMIC_ARG(ExportInfo*, export_info); DECLARE_DYNAMIC_ARG(ExportInfo*, export_info);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD #pragma once
#define HEADER_DATA_FIELD
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -306,5 +305,3 @@ inline String type_name(const Value&) {
void mark_dependency_member(const IndexMap<FieldP,ValueP>& value, const String& name, const Dependency& dep); void mark_dependency_member(const IndexMap<FieldP,ValueP>& value, const String& name, const Dependency& dep);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_BOOLEAN #pragma once
#define HEADER_DATA_FIELD_BOOLEAN
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -57,5 +56,3 @@ class BooleanValue : public ChoiceValue {
DECLARE_REFLECTION(); DECLARE_REFLECTION();
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_CHOICE #pragma once
#define HEADER_DATA_FIELD_CHOICE
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -180,5 +179,3 @@ class ChoiceValue : public Value {
virtual bool update(Context&); 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_COLOR #pragma once
#define HEADER_DATA_FIELD_COLOR
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_IMAGE #pragma once
#define HEADER_DATA_FIELD_IMAGE
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -52,5 +51,3 @@ class ImageValue : public Value {
Age last_update; ///< When was the image last changed? 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_INFORMATION #pragma once
#define HEADER_DATA_FIELD_INFORMATION
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -65,5 +64,3 @@ class InfoValue : public Value {
virtual bool update(Context&); 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_MULTIPLE_CHOICE #pragma once
#define HEADER_DATA_FIELD_MULTIPLE_CHOICE
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -79,5 +78,3 @@ class MultipleChoiceValue : public ChoiceValue {
/// Is the given choice selected in the value? /// Is the given choice selected in the value?
bool chosen(const String& multiple_choice_value, const String& chioce); 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_PACKAGE_CHOICE #pragma once
#define HEADER_DATA_FIELD_PACKAGE_CHOICE
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -66,5 +65,3 @@ class PackageChoiceValue : public Value {
virtual bool update(Context&); 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_SYMBOL #pragma once
#define HEADER_DATA_FIELD_SYMBOL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -72,5 +71,3 @@ class SymbolValue : public Value {
Age last_update; ///< When was the symbol last changed? 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FIELD_TEXT #pragma once
#define HEADER_DATA_FIELD_TEXT
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -122,5 +121,3 @@ class FakeTextValue : public TextValue {
virtual bool equals(const Value* that); virtual bool equals(const Value* that);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FILTER #pragma once
#define HEADER_DATA_FILTER
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -84,5 +83,3 @@ class QuickFilter : public Filter<T> {
String query; String query;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FONT #pragma once
#define HEADER_DATA_FONT
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -71,5 +70,3 @@ class Font : public IntrusivePtrBase<Font> {
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FORMAT_CLIPBOARD #pragma once
#define HEADER_DATA_FORMAT_CLIPBOARD
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -57,5 +56,3 @@ class CardsOnClipboard : public wxDataObjectComposite {
CardsOnClipboard(const SetP& set, const vector<CardP>& cards); CardsOnClipboard(const SetP& set, const vector<CardP>& cards);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FORMAT_FORMATS #pragma once
#define HEADER_DATA_FORMAT_FORMATS
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -108,5 +107,3 @@ void export_mws(Window* parent, const SetP& set);
/// Export a set to Apprentice /// Export a set to Apprentice
void export_apprentice(Window* parent, const SetP& set); void export_apprentice(Window* parent, const SetP& set);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_FORMAT_IMAGE_TO_SYMBOL #pragma once
#define HEADER_DATA_FORMAT_IMAGE_TO_SYMBOL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -33,5 +32,3 @@ void simplify_symbol(Symbol&);
/// Simplify a symbol parts, i.e. use bezier curves instead of lots of lines /// Simplify a symbol parts, i.e. use bezier curves instead of lots of lines
void simplify_symbol_shape(SymbolShape&); void simplify_symbol_shape(SymbolShape&);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_GAME #pragma once
#define HEADER_DATA_GAME
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -84,5 +83,3 @@ inline String type_name(const Game&) {
return _TYPE_("game"); return _TYPE_("game");
} }
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_GRAPH_TYPE #pragma once
#define HEADER_DATA_GRAPH_TYPE
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -32,5 +31,3 @@ inline size_t dimensionality(GraphType type) {
else return 0; else return 0;
} }
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_INSTALLER #pragma once
#define HEADER_DATA_INSTALLER
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -196,5 +195,3 @@ extern String mse_package;
InstallablePackageP mse_installable_package(); InstallablePackageP mse_installable_package();
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_KEYWORD #pragma once
#define HEADER_DATA_KEYWORD
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -202,5 +201,3 @@ class KeywordParamValue : public ScriptValue {
virtual ScriptValueP getMember(const String& name) const; virtual ScriptValueP getMember(const String& name) const;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_LOCALE #pragma once
#define HEADER_DATA_LOCALE
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -52,5 +51,3 @@ protected:
/// The global locale object /// The global locale object
extern LocaleP the_locale; extern LocaleP the_locale;
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_PACK #pragma once
#define HEADER_DATA_PACK
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -145,5 +144,3 @@ class PackGenerator {
int max_depth; int max_depth;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_SET #pragma once
#define HEADER_DATA_SET
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -175,5 +174,3 @@ class SetView : public ActionListener {
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_SETTINGS #pragma once
#define HEADER_DATA_SETTINGS
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -225,5 +224,3 @@ class Settings {
/// The global settings object /// The global settings object
extern Settings settings; extern Settings settings;
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_STATISTICS #pragma once
#define HEADER_DATA_STATISTICS
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -69,5 +68,3 @@ class StatsCategory : public IntrusivePtrBase<StatsCategory> {
DECLARE_REFLECTION(); DECLARE_REFLECTION();
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_STYLESHEET #pragma once
#define HEADER_DATA_STYLESHEET
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -79,5 +78,3 @@ inline String type_name(const StyleSheet&) {
void mark_dependency_value(const StyleSheet& value, const Dependency& dep); void mark_dependency_value(const StyleSheet& value, const Dependency& dep);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_SYMBOL #pragma once
#define HEADER_DATA_SYMBOL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -318,5 +317,3 @@ class SymbolView : public ActionListener {
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_SYMBOL_FONT #pragma once
#define HEADER_DATA_SYMBOL_FONT
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -167,5 +166,3 @@ class SymbolFontRef {
void loadFont(Context& ctx); void loadFont(Context& ctx);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_DATA_WORD_LIST #pragma once
#define HEADER_DATA_WORD_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -59,5 +58,3 @@ class AutoReplace : public IntrusivePtrVirtualBase {
DECLARE_REFLECTION(); DECLARE_REFLECTION();
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GFX_BEZIER #pragma once
#define HEADER_GFX_BEZIER
/** @file gfx/bezier.hpp /** @file gfx/bezier.hpp
* *
@@ -122,5 +121,3 @@ UInt intersect_bezier_ray(const ControlPoint& p1, const ControlPoint& p2, const
// Does the line between p1 and p2 intersect the ray (half line) from (-inf, pos.y) to pos? // Does the line between p1 and p2 intersect the ray (half line) from (-inf, pos.y) to pos?
bool intersect_line_ray(const Vector2D& p1, const Vector2D& p2, const Vector2D& pos); bool intersect_line_ray(const Vector2D& p1, const Vector2D& p2, const Vector2D& pos);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GFX_COLOR #pragma once
#define HEADER_GFX_COLOR
/** @file gfx/color.hpp /** @file gfx/color.hpp
* *
@@ -114,5 +113,3 @@ void recolor(Image& img, RGB cr);
/// Fills an image with the specified color /// Fills an image with the specified color
void fill_image(Image& image, RGB color); void fill_image(Image& image, RGB color);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GFX_GENERATED_IMAGE #pragma once
#define HEADER_GFX_GENERATED_IMAGE
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -386,5 +385,3 @@ class ImageValueToImage : public GeneratedImage {
Age age; ///< Age the symbol was last updated Age age; ///< Age the symbol was last updated
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GFX_GFX #pragma once
#define HEADER_GFX_GFX
/** @file gfx/gfx.hpp /** @file gfx/gfx.hpp
* *
@@ -191,5 +190,3 @@ class AlphaMask : public IntrusivePtrBase<AlphaMask> {
void loadRowSizes() const; void loadRowSizes() const;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GFX_POLYNOMIAL #pragma once
#define HEADER_GFX_POLYNOMIAL
/** @file gfx/polynomial.hpp /** @file gfx/polynomial.hpp
* *
@@ -39,5 +38,3 @@ UInt solve_cubic(double a, double b, double c, double d, double* roots);
*/ */
UInt solve_cubic(double a, double b, double c, double* roots); UInt solve_cubic(double a, double b, double c, double* roots);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_ABOUT_WINDOW #pragma once
#define HEADER_GUI_ABOUT_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -102,5 +101,3 @@ class HoverButton : public HoverButtonBase {
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_AUTO_REPLACE_WINDOW #pragma once
#define HEADER_GUI_AUTO_REPLACE_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -49,5 +48,3 @@ class AutoReplaceWindow : public wxDialog {
void store(); void store();
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CARD_SELECT_WINDOW #pragma once
#define HEADER_GUI_CARD_SELECT_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -94,5 +93,3 @@ class CardSelectWindow : public wxDialog {
void onSelectNone(wxCommandEvent&); void onSelectNone(wxCommandEvent&);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_CARD_EDITOR #pragma once
#define HEADER_GUI_CONTROL_CARD_EDITOR
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -149,5 +148,3 @@ typedef DataEditor CardEditor;
FOR_EACH_REVERSE(v, viewers) \ FOR_EACH_REVERSE(v, viewers) \
if (ValueEditor* e = v->getEditor()) if (ValueEditor* e = v->getEditor())
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_CARD_LIST #pragma once
#define HEADER_GUI_CONTROL_CARD_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -150,5 +149,3 @@ class CardListBase : public ItemList, public SetView {
void onContextMenu (wxContextMenuEvent&); void onContextMenu (wxContextMenuEvent&);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_CARD_LIST_COLUMN_SELECT #pragma once
#define HEADER_GUI_CONTROL_CARD_LIST_COLUMN_SELECT
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -62,5 +61,3 @@ class CardListColumnSelectDialog : public wxDialog {
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_CARD_VIEWER #pragma once
#define HEADER_GUI_CONTROL_CARD_VIEWER
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -65,5 +64,3 @@ class CardViewer : public wxControl, public DataViewer {
class OverdrawDC_aux; class OverdrawDC_aux;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_FILTER_CTRL #pragma once
#define HEADER_GUI_CONTROL_FILTER_CTRL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -57,5 +56,3 @@ class FilterCtrl : public wxControl {
void onKillFocus(wxFocusEvent&); void onKillFocus(wxFocusEvent&);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_FILTERED_CARD_LIST #pragma once
#define HEADER_GUI_CONTROL_FILTERED_CARD_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -36,5 +35,3 @@ class FilteredCardList : public CardListBase {
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_GALLERY_LIST #pragma once
#define HEADER_GUI_CONTROL_GALLERY_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -138,5 +137,3 @@ class GalleryList : public wxPanel {
static const int SPACING = MARGIN + 2*BORDER; // distance between items static const int SPACING = MARGIN + 2*BORDER; // distance between items
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_GRAPH #pragma once
#define HEADER_GUI_CONTROL_GRAPH
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -381,5 +380,3 @@ class GraphControl : public wxControl {
void onSelectionChange(); void onSelectionChange();
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_IMAGE_CARD_LIST #pragma once
#define HEADER_GUI_CONTROL_IMAGE_CARD_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -58,5 +57,3 @@ class FilteredImageCardList : public ImageCardList {
CardListFilterP filter; ///< Filter with which this.cards is made CardListFilterP filter; ///< Filter with which this.cards is made
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_ITEM_LIST #pragma once
#define HEADER_GUI_CONTROL_ITEM_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -112,5 +111,3 @@ class ItemList : public wxListView {
void onContextMenu(wxContextMenuEvent&); void onContextMenu(wxContextMenuEvent&);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_KEYWORD_LIST #pragma once
#define HEADER_GUI_CONTROL_KEYWORD_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -105,5 +104,3 @@ class KeywordList : public ItemList, public SetView {
void onContextMenu (wxContextMenuEvent&); void onContextMenu (wxContextMenuEvent&);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_NATIVE_LOOK_EDITOR #pragma once
#define HEADER_GUI_CONTROL_NATIVE_LOOK_EDITOR
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -93,5 +92,3 @@ class ExportOptionsEditor : public NativeLookEditor {
ExportTemplateP export_template; ExportTemplateP export_template;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_PACKAGE_LIST #pragma once
#define HEADER_GUI_CONTROL_PACKAGE_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -74,5 +73,3 @@ class PackageList : public GalleryList {
vector<PackageData> packages; vector<PackageData> packages;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_SELECT_CARD_LIST #pragma once
#define HEADER_GUI_CONTROL_SELECT_CARD_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -46,5 +45,3 @@ class SelectCardList : public CardListBase {
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_TEXT_CTRL #pragma once
#define HEADER_GUI_CONTROL_TEXT_CTRL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -71,5 +70,3 @@ class TextCtrl : public DataEditor {
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_CONTROL_TREE_LIST #pragma once
#define HEADER_GUI_CONTROL_TREE_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -103,5 +102,3 @@ class TreeList : public wxPanel {
void RefreshLine(size_t line); void RefreshLine(size_t line);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_DROP_DOWN_LIST #pragma once
#define HEADER_GUI_DROP_DOWN_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -129,5 +128,3 @@ class DropDownList : public wxPopupWindow {
virtual void redrawArrowOnParent(); // allow override virtual void redrawArrowOnParent(); // allow override
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_HTML_EXPORT_WINDOW #pragma once
#define HEADER_GUI_HTML_EXPORT_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -34,5 +33,3 @@ class HtmlExportWindow : public ExportWindowBase {
void onUpdateUI(wxUpdateUIEvent& ev); void onUpdateUI(wxUpdateUIEvent& ev);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_ICON_MENU #pragma once
#define HEADER_GUI_ICON_MENU
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -35,5 +34,3 @@ class IconMenu : public wxMenu {
void set_menu_item_image(wxMenuItem* menuitem, const String& resource); void set_menu_item_image(wxMenuItem* menuitem, const String& resource);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_IMAGE_SLICE_WINDOW #pragma once
#define HEADER_GUI_IMAGE_SLICE_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -195,5 +194,3 @@ class ImageSliceSelector : public wxControl {
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_IMAGES_EXPORT_WINDOW #pragma once
#define HEADER_GUI_IMAGES_EXPORT_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -29,5 +28,3 @@ class ImagesExportWindow : public ExportWindowBase {
wxChoice* conflicts; wxChoice* conflicts;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_NEW_WINDOW #pragma once
#define HEADER_GUI_NEW_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -89,5 +88,3 @@ class SelectStyleSheetWindow : public wxDialog {
void done(); void done();
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_PACKAGE_UPDATE_LIST #pragma once
#define HEADER_GUI_PACKAGE_UPDATE_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -79,5 +78,3 @@ class PackageUpdateList : public TreeList {
friend class PackageIconRequest; friend class PackageIconRequest;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_PACKAGES_WINDOW #pragma once
#define HEADER_GUI_PACKAGES_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -53,5 +52,3 @@ class PackagesWindow : public wxDialog {
bool checkInstallerList(bool refresh = true); bool checkInstallerList(bool refresh = true);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_PREFERENCES_WINDOW #pragma once
#define HEADER_GUI_PREFERENCES_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -25,5 +24,3 @@ class PreferencesWindow : public wxDialog {
void onOk(wxCommandEvent&); void onOk(wxCommandEvent&);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_PRINT_WINDOW #pragma once
#define HEADER_GUI_PRINT_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -72,5 +71,3 @@ void print_preview(Window* parent, const SetP& set, const ExportCardSelectionCho
void print_set(Window* parent, const PrintJobP& job); void print_set(Window* parent, const PrintJobP& job);
void print_set(Window* parent, const SetP& set, const ExportCardSelectionChoices& choices); void print_set(Window* parent, const SetP& set, const ExportCardSelectionChoices& choices);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_CARDS_PANEL #pragma once
#define HEADER_GUI_SET_CARDS_PANEL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -100,5 +99,3 @@ class CardsPanel : public SetWindowPanel {
wxMenu* makeAddCardsSubmenu(bool add_single_card_option); 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_CONSOLE_PANEL #pragma once
#define HEADER_GUI_SET_CONSOLE_PANEL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -68,5 +67,3 @@ private:
void onTimer(wxTimerEvent&); void onTimer(wxTimerEvent&);
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_KEYWORDS_PANEL #pragma once
#define HEADER_GUI_SET_KEYWORDS_PANEL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -79,5 +78,3 @@ class KeywordsPanel : public SetWindowPanel {
void onModeChange(wxCommandEvent& ev); 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_PANEL #pragma once
#define HEADER_GUI_SET_PANEL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -80,5 +79,3 @@ class SetWindowPanel : public wxPanel, public SetView {
bool isInitialized() const; bool isInitialized() const;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_RANDOM_PACK_PANEL #pragma once
#define HEADER_GUI_SET_RANDOM_PACK_PANEL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -98,5 +97,3 @@ class RandomPackPanel : public SetWindowPanel {
typedef PackItem PackItem_for_typeof; 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_SET_INFO_PANEL #pragma once
#define HEADER_GUI_SET_SET_INFO_PANEL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -43,5 +42,3 @@ class SetInfoPanel : public SetWindowPanel {
SetInfoEditor* editor; SetInfoEditor* editor;
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_STATS_PANEL #pragma once
#define HEADER_GUI_SET_STATS_PANEL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -73,5 +72,3 @@ class StatsPanel : public SetWindowPanel {
void filterCards(); void filterCards();
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_STYLE_PANEL #pragma once
#define HEADER_GUI_SET_STYLE_PANEL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -63,5 +62,3 @@ class StylePanel : public SetWindowPanel {
void initControls(); void initControls();
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SET_WINDOW #pragma once
#define HEADER_GUI_SET_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -175,5 +174,3 @@ private:
void onEraseBackground (wxEraseEvent&) {} // reduce flicker void onEraseBackground (wxEraseEvent&) {} // reduce flicker
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_BASIC_SHAPE_EDITOR #pragma once
#define HEADER_GUI_SYMBOL_BASIC_SHAPE_EDITOR
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -69,5 +68,3 @@ class SymbolBasicShapeEditor : public SymbolEditorBase {
void makeCenteredShape(const Vector2D& c, Vector2D r, bool constrained); 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_CONTROL #pragma once
#define HEADER_GUI_SYMBOL_CONTROL
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_EDITOR #pragma once
#define HEADER_GUI_SYMBOL_EDITOR
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -91,5 +90,3 @@ class SymbolEditorBase : public IntrusivePtrVirtualBase {
virtual bool isEditing() { return false; } 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_PART_LIST #pragma once
#define HEADER_GUI_SYMBOL_PART_LIST
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -105,5 +104,3 @@ class SymbolPartList : public wxScrolledWindow, public SymbolView {
void updateCaret(DC& dc, int x, int y, int h, const SymbolPartP& part); 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_POINT_EDITOR #pragma once
#define HEADER_GUI_SYMBOL_POINT_EDITOR
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_SELECT_EDITOR #pragma once
#define HEADER_GUI_SYMBOL_SELECT_EDITOR
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -120,5 +119,3 @@ class SymbolSelectEditor : public SymbolEditorBase {
void resetActions(); void resetActions();
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_SELECTION #pragma once
#define HEADER_GUI_SYMBOL_SELECTION
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -83,5 +82,3 @@ class SymbolPartsSelection {
void clearChildren (SymbolPart* part); 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_SYMMETRY_EDITOR #pragma once
#define HEADER_GUI_SYMBOL_SYMMETRY_EDITOR
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_SYMBOL_WINDOW #pragma once
#define HEADER_GUI_SYMBOL_WINDOW
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -71,5 +70,3 @@ class SymbolWindow : public wxFrame {
void onSelectFromControl(); void onSelectFromControl();
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_THUMBNAIL_THREAD #pragma once
#define HEADER_GUI_THUMBNAIL_THREAD
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -80,5 +79,3 @@ class ThumbnailThread {
/// The global thumbnail generator thread /// The global thumbnail generator thread
extern ThumbnailThread thumbnail_thread; extern ThumbnailThread thumbnail_thread;
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_UTIL_UPDATE_CHECKER #pragma once
#define HEADER_UTIL_UPDATE_CHECKER
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -31,5 +30,3 @@ bool update_data_found();
/// Is there an update? /// Is there an update?
bool update_available(); bool update_available();
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_UTIL #pragma once
#define HEADER_GUI_UTIL
/** @file gui/util.hpp /** @file gui/util.hpp
* Utility functions for use in the gui. Most are related to drawing. * Utility functions for use in the gui. Most are related to drawing.
@@ -89,5 +88,3 @@ void draw_selection_rectangle(Window* win, DC& dc, const wxRect& rect, bool sele
/// Enable fancy themed selection rectangle on windows /// Enable fancy themed selection rectangle on windows
void enable_themed_selection_rectangle(Window* win); void enable_themed_selection_rectangle(Window* win);
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_CHOICE #pragma once
#define HEADER_GUI_VALUE_CHOICE
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -100,5 +99,3 @@ class DropDownChoiceList : public DropDownChoiceListBase {
virtual DropDownList* createSubMenu(ChoiceField::ChoiceP group) const; 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_COLOR #pragma once
#define HEADER_GUI_VALUE_COLOR
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -39,5 +38,3 @@ class ColorValueEditor : public ColorValueViewer, public ValueEditor {
void changeCustom(); void changeCustom();
}; };
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_EDITOR #pragma once
#define HEADER_GUI_VALUE_EDITOR
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -153,5 +152,3 @@ class ValueEditor {
Type##ValueEditor::Type##ValueEditor(DataEditor& parent, const Type##StyleP& style) \ Type##ValueEditor::Type##ValueEditor(DataEditor& parent, const Type##StyleP& style) \
: Type##ValueViewer(parent, 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_IMAGE #pragma once
#define HEADER_GUI_VALUE_IMAGE
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -37,5 +36,3 @@ class ImageValueEditor : public ImageValueViewer, public ValueEditor {
void sliceImage(const Image&); 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) | //| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+ //+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_VALUE_INFORMATION #pragma once
#define HEADER_GUI_VALUE_INFORMATION
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
@@ -24,5 +23,3 @@ class InfoValueEditor : public InfoValueViewer, public ValueEditor {
virtual bool drawLabel() const { return false; } virtual bool drawLabel() const { return false; }
}; };
// ----------------------------------------------------------------------------- : EOF
#endif

Some files were not shown because too many files have changed in this diff Show More