equal
deleted
inserted
replaced
33 public: |
33 public: |
34 HWRecorder(GameUIConfig * config, const QString & prefix); |
34 HWRecorder(GameUIConfig * config, const QString & prefix); |
35 virtual ~HWRecorder(); |
35 virtual ~HWRecorder(); |
36 |
36 |
37 void EncodeVideo(const QByteArray & record); |
37 void EncodeVideo(const QByteArray & record); |
|
38 void abort(); |
38 bool simultaneousRun(); |
39 bool simultaneousRun(); |
39 |
40 |
40 VideoItem * item; // used by pagevideos |
41 VideoItem * item; // used by pagevideos |
41 QString name; |
42 QString name; |
42 QString prefix; |
43 QString prefix; |
51 void onProgress(float progress); // 0 < progress < 1 |
52 void onProgress(float progress); // 0 < progress < 1 |
52 void encodingFinished(bool success); |
53 void encodingFinished(bool success); |
53 |
54 |
54 private: |
55 private: |
55 bool finished; |
56 bool finished; |
|
57 bool aborted; |
56 GameUIConfig * config; |
58 GameUIConfig * config; |
57 }; |
59 }; |
58 |
60 |
59 #endif // RECORDER_H |
61 #endif // RECORDER_H |