diff options
author | George Hazan <george.hazan@gmail.com> | 2013-02-28 19:26:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-02-28 19:26:54 +0000 |
commit | 9060bf2b23f86be8eaecbdc90262a8d1c0e7b374 (patch) | |
tree | 4a4e135eeff281816682b8ea13f09845d6bd9f80 /plugins/Boltun/src/Engine/WordsList.h | |
parent | 7fd3863d1a8da7ad32f44762792c1df82eebf5bf (diff) |
compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@3809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Boltun/src/Engine/WordsList.h')
-rw-r--r-- | plugins/Boltun/src/Engine/WordsList.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/plugins/Boltun/src/Engine/WordsList.h b/plugins/Boltun/src/Engine/WordsList.h index b6e0792101..4cac8cd969 100644 --- a/plugins/Boltun/src/Engine/WordsList.h +++ b/plugins/Boltun/src/Engine/WordsList.h @@ -21,26 +21,24 @@ #ifndef WordsListH
#define WordsListH
-#include "tstring.h"
-
class WordsList
{
WordsList();
- void Parse(tstring s/*, bool allowUnstrict = false*/);
+ void Parse(std::tstring s/*, bool allowUnstrict = false*/);
//bool unstrict;
#ifdef _DEBUG
public:
#endif
- std::set<tstring> words;
+ std::set<std::tstring> words;
bool isQuestion;
public:
- WordsList(const tstring &data/*, bool allowUnstrict = false*/);
- operator tstring() const;
- bool MatchesAll(const std::vector<tstring>& s/*, bool& WasStrict*/, float& priority) const;
- bool MatchesAny(const std::vector<tstring>& s) const;
- std::vector<tstring> ConsistsOf(const std::set<tstring>& list) const;
- std::vector<tstring> DoesntIncludeAny(const std::set<tstring>& list) const;
- WordsList& operator= (const tstring& s);
+ WordsList(const std::tstring &data/*, bool allowUnstrict = false*/);
+ operator std::tstring() const;
+ bool MatchesAll(const std::vector<std::tstring>& s/*, bool& WasStrict*/, float& priority) const;
+ bool MatchesAny(const std::vector<std::tstring>& s) const;
+ std::vector<std::tstring> ConsistsOf(const std::set<std::tstring>& list) const;
+ std::vector<std::tstring> DoesntIncludeAny(const std::set<std::tstring>& list) const;
+ WordsList& operator= (const std::tstring& s);
bool operator<(const WordsList& value) const;
bool operator==(const WordsList& value) const;
bool operator!=(const WordsList& value) const;
|