#include <vector>
#include <string>
#include <set>
+#include <mutex>
#include <ctime>
#include <cstdint>
//-----------------------------------------------------------------------------
struct Tariff;
-struct Tariffs;
-struct Admin;
+class Tariffs;
+class Admin;
class UserImpl;
#ifdef USE_ABSTRACT_SETTINGS
struct Settings;
const Users * u,
const Services & svcs);
UserImpl(const UserImpl & u);
- virtual ~UserImpl();
int ReadConf();
int ReadStat();
ScopedConnection m_afterIPConn;
void onIPChange(const UserIPs& oldVal, const UserIPs& newVal);
- mutable pthread_mutex_t mutex;
+ mutable std::mutex m_mutex;
std::string errorStr;
+
+ double getPassiveTimePart() const;
};
//-----------------------------------------------------------------------------