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