]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.h
Cosmetic changes
[stg.git] / projects / stargazer / user_impl.h
index 935dcd0e0a90368c8c0f897667df0f963af189bf..f1dd4175e4a314d7036639ee0437905625738310 100644 (file)
 
 #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"
 
 //-----------------------------------------------------------------------------
@@ -117,7 +117,7 @@ public:
     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; }
@@ -189,7 +189,7 @@ public:
     void            ProcessNewMonth();
 
     bool            IsInetable();
-    std::string          GetEnabledDirs();
+    std::string     GetEnabledDirs();
 
     void            OnAdd();
     void            OnDelete();
@@ -296,4 +296,6 @@ private:
 };
 //-----------------------------------------------------------------------------
 
+typedef USER_IMPL * USER_IMPL_PTR;
+
 #endif //USER_H