Mercurial > minori
diff include/core/session.h @ 51:75c804f713b2
window: add about window,
*: use tr() when applicable (useful for i18n)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 25 Sep 2023 20:29:26 -0400 |
parents | e613772f41d5 |
children | c69230dc2b5d |
line wrap: on
line diff
--- a/include/core/session.h Mon Sep 25 13:50:56 2023 -0400 +++ b/include/core/session.h Mon Sep 25 20:29:26 2023 -0400 @@ -4,8 +4,10 @@ #include <QElapsedTimer> struct Session { + public: Config config; Session() { timer.start(); } + /* we literally *cannot* be lying to the user by doing this */ void IncrementRequests() { requests++; }; int GetRequests() { return requests; }; int uptime() { return timer.elapsed(); }