7 |
|
#ifndef _SiteMapper_hpp_ |
8 |
|
#define _SiteMapper_hpp_ |
9 |
|
|
10 |
– |
#ifdef _WIN32 |
11 |
– |
#pragma warning(disable:4267) |
12 |
– |
#endif |
13 |
– |
|
10 |
|
#include <menes/platform.hpp> |
11 |
|
|
12 |
< |
#include <string> |
13 |
< |
#include <map> |
12 |
> |
#ifdef MENES_PRAGMA_ONCE |
13 |
> |
#pragma once |
14 |
> |
#endif |
15 |
|
|
16 |
|
#include <menes-api/console.hpp> |
17 |
|
#include <menes-api/files.hpp> |
21 |
|
#include <menes-xml/parse.hpp> |
22 |
|
#include <menes-xml/textwriter.hpp> |
23 |
|
|
24 |
< |
extern ext::String program; |
25 |
< |
extern bool debug; |
24 |
> |
#include <string> |
25 |
> |
#include <map> |
26 |
|
|
27 |
|
#include "Page.hpp" |
28 |
|
|
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_ |