|
a/src/qtgui/recoll.h |
|
b/src/qtgui/recoll.h |
|
... |
|
... |
19 |
#include <string>
|
19 |
#include <string>
|
20 |
|
20 |
|
21 |
#include "rclconfig.h"
|
21 |
#include "rclconfig.h"
|
22 |
#include "rcldb.h"
|
22 |
#include "rcldb.h"
|
23 |
#include "idxthread.h"
|
23 |
#include "idxthread.h"
|
|
|
24 |
#include "ptmutex.h"
|
24 |
|
25 |
|
25 |
// Misc declarations in need of sharing between the UI files
|
26 |
// Misc declarations in need of sharing between the UI files
|
26 |
|
27 |
|
27 |
// Open the database if needed. We now force a close/open by default
|
28 |
// Open the database if needed. We now force a close/open by default
|
28 |
extern bool maybeOpenDb(std::string &reason, bool force = true);
|
29 |
extern bool maybeOpenDb(std::string &reason, bool force = true);
|
29 |
|
30 |
|
30 |
/** Retrieve configured stemming languages */
|
31 |
/** Retrieve configured stemming languages */
|
31 |
bool getStemLangs(list<string>& langs);
|
32 |
bool getStemLangs(list<string>& langs);
|
32 |
|
33 |
|
33 |
extern RclConfig *rclconfig;
|
34 |
extern RclConfig *theconfig;
|
|
|
35 |
extern RclConfig *thestableconfig;
|
|
|
36 |
extern PTMutexInit thestableconfiglock;
|
|
|
37 |
extern void snapshotConfig();
|
|
|
38 |
|
34 |
extern Rcl::Db *rcldb;
|
39 |
extern Rcl::Db *rcldb;
|
35 |
extern int recollNeedsExit;
|
40 |
extern int recollNeedsExit;
|
36 |
extern int startIndexingAfterConfig; // 1st startup
|
41 |
extern int startIndexingAfterConfig; // 1st startup
|
37 |
extern void startManual(const string& helpindex);
|
42 |
extern void startManual(const string& helpindex);
|
38 |
|
43 |
|