#ifndef RECORDINGFORMATS_HPP #define RECORDINGFORMATS_HPP #include #include #include #include #include #include #include #include class RecordingFormats { public: RecordingFormats(formats::Recording f); std::function getConsumer(); std::function getValidator(); std::function getFinalizer(); std::function getPostUploadTask(); QImage::Format getFormat(); QString getAnotherFormat(); private: std::function consumer; std::function validator; std::function finalizer; std::function postUploadTask; std::vector frames; QImage::Format iFormat; QTemporaryDir tmpDir; QString path; Encoder *enc = NULL; bool interrupt = false; bool frameAdded = false; QString anotherFormat; }; #endif // RECORDINGFORMATS_HPP