|
a/src/qtgui/idxthread.h |
|
b/src/qtgui/idxthread.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 _IDXTHREAD_H_INCLUDED_
|
17 |
#ifndef _IDXTHREAD_H_INCLUDED_
|
18 |
#define _IDXTHREAD_H_INCLUDED_
|
18 |
#define _IDXTHREAD_H_INCLUDED_
|
19 |
/* @(#$Id: idxthread.h,v 1.5 2006-04-04 13:49:55 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: idxthread.h,v 1.6 2006-04-12 10:41:39 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
#include <string>
|
20 |
#include <string>
|
|
|
21 |
#include "indexer.h"
|
21 |
|
22 |
|
22 |
class RclConfig;
|
23 |
class RclConfig;
|
23 |
|
24 |
|
24 |
// These two deal with starting / stopping the thread itself, not indexing
|
25 |
// These two deal with starting / stopping the thread itself, not indexing
|
25 |
// sessions.
|
26 |
// sessions.
|
26 |
extern void start_idxthread(const RclConfig& cnf);
|
27 |
extern void start_idxthread(const RclConfig& cnf);
|
27 |
extern void stop_idxthread();
|
28 |
extern void stop_idxthread();
|
28 |
extern std::string idxthread_currentfile();
|
29 |
extern DbIxStatus idxthread_idxStatus();
|
29 |
|
30 |
|
30 |
extern int stopindexing;
|
31 |
extern int stopindexing;
|
31 |
extern int startindexing;
|
32 |
extern int startindexing;
|
32 |
extern int indexingdone;
|
33 |
extern int indexingdone;
|
33 |
enum IdxThreadStatus {IDXTS_NULL = 0, IDXTS_OK = 1, IDXTS_ERROR = 2};
|
34 |
enum IdxThreadStatus {IDXTS_NULL = 0, IDXTS_OK = 1, IDXTS_ERROR = 2};
|