]> git.stg.codes - stg.git/blobdiff - projects/sgauth/settings_impl.h
Reduced scopes plus graceful connection shutdown.
[stg.git] / projects / sgauth / settings_impl.h
index 9354e18decf236978f259ce8d5b9248a1ffeaf8a..253b69eabea7c3a00e485fe1862eb7f59988522b 100644 (file)
@@ -37,6 +37,7 @@ public:
 
     const std::string & GetServerName() const { return serverName; }
     uint16_t            GetServerPort() const { return port; }
+    const std::string & GetLocalName() const { return localName; }
     uint16_t            GetLocalPort() const { return localPort; }
 
     const std::string & GetLogin() const { return login; }
@@ -56,6 +57,7 @@ private:
     std::string password;
     std::string serverName;
     int         port;
+    std::string localName;
     int         localPort;
     uint32_t    listenWebIP;
     int         refreshPeriod;