actual time delta

This commit is contained in:
2023-01-18 18:31:00 +01:00
parent 365edc35e9
commit 9f8f681e18
3 changed files with 8 additions and 4 deletions

View File

@@ -8,6 +8,7 @@
#include <ngc_ext.h>
#include <ngc_ft1.h>
#include <chrono>
#include <string>
#include <string_view>
#include <map>
@@ -73,6 +74,8 @@ struct ToxClient {
NGC_EXT_CTX* _ext_ctx {nullptr};
NGC_FT1* _ft1_ctx {nullptr};
std::chrono::time_point<std::chrono::high_resolution_clock> _last_time {std::chrono::high_resolution_clock::now()};
std::string _self_name;
std::string _tox_profile_path;