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/UnrecentChooser.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/UnrecentChooser.h')
-rw-r--r-- | plugins/Boltun/src/Engine/UnrecentChooser.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/plugins/Boltun/src/Engine/UnrecentChooser.h b/plugins/Boltun/src/Engine/UnrecentChooser.h index e815a6ec96..72245773de 100644 --- a/plugins/Boltun/src/Engine/UnrecentChooser.h +++ b/plugins/Boltun/src/Engine/UnrecentChooser.h @@ -21,24 +21,22 @@ #ifndef UnRecentChooserH
#define UnRecentChooserH
-#include "tstring.h"
-
class UnRecentChooser
{
- std::map<tstring, size_t> items;
- std::vector<tstring> itemsList;
- std::vector<tstring> newItems;
+ std::map<std::tstring, size_t> items;
+ std::vector<std::tstring> itemsList;
+ std::vector<std::tstring> newItems;
float newItemsPrio, maxOldPrio;
- std::map<size_t, tstring> oldItems;
- std::map<tstring, float> oldPrios;
+ std::map<size_t, std::tstring> oldItems;
+ std::map<std::tstring, float> oldPrios;
size_t last;
int minimum;
static const size_t maxItems = 100;
public:
UnRecentChooser();
- void AddChoice(tstring value, float prio = 1.0);
- tstring Choose();
- void SaveChoice(tstring choice);
+ void AddChoice(std::tstring value, float prio = 1.0);
+ std::tstring Choose();
+ void SaveChoice(std::tstring choice);
};
#endif /* UnRecentChooserH */
\ No newline at end of file |