summaryrefslogtreecommitdiffstats
path: root/src/Common/GroupInfo.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-09-27 19:58:24 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-09-27 19:58:24 +0200
commitb40ba0cf91603b695f1f2380cbd39966a458f22f (patch)
tree1fec48ddc59eb1392fac38495b230e4b2cbf7528 /src/Common/GroupInfo.h
parente1d8490f0654a3da0b900407d80d91d8d0da68c8 (diff)
downloadmad-b40ba0cf91603b695f1f2380cbd39966a458f22f.tar
mad-b40ba0cf91603b695f1f2380cbd39966a458f22f.zip
Use Unicode-aware String class instead of std::string
Diffstat (limited to 'src/Common/GroupInfo.h')
-rw-r--r--src/Common/GroupInfo.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Common/GroupInfo.h b/src/Common/GroupInfo.h
index c1a2274..cae12f0 100644
--- a/src/Common/GroupInfo.h
+++ b/src/Common/GroupInfo.h
@@ -22,7 +22,7 @@
#include "export.h"
-#include <string>
+#include <Core/String.h>
namespace Mad {
namespace Common {
@@ -30,16 +30,16 @@ namespace Common {
class GroupInfo {
private:
unsigned long gid;
- std::string name;
+ Core::String name;
public:
- GroupInfo(unsigned long gid0 = 0, const std::string& name0 = std::string()) : gid(gid0), name(name0) {}
+ GroupInfo(unsigned long gid0 = 0, const Core::String& name0 = Core::String()) : gid(gid0), name(name0) {}
void setGid(unsigned long newGid) {gid = newGid;}
unsigned long getGid() const {return gid;}
- void setName(const std::string& newName) {name = newName;}
- const std::string& getName() const {return name;}
+ void setName(const Core::String& newName) {name = newName;}
+ const Core::String& getName() const {return name;}
};
}