summaryrefslogtreecommitdiffstats
path: root/test/src/example.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/example.h')
-rw-r--r--test/src/example.h41
1 files changed, 9 insertions, 32 deletions
diff --git a/test/src/example.h b/test/src/example.h
index ca87f74..fb18762 100644
--- a/test/src/example.h
+++ b/test/src/example.h
@@ -1,38 +1,15 @@
-/*************************************************************************/
-/* example.h */
-/*************************************************************************/
-/* This file is part of: */
-/* GODOT ENGINE */
-/* https://godotengine.org */
-/*************************************************************************/
-/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
-/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
-/* */
-/* Permission is hereby granted, free of charge, to any person obtaining */
-/* a copy of this software and associated documentation files (the */
-/* "Software"), to deal in the Software without restriction, including */
-/* without limitation the rights to use, copy, modify, merge, publish, */
-/* distribute, sublicense, and/or sell copies of the Software, and to */
-/* permit persons to whom the Software is furnished to do so, subject to */
-/* the following conditions: */
-/* */
-/* The above copyright notice and this permission notice shall be */
-/* included in all copies or substantial portions of the Software. */
-/* */
-/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
-/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
-/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
-/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
-/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
-/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
-/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
-/*************************************************************************/
+/* godot-cpp integration testing project.
+ *
+ * This is free and unencumbered software released into the public domain.
+ */
#ifndef EXAMPLE_CLASS_H
#define EXAMPLE_CLASS_H
-// We don't need windows.h in this plugin but many others do and it throws up on itself all the time
-// So best to include it and make sure CI warns us when we use something Microsoft took for their own goals....
+// We don't need windows.h in this example plugin but many others do, and it can
+// lead to annoying situations due to the ton of macros it defines.
+// So we include it and make sure CI warns us if we use something that conflicts
+// with a Windows define.
#ifdef WIN32
#include <windows.h>
#endif
@@ -110,4 +87,4 @@ public:
VARIANT_ENUM_CAST(Example, Constants);
-#endif // ! EXAMPLE_CLASS_H
+#endif // EXAMPLE_CLASS_H