Add MultiSnapshot
This commit is contained in:
+35
-34
@@ -1,34 +1,35 @@
|
||||
#ifndef RECORDER_ZMODORECORDER_H
|
||||
#define RECORDER_ZMODORECORDER_H
|
||||
|
||||
#include "Recorder.h"
|
||||
#include "Settings.h"
|
||||
|
||||
|
||||
namespace Http {
|
||||
|
||||
class HttpClient;
|
||||
|
||||
} // namespace Http
|
||||
|
||||
namespace CameraRecorder {
|
||||
namespace Recorder {
|
||||
|
||||
class ZModoRecorder : public virtual Recorder
|
||||
{
|
||||
public:
|
||||
ZModoRecorder(Http::HttpClient* pHttpClient, const Settings& settings);
|
||||
~ZModoRecorder();
|
||||
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) override;
|
||||
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
|
||||
private:
|
||||
Http::HttpClient* m_pHttpClient;
|
||||
Settings m_settings;
|
||||
};
|
||||
|
||||
} // namespace Recorder
|
||||
} // namespace CameraRecorder
|
||||
|
||||
#endif // RECORDER_ZMODORECORDER_H
|
||||
#ifndef RECORDER_ZMODORECORDER_H
|
||||
#define RECORDER_ZMODORECORDER_H
|
||||
|
||||
#include "Recorder.h"
|
||||
#include "Settings.h"
|
||||
|
||||
|
||||
namespace Http {
|
||||
|
||||
class HttpClient;
|
||||
|
||||
} // namespace Http
|
||||
|
||||
namespace CameraRecorder {
|
||||
namespace Recorder {
|
||||
|
||||
class ZModoRecorder : public virtual Recorder
|
||||
{
|
||||
public:
|
||||
ZModoRecorder(Http::HttpClient* pHttpClient, const Settings& settings);
|
||||
~ZModoRecorder();
|
||||
|
||||
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) override;
|
||||
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, int numberOfImages) override;
|
||||
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
||||
|
||||
private:
|
||||
Http::HttpClient* m_pHttpClient;
|
||||
Settings m_settings;
|
||||
};
|
||||
|
||||
} // namespace Recorder
|
||||
} // namespace CameraRecorder
|
||||
|
||||
#endif // RECORDER_ZMODORECORDER_H
|
||||
|
||||
Reference in New Issue
Block a user