|
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.4 2006-03-22 16:24:41 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: idxthread.h,v 1.5 2006-04-04 13:49:55 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
#include <string>
|
20 |
#include <string>
|
21 |
|
21 |
|
22 |
class RclConfig;
|
22 |
class RclConfig;
|
23 |
|
23 |
|
24 |
// These two deal with starting / stopping the thread itself, not indexing
|
24 |
// These two deal with starting / stopping the thread itself, not indexing
|
25 |
// sessions.
|
25 |
// sessions.
|
26 |
extern void start_idxthread(const RclConfig& cnf);
|
26 |
extern void start_idxthread(const RclConfig& cnf);
|
27 |
extern void stop_idxthread();
|
27 |
extern void stop_idxthread();
|
28 |
extern std::string idxthread_currentfile();
|
28 |
extern std::string idxthread_currentfile();
|
29 |
|
29 |
|
|
|
30 |
extern int stopindexing;
|
30 |
extern int startindexing;
|
31 |
extern int startindexing;
|
31 |
extern int indexingdone;
|
32 |
extern int indexingdone;
|
32 |
extern bool indexingstatus;
|
33 |
enum IdxThreadStatus {IDXTS_NULL = 0, IDXTS_OK = 1, IDXTS_ERROR = 2};
|
|
|
34 |
extern IdxThreadStatus indexingstatus;
|
|
|
35 |
extern string indexingReason;
|
33 |
|
36 |
|
34 |
#endif /* _IDXTHREAD_H_INCLUDED_ */
|
37 |
#endif /* _IDXTHREAD_H_INCLUDED_ */
|