summaryrefslogtreecommitdiffstats
path: root/src/Common/UserInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/UserInfo.h')
-rw-r--r--src/Common/UserInfo.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Common/UserInfo.h b/src/Common/UserInfo.h
index 6859904..f85b9d8 100644
--- a/src/Common/UserInfo.h
+++ b/src/Common/UserInfo.h
@@ -22,7 +22,7 @@
#include "export.h"
-#include <string>
+#include <Core/String.h>
namespace Mad {
namespace Common {
@@ -32,11 +32,11 @@ class UserInfo {
unsigned long uid;
unsigned long gid;
- std::string username;
- std::string fullName;
+ Core::String username;
+ Core::String fullName;
public:
- UserInfo(unsigned long uid0 = 0, const std::string& username0 = std::string()) : uid(uid0), gid(0), username(username0) {}
+ UserInfo(unsigned long uid0 = 0, const Core::String& username0 = Core::String()) : uid(uid0), gid(0), username(username0) {}
void setUid(unsigned long newUid) {uid = newUid;}
unsigned long getUid() const {return uid;}
@@ -44,11 +44,11 @@ class UserInfo {
void setGid(unsigned long newGid) {gid = newGid;}
unsigned long getGid() const {return gid;}
- void setUsername(const std::string& newUsername) {username = newUsername;}
- const std::string& getUsername() const {return username;}
+ void setUsername(const Core::String& newUsername) {username = newUsername;}
+ const Core::String& getUsername() const {return username;}
- void setFullName(const std::string& newFullName) {fullName = newFullName;}
- const std::string& getFullName() const {return fullName;}
+ void setFullName(const Core::String& newFullName) {fullName = newFullName;}
+ const Core::String& getFullName() const {return fullName;}
};
}