Mercurial > minori
view include/core/time.h @ 36:2743011a6042
*: mass update
formatted all source files, converted ALL instances of setStyleSheet() to
palettes and fonts (stylesheets suck), and I changed the clang-format file because
it wasn't working on my laptop for some reason.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 21 Sep 2023 15:17:47 -0400 |
parents | 5c0397762b53 |
children | c69230dc2b5d |
line wrap: on
line source
#ifndef __core__time_h #define __core__time_h #include <cstdint> #include <string> namespace Time { class Duration { public: Duration(int64_t l); int64_t InSeconds(); int64_t InMinutes(); int64_t InHours(); int64_t InDays(); std::string AsRelativeString(); private: int64_t length; }; int64_t GetSystemTime(); }; // namespace Time #endif // __core__time_h