WindowsClock.hpp 758 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-04-01
  6. * Changed: 2024-09-11
  7. *
  8. * */
  9. #ifndef LS_STD_WINDOW_CLOCK_HPP
  10. #define LS_STD_WINDOW_CLOCK_HPP
  11. #include "IClock.hpp"
  12. #include <ls-std/os/dynamic-goal.hpp>
  13. /*
  14. * @doc: class(name: 'WindowsClock', package: 'time')
  15. * @doc: time.WindowsClock.description('This is a Windows based internal time.')
  16. * */
  17. namespace ls::std::time
  18. {
  19. class LS_STD_DYNAMIC_GOAL WindowsClock : public ls::std::time::IClock
  20. {
  21. public:
  22. WindowsClock();
  23. ~WindowsClock() noexcept override;
  24. [[nodiscard]] bool setTime(const ls::std::time::DateParameter &_dateParameter) override;
  25. };
  26. }
  27. #endif