Parent: [6e0ec4] (diff)

Child: [c0cb41] (diff)

Download this file

kio_recoll.h    28 lines (22 with data), 657 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _RECOLL_H
/* @(#$Id: kio_recoll.h,v 1.3 2006-01-19 14:57:59 dockes Exp $ (C) 2005 J.F.Dockes */
#define _RECOLL_H
#include <string>
#include <kio/global.h>
#include <kio/slavebase.h>
class RecollProtocol : public KIO::SlaveBase {
public:
RecollProtocol( const QCString &pool, const QCString &app );
virtual ~RecollProtocol();
virtual void get( const KURL & url );
private:
bool m_initok;
RclConfig *m_rclconfig;
Rcl::Db *m_rcldb;
DocSequence *m_docsource;
std::string m_dbdir;
std::string m_reason;
bool maybeOpenDb(string &reason);
void outputError(const QString& errmsg);
};
#endif // _RECOLL_H