浏览代码

Remove unused IFactory interface

Patrick-Christopher Mattulat 2 年之前
父节点
当前提交
28d22aeb17
共有 2 个文件被更改,包括 1 次插入39 次删除
  1. 0 37
      include/ls_std/core/interface/IFactory.hpp
  2. 1 2
      include/ls_std/ls_std_core.hpp

+ 0 - 37
include/ls_std/core/interface/IFactory.hpp

@@ -1,37 +0,0 @@
-/*
- * Author:          Patrick-Christopher Mattulat
- * Company:         Lynar Studios
- * E-Mail:          webmaster@lynarstudios.com
- * Created:         2021-04-23
- * Changed:         2022-05-11
- *
- * */
-
-#ifndef LS_STD_I_FACTORY_HPP
-#define LS_STD_I_FACTORY_HPP
-
-#include <memory>
-#include <ls_std/core/Class.hpp>
-
-//TODO: can this class be removed?
-
-namespace ls
-{
-  namespace std
-  {
-    namespace core
-    {
-      class IFactory
-      {
-        public:
-
-          IFactory() = default;
-          ~IFactory() = default;
-
-          virtual ::std::shared_ptr<ls::std::core::Class> build() = 0;
-      };
-    }
-  }
-}
-
-#endif

+ 1 - 2
include/ls_std/ls_std_core.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2022-05-13
- * Changed:         2022-05-13
+ * Changed:         2022-05-16
  *
  * */
 
@@ -21,7 +21,6 @@
 
 #include <ls_std/core/interface/IBoxing.hpp>
 #include <ls_std/core/interface/IEventSubscriber.hpp>
-#include <ls_std/core/interface/IFactory.hpp>
 #include <ls_std/core/interface/IListener.hpp>
 #include <ls_std/core/interface/IReader.hpp>
 #include <ls_std/core/interface/ISerializable.hpp>