decoder: signal indexing progress

Better UI interactions, actually shows the progress of the index function in
the task manager now.
This commit is contained in:
itsmattkc
2020-02-19 12:19:42 +11:00
parent 03bdf01357
commit 53551246da
4 changed files with 21 additions and 0 deletions
+8
View File
@@ -234,7 +234,15 @@ public:
*/
virtual void Index(const QAtomicInt* cancelled);
signals:
/**
* @brief While indexing, this signal will provide progress as a percentage (0-100 inclusive) if available
*/
void IndexProgress(int);
protected:
void SignalIndexProgress(const int64_t& ts);
bool open_;
private: