|
a/src/qtgui/recoll.h |
|
b/src/qtgui/recoll.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 _RECOLL_H_INCLUDED_
|
17 |
#ifndef _RECOLL_H_INCLUDED_
|
18 |
#define _RECOLL_H_INCLUDED_
|
18 |
#define _RECOLL_H_INCLUDED_
|
19 |
/* @(#$Id: recoll.h,v 1.15 2006-01-31 11:39:12 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: recoll.h,v 1.16 2006-09-11 09:08:44 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
#include <string>
|
20 |
#include <string>
|
21 |
|
21 |
|
22 |
#include "rclconfig.h"
|
22 |
#include "rclconfig.h"
|
23 |
#include "rcldb.h"
|
23 |
#include "rcldb.h"
|
24 |
#include "idxthread.h"
|
24 |
#include "idxthread.h"
|
|
|
25 |
#include "history.h"
|
25 |
|
26 |
|
26 |
// Misc declarations in need of sharing between the UI files
|
27 |
// Misc declarations in need of sharing between the UI files
|
27 |
|
28 |
|
28 |
// Open the database if needed. We now force a close/open by default
|
29 |
// Open the database if needed. We now force a close/open by default
|
29 |
extern bool maybeOpenDb(std::string &reason, bool force = true);
|
30 |
extern bool maybeOpenDb(std::string &reason, bool force = true);
|
30 |
|
31 |
|
31 |
extern RclConfig *rclconfig;
|
32 |
extern RclConfig *rclconfig;
|
32 |
extern Rcl::Db *rcldb;
|
33 |
extern Rcl::Db *rcldb;
|
33 |
extern int recollNeedsExit;
|
34 |
extern int recollNeedsExit;
|
34 |
extern const std::string recoll_datadir;
|
35 |
extern const std::string recoll_datadir;
|
|
|
36 |
extern RclHistory *g_dynconf;
|
35 |
|
37 |
|
36 |
#endif /* _RECOLL_H_INCLUDED_ */
|
38 |
#endif /* _RECOLL_H_INCLUDED_ */
|