13 |
|
#pragma once |
14 |
|
#endif |
15 |
|
|
16 |
– |
#ifdef _WIN32 |
17 |
– |
#pragma warning(disable:4267) |
18 |
– |
#endif |
19 |
– |
|
16 |
|
#include <menes-api/console.hpp> |
17 |
|
#include <menes-api/files.hpp> |
18 |
|
#include <menes-ios/string.hpp> |
24 |
|
#include <string> |
25 |
|
#include <map> |
26 |
|
|
31 |
– |
extern ext::String program; |
32 |
– |
extern bool debug; |
33 |
– |
|
27 |
|
#include "Page.hpp" |
28 |
|
|
29 |
|
class SiteMapper |
40 |
|
void newMap(ext::Vector<Page>& pages, const ext::String& childOf, std::multimap<std::string, Page>& newPages); |
41 |
|
public: |
42 |
|
SiteMapper(const ext::String& siteIndex, const ext::String& siteMap); |
43 |
< |
~SiteMapper() {} |
43 |
> |
static ext::String program; |
44 |
> |
static bool debug; |
45 |
|
}; |
46 |
|
|
47 |
|
#endif // _SiteMapper_hpp_ |