IPosixReader.hpp 529 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2022-12-15
  6. * Changed: 2022-12-23
  7. *
  8. * */
  9. #ifndef LS_STD_I_POSIX_READER_HPP
  10. #define LS_STD_I_POSIX_READER_HPP
  11. #include <unistd.h>
  12. namespace ls::std::core::interface_type
  13. {
  14. class IPosixReader
  15. {
  16. public:
  17. IPosixReader();
  18. virtual ~IPosixReader();
  19. virtual size_t read(int _unixFileDescriptor, void* _buffer, size_t _size) = 0;
  20. };
  21. }
  22. #endif