WindowsClock.hpp 672 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-04-01
  6. * Changed: 2024-05-25
  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. * @class(name: 'WindowsClock', package: 'time')
  15. * */
  16. namespace ls::std::time
  17. {
  18. class LS_STD_DYNAMIC_GOAL WindowsClock : public ls::std::time::IClock
  19. {
  20. public:
  21. WindowsClock();
  22. ~WindowsClock() noexcept override;
  23. [[nodiscard]] bool setTime(const ls::std::time::DateParameter &_dateParameter) override;
  24. };
  25. }
  26. #endif