Subversion Repositories seema-scanner

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
256 - 1
 
2
#ifndef SMExportWorker_H
3
#define SMExportWorker_H
4
 
5
#include "SMTypes.h"
6
 
7
#include <QObject>
8
#include <deque>
9
 
10
class SMExportWorker : public QObject{
11
    Q_OBJECT
12
 
13
    public:
14
        SMExportWorker(){}
15
        ~SMExportWorker(){}
16
 
17
    public slots:
18
        void abort();
19
        void exportFrameSequence(QString path, SMFrameSequence seq);
20
        void work();
21
 
22
    signals:
23
        void progressUpdate(int progress);
24
        void finished(int id);
25
        void aborted();
26
 
27
    private:
28
        std::deque<QString> paths;
29
        std::deque<SMFrameSequence> seqs;
30
        bool was_aborted = false;
31
        bool working = false;
32
};
33
 
34
#endif // SMExportWorker_H