|
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.14 2006-01-30 11:15:28 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: recoll.h,v 1.15 2006-01-31 11:39:12 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 |
|
25 |
|
26 |
// Misc declarations in need of sharing between the UI files
|
26 |
// Misc declarations in need of sharing between the UI files
|
|
|
27 |
|
|
|
28 |
// Open the database if needed. We now force a close/open by default
|
27 |
extern bool maybeOpenDb(std::string &reason, bool force = false);
|
29 |
extern bool maybeOpenDb(std::string &reason, bool force = true);
|
28 |
|
30 |
|
29 |
extern RclConfig *rclconfig;
|
31 |
extern RclConfig *rclconfig;
|
30 |
extern Rcl::Db *rcldb;
|
32 |
extern Rcl::Db *rcldb;
|
31 |
extern int recollNeedsExit;
|
33 |
extern int recollNeedsExit;
|
32 |
extern const std::string recoll_datadir;
|
34 |
extern const std::string recoll_datadir;
|