Mercurial > minori
comparison include/core/session.h @ 236:4d461ef7d424
HUGE UPDATE: convert build system to autotools
why? because cmake sucks :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 19 Jan 2024 00:24:02 -0500 |
parents | 53211cb1e7f5 |
children | c130f47f6f48 |
comparison
equal
deleted
inserted
replaced
235:593108b3d555 | 236:4d461ef7d424 |
---|---|
14 void IncrementRequests() { requests++; }; | 14 void IncrementRequests() { requests++; }; |
15 int GetRequests() { return requests; }; | 15 int GetRequests() { return requests; }; |
16 int uptime() { return timer.elapsed(); } | 16 int uptime() { return timer.elapsed(); } |
17 | 17 |
18 Config config; | 18 Config config; |
19 static constexpr semver::version version{0, 1, 0, semver::prerelease::alpha, 1}; | 19 static constexpr semver::version version{PACKAGE_VERSION}; |
20 | 20 |
21 private: | 21 private: |
22 unsigned int requests = 0; | 22 unsigned int requests = 0; |
23 QElapsedTimer timer; | 23 QElapsedTimer timer; |
24 }; | 24 }; |