summaryrefslogtreecommitdiff
path: root/src/managers/VersionKeeperManager.hpp
blob: eb404d8808c450c1c45f6f28cb44dc342c5047d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <memory>

class CVersionKeeperManager {
  public:
    CVersionKeeperManager();

    // whether the update screen was shown this boot.
    bool fired();

  private:
    bool isVersionOlderThanRunning(const std::string& ver);

    bool m_bFired = false;
};

inline std::unique_ptr<CVersionKeeperManager> g_pVersionKeeperMgr;