now winix is using 'pikotools' (confparser, utf8, mainparser)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@792 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* This file is a part of Winix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2011, Tomasz Sowa
|
||||
* Copyright (c) 2011-2012, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "core/confparser.h"
|
||||
#include "confparser/confparser.h"
|
||||
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ public:
|
||||
reading all space
|
||||
(sets and groups)
|
||||
*/
|
||||
Space * GetSpace();
|
||||
PT::Space * GetSpace();
|
||||
|
||||
|
||||
/*
|
||||
@@ -82,7 +82,7 @@ private:
|
||||
# sets should have a unique name
|
||||
# groups don't have a name
|
||||
*/
|
||||
Space space;
|
||||
PT::Space space;
|
||||
|
||||
|
||||
/*
|
||||
@@ -108,20 +108,20 @@ private:
|
||||
|
||||
std::wstring sort_by;
|
||||
bool sort_asc;
|
||||
Space::Value sort_value;
|
||||
PT::Space::Value sort_value;
|
||||
|
||||
struct SortFunHelper
|
||||
{
|
||||
Groups * groups;
|
||||
SortFunHelper(Groups * pgroups) : groups(pgroups) {};
|
||||
size_t SortValue(const std::wstring & val);
|
||||
bool operator()(Space * sp1, Space * sp2);
|
||||
bool operator()(PT::Space * sp1, PT::Space * sp2);
|
||||
};
|
||||
|
||||
|
||||
|
||||
void ReindexGroups(GroupIndex & group_index, Space & set);
|
||||
void SortValues(Space & group);
|
||||
void ReindexGroups(GroupIndex & group_index, PT::Space & set);
|
||||
void SortValues(PT::Space & group);
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user