21 lines
599 B
C++
21 lines
599 B
C++
#ifndef _PLAINTORICH_H_INCLUDED_
|
|
#define _PLAINTORICH_H_INCLUDED_
|
|
/* @(#$Id: plaintorich.h,v 1.2 2005-10-10 13:24:53 dockes Exp $ (C) 2004 J.F.Dockes */
|
|
|
|
#include <string>
|
|
|
|
/**
|
|
* Fix result text for display inside the gui text window.
|
|
*
|
|
* @param in raw text out of internfile.
|
|
* @param terms list of query terms
|
|
* @param termoffsets character offsets where we find terms
|
|
*/
|
|
extern string plaintorich(const string &in,
|
|
const list<string>& terms,
|
|
list<pair<int, int> >&termoffsets);
|
|
|
|
extern string stripMarkup(const string &in);
|
|
|
|
#endif /* _PLAINTORICH_H_INCLUDED_ */
|