summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'SwifTools/TabComplete.h')
-rw-r--r--SwifTools/TabComplete.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/SwifTools/TabComplete.h b/SwifTools/TabComplete.h
index 01e294f..d01174f 100644
--- a/SwifTools/TabComplete.h
+++ b/SwifTools/TabComplete.h
@@ -8,18 +8,18 @@
#include <vector>
-#include "Swiften/Base/String.h"
+#include <string>
namespace Swift {
class TabComplete {
public:
- void addWord(const String& word);
- void removeWord(const String& word);
- String completeWord(const String& word);
+ void addWord(const std::string& word);
+ void removeWord(const std::string& word);
+ std::string completeWord(const std::string& word);
private:
- std::vector<String> words_;
- String lastCompletion_;
- String lastShort_;
- std::vector<String> lastCompletionCandidates_;
+ std::vector<std::string> words_;
+ std::string lastCompletion_;
+ std::string lastShort_;
+ std::vector<std::string> lastCompletionCandidates_;
};
}