#ifndef RECORDINGFORMATS_HPP #define RECORDINGFORMATS_HPP #include #include #include #include #include #include #include class RecordingFormats { public: RecordingFormats(formats::Recording f); ~RecordingFormats(); 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; Encoder *enc = NULL; QString anotherFormat; }; #endif // RECORDINGFORMATS_HPP