PosixClock.hpp 568 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-03-15
  6. * Changed: 2024-05-31
  7. *
  8. * */
  9. #ifndef LS_STD_POSIX_CLOCK_HPP
  10. #define LS_STD_POSIX_CLOCK_HPP
  11. #include "IClock.hpp"
  12. #include <ls-std/core/definition.hpp>
  13. namespace ls::std::time
  14. {
  15. ls_std_class PosixClock final : public IClock
  16. {
  17. public:
  18. PosixClock();
  19. ~PosixClock() noexcept override;
  20. [[nodiscard]] bool setTime(const DateParameter &_dateParameter) override;
  21. };
  22. }
  23. #endif