IPosixWriter.hpp 532 B

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