ZModoRecorder.h 794 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef RECORDER_ZMODORECORDER_H
  2. #define RECORDER_ZMODORECORDER_H
  3. #include "Recorder.h"
  4. #include "Settings.h"
  5. namespace Http {
  6. class HttpClient;
  7. } // namespace Http
  8. namespace CameraRecorder {
  9. namespace Recorder {
  10. class ZModoRecorder : public virtual Recorder
  11. {
  12. public:
  13. ZModoRecorder(Http::HttpClient* pHttpClient, const Settings& settings);
  14. ~ZModoRecorder();
  15. virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) override;
  16. virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages) override;
  17. virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
  18. private:
  19. Http::HttpClient* m_pHttpClient;
  20. Settings m_settings;
  21. };
  22. } // namespace Recorder
  23. } // namespace CameraRecorder
  24. #endif // RECORDER_ZMODORECORDER_H