X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e9cb0683c0b33d8458c1d9b2558bbeb5d101e680..f88b8e1e0e34f1e25e86468ca271a89af4872eab:/include/stg/user.h diff --git a/include/stg/user.h b/include/stg/user.h index a8f61105..654f3344 100644 --- a/include/stg/user.h +++ b/include/stg/user.h @@ -25,12 +25,12 @@ #include "message.h" #include "tariff.h" #include "user_traff.h" -#include "os_int.h" #include #include #include +#include class USER_PROPERTIES; class AUTH; @@ -70,6 +70,8 @@ public: virtual const DIR_TRAFF & GetSessionUpload() const = 0; virtual const DIR_TRAFF & GetSessionDownload() const = 0; + virtual time_t GetSessionUploadModificationTime() const = 0; + virtual time_t GetSessionDownloadModificationTime() const = 0; virtual bool GetConnected() const = 0; virtual time_t GetConnectedModificationTime() const = 0; @@ -98,7 +100,7 @@ public: virtual time_t GetLastWriteStatTime() const = 0; virtual bool IsInetable() = 0; - virtual std::string GetEnabledDirs() = 0; + virtual std::string GetEnabledDirs() const = 0; virtual void OnAdd() = 0; virtual void OnDelete() = 0;