59 |
|
class Processor |
60 |
|
{ |
61 |
|
private: |
62 |
< |
Page* page; |
62 |
> |
Page page; |
63 |
|
set<string> links; |
64 |
|
bool process(HttpHandler& http, URL& url, string& title, string& |
65 |
|
description, string& text, vector<string>& headings); |
66 |
|
string getTag(const string& line, unsigned open, unsigned close); |
67 |
|
public: |
68 |
< |
Processor(); |
69 |
< |
~Processor(); |
68 |
> |
Processor() {} |
69 |
> |
~Processor() {} |
70 |
|
bool process(HttpHandler& http, URL& url); |
71 |
< |
Page getPage() { return *page; } |
71 |
> |
const Page& getPage() const { return page; } |
72 |
|
set<string> getLinks() { return links; } |
73 |
|
void reset(); |
74 |
|
}; |