1 |
|
/* ============================================================================ |
2 |
|
* Douglas Thrift's Search Engine License |
3 |
|
* |
4 |
< |
* Copyright (C) 2002, Douglas Thrift. All Rights Reserved. |
4 |
> |
* Copyright (C) 2002-2003, Douglas Thrift. All Rights Reserved. |
5 |
|
* Redistribution and use in source and binary forms, with or without |
6 |
|
* modification, are permitted provided that the following conditions are met: |
7 |
|
* |
46 |
|
// |
47 |
|
// Douglas Thrift |
48 |
|
// |
49 |
< |
// Processor.h |
49 |
> |
// $Id: Processor.h,v 1.6 2003/07/11 07:54:47 douglas Exp $ |
50 |
|
|
51 |
|
#ifndef _Processor_h_ |
52 |
|
#define _Processor_h_ |
63 |
|
set<string> links; |
64 |
|
bool process(HttpHandler& http, URL& url, string& title, string& |
65 |
|
description, string& text, vector<string>& headings); |
66 |
< |
bool html(HttpHandler& http); |
67 |
< |
string getTag(string& line, unsigned open, unsigned close); |
68 |
< |
string getLink(string& link, URL& url); |
66 |
> |
string getTag(const string& line, unsigned open, unsigned close); |
67 |
|
public: |
68 |
|
Processor(); |
69 |
|
~Processor(); |