mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 21:05:59 +01:00
98a4fa2b0d
* clang-format stuff and format files
15 lines
No EOL
261 B
C++
15 lines
No EOL
261 B
C++
#pragma once
|
|
|
|
#include "../defines.hpp"
|
|
|
|
class CTimer {
|
|
public:
|
|
void reset();
|
|
float getSeconds();
|
|
int getMillis();
|
|
|
|
private:
|
|
std::chrono::system_clock::time_point m_tpLastReset;
|
|
|
|
std::chrono::system_clock::duration getDuration();
|
|
}; |