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/Mind.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/Mind.h')
-rw-r--r-- | plugins/Boltun/src/Engine/Mind.h | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/plugins/Boltun/src/Engine/Mind.h b/plugins/Boltun/src/Engine/Mind.h index cdee200002..2b1e6a20c5 100644 --- a/plugins/Boltun/src/Engine/Mind.h +++ b/plugins/Boltun/src/Engine/Mind.h @@ -25,30 +25,28 @@ #include <map>
#include <set>
#include "WordsList.h"
-#include "tstring.h"
-
class Mind;
typedef struct
{
friend class Mind;
- std::vector<tstring> initial;
- std::set<tstring> question;
- std::set<tstring> special;
- std::vector<tstring> escape;
- std::vector<tstring> failure;
- std::vector<tstring> repeats;
+ std::vector<std::tstring> initial;
+ std::set<std::tstring> question;
+ std::set<std::tstring> special;
+ std::vector<std::tstring> escape;
+ std::vector<std::tstring> failure;
+ std::vector<std::tstring> repeats;
unsigned int maxSmileLen;
- std::set<tstring> smiles;
- std::multimap<WordsList, tstring> keywords;
- std::multimap<WordsList, tstring> qkeywords;
- std::multimap<tstring, tstring> widelyUsed;
- std::multimap<WordsList, tstring> specialEscapes;
- std::multimap<WordsList, tstring> qspecialEscapes;
- std::multimap<tstring, tstring> study;
- std::map<tstring, tstring> aliases;
- std::map<tstring, std::vector<tstring>> raliases;
+ std::set<std::tstring> smiles;
+ std::multimap<WordsList, std::tstring> keywords;
+ std::multimap<WordsList, std::tstring> qkeywords;
+ std::multimap<std::tstring, std::tstring> widelyUsed;
+ std::multimap<WordsList, std::tstring> specialEscapes;
+ std::multimap<WordsList, std::tstring> qspecialEscapes;
+ std::multimap<std::tstring, std::tstring> study;
+ std::map<std::tstring, std::tstring> aliases;
+ std::map<std::tstring, std::vector<std::tstring>> raliases;
private:
int referenceCount;
} MindData;
@@ -59,7 +57,7 @@ private: MindData *data;
bool fileTypeMark;
- std::vector<tstring> Parse(tstring s);
+ std::vector<std::tstring> Parse(std::tstring s);
public:
Mind();
~Mind();
@@ -77,9 +75,9 @@ public: };
const MindData *GetData() const;
- void Load(tstring filename);
- void Save(tstring filename) const;
- void LoadSmiles(tstring filename);
+ void Load(std::tstring filename);
+ void Save(std::tstring filename) const;
+ void LoadSmiles(std::tstring filename);
void LoadSmiles(void* smiles, size_t size);
};
|