Parcourir la source

Add missing dynamic goals to header files

Patrick-Christopher Mattulat il y a 2 ans
Parent
commit
b4f2d32be4

+ 1 - 1
include/ls-std/core/Class.hpp

@@ -15,7 +15,7 @@
 
 namespace ls::std::core
 {
-  class LS_STD_DYNAMIC_GOAL Class // TODO: check if LS_STD_DYNAMIC_GOAL is set properly project wide
+  class LS_STD_DYNAMIC_GOAL Class
   {
     public:
 

+ 2 - 1
include/ls-std/core/LibraryVersion.hpp

@@ -10,11 +10,12 @@
 #ifndef LS_STD_LIBRARY_VERSION_HPP
 #define LS_STD_LIBRARY_VERSION_HPP
 
+#include <ls-std/os/dynamic-goal.hpp>
 #include <string>
 
 namespace ls::std::core
 {
-  class LibraryVersion
+  class LS_STD_DYNAMIC_GOAL LibraryVersion
   {
     public:
 

+ 3 - 2
include/ls-std/core/exception/EventNotHandledException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-05-27
- * Changed:         2023-02-04
+ * Changed:         2023-02-05
  *
  * */
 
@@ -11,10 +11,11 @@
 #define LS_STD_EVENT_NOT_HANDLED_EXCEPTION_HPP
 
 #include <exception>
+#include <ls-std/os/dynamic-goal.hpp>
 
 namespace ls::std::core
 {
-  class EventNotHandledException : public ::std::exception
+  class LS_STD_DYNAMIC_GOAL EventNotHandledException : public ::std::exception
   {
     public:
 

+ 3 - 2
include/ls-std/core/exception/EventNotSubscribedException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-05-27
- * Changed:         2023-02-04
+ * Changed:         2023-02-05
  *
  * */
 
@@ -11,10 +11,11 @@
 #define LS_STD_EVENT_NOT_SUBSCRIBED_EXCEPTION_HPP
 
 #include <exception>
+#include <ls-std/os/dynamic-goal.hpp>
 
 namespace ls::std::core
 {
-  class EventNotSubscribedException : public ::std::exception
+  class LS_STD_DYNAMIC_GOAL EventNotSubscribedException : public ::std::exception
   {
     public:
 

+ 3 - 2
include/ls-std/core/exception/FileNotFoundException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2023-02-04
+ * Changed:         2023-02-05
  *
  * */
 
@@ -12,12 +12,13 @@
 
 #include <cstring>
 #include <exception>
+#include <ls-std/os/dynamic-goal.hpp>
 #include <string>
 
 //TODO: pass parameters, use class, show class name
 namespace ls::std::core
 {
-  class FileNotFoundException : public ::std::exception
+  class LS_STD_DYNAMIC_GOAL FileNotFoundException : public ::std::exception
   {
     public:
 

+ 3 - 2
include/ls-std/core/exception/FileOperationException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-15
- * Changed:         2023-02-04
+ * Changed:         2023-02-05
  *
  * */
 
@@ -11,11 +11,12 @@
 #define LS_STD_FILE_OPERATION_EXCEPTION_HPP
 
 #include <exception>
+#include <ls-std/os/dynamic-goal.hpp>
 #include <string>
 
 namespace ls::std::core
 {
-  class FileOperationException : public ::std::exception
+  class LS_STD_DYNAMIC_GOAL FileOperationException : public ::std::exception
   {
     public:
 

+ 3 - 2
include/ls-std/core/exception/IllegalArgumentException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-09
- * Changed:         2023-02-04
+ * Changed:         2023-02-05
  *
  * */
 
@@ -11,10 +11,11 @@
 #define LS_STD_ILLEGAL_ARGUMENT_EXCEPTION_HPP
 
 #include <exception>
+#include <ls-std/os/dynamic-goal.hpp>
 
 namespace ls::std::core
 {
-  class IllegalArgumentException : public ::std::exception
+  class LS_STD_DYNAMIC_GOAL IllegalArgumentException : public ::std::exception
   {
     public:
 

+ 3 - 2
include/ls-std/core/exception/IllegalArithmeticOperationException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-07
- * Changed:         2023-02-04
+ * Changed:         2023-02-05
  *
  * */
 
@@ -11,10 +11,11 @@
 #define LS_STD_ILLEGAL_OPERATION_EXCEPTION_HPP
 
 #include <exception>
+#include <ls-std/os/dynamic-goal.hpp>
 
 namespace ls::std::core
 {
-  class IllegalArithmeticOperationException : public ::std::exception
+  class LS_STD_DYNAMIC_GOAL IllegalArithmeticOperationException : public ::std::exception
   {
     public:
 

+ 3 - 2
include/ls-std/core/exception/IncompleteJsonException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-04-30
- * Changed:         2023-02-04
+ * Changed:         2023-02-05
  *
  * */
 
@@ -11,10 +11,11 @@
 #define LS_STD_INCOMPLETE_JSON_EXCEPTION_HPP
 
 #include <exception>
+#include <ls-std/os/dynamic-goal.hpp>
 
 namespace ls::std::core
 {
-  class IncompleteJsonException : public ::std::exception
+  class LS_STD_DYNAMIC_GOAL IncompleteJsonException : public ::std::exception
   {
     public:
 

+ 3 - 2
include/ls-std/core/exception/NullPointerException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-06
- * Changed:         2023-02-04
+ * Changed:         2023-02-05
  *
  * */
 
@@ -11,10 +11,11 @@
 #define LS_STD_NULL_POINTER_EXCEPTION_HPP
 
 #include <exception>
+#include <ls-std/os/dynamic-goal.hpp>
 
 namespace ls::std::core
 {
-  class NullPointerException : public ::std::exception
+  class LS_STD_DYNAMIC_GOAL NullPointerException : public ::std::exception
   {
     public:
 

+ 2 - 1
include/ls-std/core/interface/IBoxing.hpp

@@ -10,11 +10,12 @@
 #ifndef LS_STD_I_BOXING_HPP
 #define LS_STD_I_BOXING_HPP
 
+#include <ls-std/os/dynamic-goal.hpp>
 #include <string>
 
 namespace ls::std::core::interface_type
 {
-  class IBoxing
+  class LS_STD_DYNAMIC_GOAL IBoxing
   {
     public:
 

+ 2 - 1
include/ls-std/core/interface/IEncoding.hpp

@@ -10,11 +10,12 @@
 #ifndef LS_STD_I_ENCODING_HPP
 #define LS_STD_I_ENCODING_HPP
 
+#include <ls-std/os/dynamic-goal.hpp>
 #include <string>
 
 namespace ls::std::core::interface_type
 {
-  class IEncoding
+  class LS_STD_DYNAMIC_GOAL IEncoding
   {
     public:
 

+ 2 - 1
include/ls-std/core/interface/IEventSubscriber.hpp

@@ -12,11 +12,12 @@
 
 #include "IListener.hpp"
 #include <ls-std/core/types/EventTypes.hpp>
+#include <ls-std/os/dynamic-goal.hpp>
 #include <memory>
 
 namespace ls::std::core::interface_type
 {
-  class IEventSubscriber
+  class LS_STD_DYNAMIC_GOAL IEventSubscriber
   {
     public:
 

+ 2 - 1
include/ls-std/core/interface/IListener.hpp

@@ -11,10 +11,11 @@
 #define LS_STD_I_LISTENER_HPP
 
 #include <ls-std/core/Class.hpp>
+#include <ls-std/os/dynamic-goal.hpp>
 
 namespace ls::std::core::interface_type
 {
-  class IListener
+  class LS_STD_DYNAMIC_GOAL IListener
   {
     public:
 

+ 2 - 1
include/ls-std/core/interface/IReader.hpp

@@ -11,10 +11,11 @@
 #define LS_STD_I_READER_HPP
 
 #include <ls-std/core/types/Types.hpp>
+#include <ls-std/os/dynamic-goal.hpp>
 
 namespace ls::std::core::interface_type
 {
-  class IReader
+  class LS_STD_DYNAMIC_GOAL IReader
   {
     public:
 

+ 2 - 1
include/ls-std/core/interface/ISerializable.hpp

@@ -11,10 +11,11 @@
 #define LS_STD_I_SERIALIZABLE_HPP
 
 #include <ls-std/core/types/Types.hpp>
+#include <ls-std/os/dynamic-goal.hpp>
 
 namespace ls::std::core::interface_type
 {
-  class ISerializable
+  class LS_STD_DYNAMIC_GOAL ISerializable
   {
     public:
 

+ 2 - 1
include/ls-std/core/interface/IStorable.hpp

@@ -11,10 +11,11 @@
 #define LS_STD_I_STORABLE_HPP
 
 #include <ls-std/core/types/Types.hpp>
+#include <ls-std/os/dynamic-goal.hpp>
 
 namespace ls::std::core::interface_type
 {
-  class IStorable
+  class LS_STD_DYNAMIC_GOAL IStorable
   {
     public:
 

+ 2 - 1
include/ls-std/core/interface/IWriter.hpp

@@ -11,11 +11,12 @@
 #define LS_STD_I_WRITER_HPP
 
 #include <ls-std/core/types/Types.hpp>
+#include <ls-std/os/dynamic-goal.hpp>
 #include <vector>
 
 namespace ls::std::core::interface_type
 {
-  class IWriter
+  class LS_STD_DYNAMIC_GOAL IWriter
   {
     public:
 

+ 3 - 2
include/ls-std/core/utils/RegexUtils.hpp

@@ -3,18 +3,19 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-18
- * Changed:         2023-02-04
+ * Changed:         2023-02-05
  *
  * */
 
 #ifndef LS_STD_REGEX_UTILS_HPP
 #define LS_STD_REGEX_UTILS_HPP
 
+#include <ls-std/os/dynamic-goal.hpp>
 #include <string>
 
 namespace ls::std::core
 {
-  class RegexUtils
+  class LS_STD_DYNAMIC_GOAL RegexUtils
   {
     public:
 

+ 3 - 1
include/ls-std/io/FilePathSeparatorMatch.hpp

@@ -10,9 +10,11 @@
 #ifndef LS_STD_FILE_PATH_MATCH_HPP
 #define LS_STD_FILE_PATH_MATCH_HPP
 
+#include <ls-std/os/dynamic-goal.hpp>
+
 namespace ls::std::io
 {
-  class FilePathSeparatorMatch
+  class LS_STD_DYNAMIC_GOAL FilePathSeparatorMatch
   {
     public:
 

+ 3 - 2
include/ls-std/io/NewLine.hpp

@@ -3,18 +3,19 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-18
- * Changed:         2023-02-04
+ * Changed:         2023-02-05
  *
  * */
 
 #ifndef LS_STD_NEW_LINE_HPP
 #define LS_STD_NEW_LINE_HPP
 
+#include <ls-std/os/dynamic-goal.hpp>
 #include <string>
 
 namespace ls::std::io
 {
-  class NewLine
+  class LS_STD_DYNAMIC_GOAL NewLine
   {
     public:
 

+ 2 - 1
include/ls-std/io/kv/KvParseParameter.hpp

@@ -10,11 +10,12 @@
 #ifndef LS_STD_KV_PARSE_DATA_HPP
 #define LS_STD_KV_PARSE_DATA_HPP
 
+#include <ls-std/os/dynamic-goal.hpp>
 #include <string>
 
 namespace ls::std::io
 {
-  class KvParseParameter
+  class LS_STD_DYNAMIC_GOAL KvParseParameter
   {
     public:
 

+ 2 - 1
include/ls-std/io/xml/XmlParseParameter.hpp

@@ -12,11 +12,12 @@
 
 #include "XmlNode.hpp"
 #include <cstdint>
+#include <ls-std/os/dynamic-goal.hpp>
 #include <memory>
 
 namespace ls::std::io
 {
-  class XmlParseParameter
+  class LS_STD_DYNAMIC_GOAL XmlParseParameter
   {
     public: