]> git.stg.codes - stg.git/blobdiff - projects/sgauth/settings_impl.h
Move projects back into subfolder.
[stg.git] / projects / sgauth / settings_impl.h
index 9354e18decf236978f259ce8d5b9248a1ffeaf8a..c5305b89f0fbf691af4a01f39af8d1d595fda0d0 100644 (file)
@@ -22,8 +22,7 @@
 #define SETTINGS_IMPL_H
 
 #include <string>
-
-#include "stg/os_int.h"
+#include <cstdint>
 
 class SETTINGS_IMPL {
 public:
@@ -37,6 +36,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 +56,7 @@ private:
     std::string password;
     std::string serverName;
     int         port;
+    std::string localName;
     int         localPort;
     uint32_t    listenWebIP;
     int         refreshPeriod;