Switch to unified view

a/src/qtgui/plaintorich.h b/src/qtgui/plaintorich.h
...
...
14
 *   Free Software Foundation, Inc.,
14
 *   Free Software Foundation, Inc.,
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
#ifndef _PLAINTORICH_H_INCLUDED_
17
#ifndef _PLAINTORICH_H_INCLUDED_
18
#define _PLAINTORICH_H_INCLUDED_
18
#define _PLAINTORICH_H_INCLUDED_
19
/* @(#$Id: plaintorich.h,v 1.5 2006-01-30 11:15:28 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: plaintorich.h,v 1.6 2006-02-07 09:44:33 dockes Exp $  (C) 2004 J.F.Dockes */
20
20
21
#include <string>
21
#include <string>
22
22
23
/**
23
/**
24
 * Transform plain text into qt rich text for the preview window.
24
 * Transform plain text into qt rich text for the preview window.
...
...
30
 * @param terms       list of query terms
30
 * @param terms       list of query terms
31
 * @param termoffsets output: character offsets where we find terms.
31
 * @param termoffsets output: character offsets where we find terms.
32
 */
32
 */
33
extern bool plaintorich(const string &in, string &out,
33
extern bool plaintorich(const string &in, string &out,
34
            const list<string>& terms,
34
            const list<string>& terms,
35
          list<pair<int, int> >& termoffsets);
35
          string* firstTerm);
36
36
37
#endif /* _PLAINTORICH_H_INCLUDED_ */
37
#endif /* _PLAINTORICH_H_INCLUDED_ */