X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/3ebc508c918fe3211d2b94434c227d3d00b02f5f..1f919fd581b0db336db0fc4840bc806ac9b2c4c8:/projects/stargazer/users.h diff --git a/projects/stargazer/users.h b/projects/stargazer/users.h index 07c9c102..424958da 100644 --- a/projects/stargazer/users.h +++ b/projects/stargazer/users.h @@ -29,6 +29,7 @@ $Author: faust $ #define USERS_H #include + #include #include #include @@ -119,8 +120,6 @@ public: int Start(); int Stop(); - int SendMessage(const string & login, time_t sndTtime, time_t showTime, char type, const string & text) const; - private: void AddToIPIdx(user_iter); void DelFromIPIdx(uint32_t ip); @@ -138,11 +137,11 @@ private: void DelUserFromIndexes(user_iter user); static void * Run(void *); - void NewMinute(const struct tm * t); - void NewDay(const struct tm * t); - void DayResetTraff(const struct tm * t); + void NewMinute(const struct tm & t); + void NewDay(const struct tm & t); + void DayResetTraff(const struct tm & t); - bool TimeToWriteDetailStat(const struct tm * t); + bool TimeToWriteDetailStat(const struct tm & t); list users; list usersToDelete;