#include "stg/user.h"
#include "stg/os_int.h"
-#include "stg/stg_const.h"
+#include "stg/const.h"
#include "stg/user_stat.h"
#include "stg/user_conf.h"
#include "stg/user_ips.h"
#include "stg/user_property.h"
#include "stg/auth.h"
-#include "stg/stg_message.h"
+#include "stg/message.h"
#include "stg/noncopyable.h"
//-----------------------------------------------------------------------------
int WriteStat();
int WriteMonthStat();
- std::string const & GetLogin() const { return login; }
+ const std::string & GetLogin() const { return login; }
void SetLogin(std::string const & l);
uint32_t GetCurrIP() const { return currIP; }
void ProcessNewMonth();
bool IsInetable();
- std::string GetEnabledDirs();
+ std::string GetEnabledDirs();
void OnAdd();
void OnDelete();
};
//-----------------------------------------------------------------------------
+typedef USER_IMPL * USER_IMPL_PTR;
+
#endif //USER_H