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/SASL/PLAINMessage.h
parentcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (diff)
downloadswift-contrib-cb05f5a908e20006c954ce38755c2e422ecc2388.zip
swift-contrib-cb05f5a908e20006c954ce38755c2e422ecc2388.tar.bz2
Removed Swift::String.
Diffstat (limited to 'Swiften/SASL/PLAINMessage.h')
-rw-r--r--Swiften/SASL/PLAINMessage.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Swiften/SASL/PLAINMessage.h b/Swiften/SASL/PLAINMessage.h
index 3624c6e..d08d70d 100644
--- a/Swiften/SASL/PLAINMessage.h
+++ b/Swiften/SASL/PLAINMessage.h
@@ -8,32 +8,32 @@
//
#pragma once
-#include "Swiften/Base/String.h"
+#include <string>
#include "Swiften/Base/ByteArray.h"
namespace Swift {
class PLAINMessage {
public:
- PLAINMessage(const String& authcid, const String& password, const String& authzid = "");
+ PLAINMessage(const std::string& authcid, const std::string& password, const std::string& authzid = "");
PLAINMessage(const ByteArray& value);
ByteArray getValue() const;
- const String& getAuthenticationID() const {
+ const std::string& getAuthenticationID() const {
return authcid;
}
- const String& getPassword() const {
+ const std::string& getPassword() const {
return password;
}
- const String& getAuthorizationID() const {
+ const std::string& getAuthorizationID() const {
return authzid;
}
private:
- String authcid;
- String authzid;
- String password;
+ std::string authcid;
+ std::string authzid;
+ std::string password;
};
}