mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-26 13:10:05 +01:00
18 lines
No EOL
353 B
C++
18 lines
No EOL
353 B
C++
#pragma once
|
|
|
|
#include "../helpers/memory/Memory.hpp"
|
|
|
|
class CVersionKeeperManager {
|
|
public:
|
|
CVersionKeeperManager();
|
|
|
|
// whether the update screen was shown this boot.
|
|
bool fired();
|
|
|
|
private:
|
|
bool isVersionOlderThanRunning(const std::string& ver);
|
|
|
|
bool m_fired = false;
|
|
};
|
|
|
|
inline UP<CVersionKeeperManager> g_pVersionKeeperMgr; |