|
a/src/qtgui/idxthread.h |
|
b/src/qtgui/idxthread.h |
|
... |
|
... |
17 |
#ifndef _IDXTHREAD_H_INCLUDED_
|
17 |
#ifndef _IDXTHREAD_H_INCLUDED_
|
18 |
#define _IDXTHREAD_H_INCLUDED_
|
18 |
#define _IDXTHREAD_H_INCLUDED_
|
19 |
#include <string>
|
19 |
#include <string>
|
20 |
#include "indexer.h"
|
20 |
#include "indexer.h"
|
21 |
|
21 |
|
22 |
class RclConfig;
|
|
|
23 |
|
|
|
24 |
// These two deal with starting / stopping the thread itself, not
|
22 |
// These two deal with starting / stopping the thread itself, not
|
25 |
// indexing sessions.
|
23 |
// indexing sessions.
|
|
|
24 |
// cnf will be cloned each time we start an indexing pass. The pointer must
|
|
|
25 |
// stay valid for the whole program duration.
|
26 |
extern void start_idxthread(const RclConfig& cnf);
|
26 |
extern void start_idxthread();
|
27 |
extern void stop_idxthread();
|
27 |
extern void stop_idxthread();
|
28 |
|
28 |
|
29 |
// Use these to to request action from thread
|
29 |
// Use these to to request action from thread
|
30 |
extern void start_indexing(bool rezero = false);
|
30 |
extern void start_indexing(bool rezero = false);
|
31 |
extern void stop_indexing();
|
31 |
extern void stop_indexing();
|