IStorable.hpp 636 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-19
  6. * Changed: 2023-02-08
  7. *
  8. * */
  9. #ifndef LS_STD_I_STORABLE_HPP
  10. #define LS_STD_I_STORABLE_HPP
  11. #include <ls-std/core/type/Types.hpp>
  12. #include <ls-std/os/dynamic-goal.hpp>
  13. namespace ls::std::core::interface_type
  14. {
  15. class LS_STD_DYNAMIC_GOAL IStorable
  16. {
  17. public:
  18. IStorable();
  19. virtual ~IStorable();
  20. virtual ls::std::core::type::byte_field load() = 0;
  21. virtual void save(const ls::std::core::type::byte_field &_data) = 0;
  22. };
  23. }
  24. #endif