summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-14 18:57:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-14 21:36:32 (GMT)
commitcb05f5a908e20006c954ce38755c2e422ecc2388 (patch)
treea793551a5fe279a57d4330119560e8542f745484 /Swiften/Elements/SoftwareVersion.h
parentcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (diff)
downloadswift-cb05f5a908e20006c954ce38755c2e422ecc2388.zip
swift-cb05f5a908e20006c954ce38755c2e422ecc2388.tar.bz2
Removed Swift::String.
Diffstat (limited to 'Swiften/Elements/SoftwareVersion.h')
-rw-r--r--Swiften/Elements/SoftwareVersion.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/Swiften/Elements/SoftwareVersion.h b/Swiften/Elements/SoftwareVersion.h
index 1a33f2c..26d49b1 100644
--- a/Swiften/Elements/SoftwareVersion.h
+++ b/Swiften/Elements/SoftwareVersion.h
@@ -8,45 +8,45 @@
#define SWIFTEN_SoftwareVersion_H
#include "Swiften/Elements/Payload.h"
-#include "Swiften/Base/String.h"
+#include <string>
namespace Swift {
class SoftwareVersion : public Payload {
public:
SoftwareVersion(
- const String& name = "",
- const String& version = "",
- const String& os = "") :
+ const std::string& name = "",
+ const std::string& version = "",
+ const std::string& os = "") :
name_(name), version_(version), os_(os) {}
- const String& getName() const {
+ const std::string& getName() const {
return name_;
}
- void setName(const String& name) {
+ void setName(const std::string& name) {
name_ = name;
}
- const String& getVersion() const {
+ const std::string& getVersion() const {
return version_;
}
- void setVersion(const String& version) {
+ void setVersion(const std::string& version) {
version_ = version;
}
- const String& getOS() const {
+ const std::string& getOS() const {
return os_;
}
- void setOS(const String& os) {
+ void setOS(const std::string& os) {
os_ = os;
}
private:
- String name_;
- String version_;
- String os_;
+ std::string name_;
+ std::string version_;
+ std::string os_;
};
}