Switch to side-by-side view

--- a/src/qtgui/idxthread.h
+++ b/src/qtgui/idxthread.h
@@ -16,23 +16,28 @@
  */
 #ifndef _IDXTHREAD_H_INCLUDED_
 #define _IDXTHREAD_H_INCLUDED_
-/* @(#$Id: idxthread.h,v 1.6 2006-04-12 10:41:39 dockes Exp $  (C) 2004 J.F.Dockes */
+/* @(#$Id: idxthread.h,v 1.7 2008-01-17 11:15:43 dockes Exp $  (C) 2004 J.F.Dockes */
 #include <string>
 #include "indexer.h"
 
 class RclConfig;
 
-// These two deal with starting / stopping the thread itself, not indexing
-// sessions.
+// These two deal with starting / stopping the thread itself, not
+// indexing sessions.
 extern void start_idxthread(const RclConfig& cnf);
 extern void stop_idxthread();
-extern DbIxStatus idxthread_idxStatus();
 
+// Set these to to request action
 extern int stopindexing;
 extern int startindexing;
-extern int indexingdone;
+
+// indexingstatus is NULL iff indexing is currently in progress.
 enum IdxThreadStatus {IDXTS_NULL = 0, IDXTS_OK = 1, IDXTS_ERROR = 2};
 extern IdxThreadStatus indexingstatus;
+// Final indexing status message
 extern string indexingReason;
-
+// Current status of running indexing (phase, file name etc.)
+extern DbIxStatus idxthread_idxStatus();
+// Did last op fail because of stop request ?
+extern bool idxthread_idxInterrupted(); 
 #endif /* _IDXTHREAD_H_INCLUDED_ */