]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.h
Copy constructor, assignement operator and network initialization added
[stg.git] / projects / stargazer / user_impl.h
index be28cc96d2aabdf41d33d33619e5fbd3cb126580..f1dd4175e4a314d7036639ee0437905625738310 100644 (file)
@@ -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