QTfrontend/net/recorder.h
changeset 13644 1b536e268519
parent 11046 47a8c19ecb60
child 14629 8ffa0c27f434
equal deleted inserted replaced
13643:690cc84e9fd6 13644:1b536e268519
    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