\r
#include <core/producer/frame_producer.h>\r
\r
-#include <memory>\r
-\r
-namespace caspar {\r
-\r
-class flash_producer : public core::frame_producer\r
-{\r
-public:\r
- explicit flash_producer(const std::wstring& filename);\r
- flash_producer(flash_producer&& other);\r
-\r
- virtual safe_ptr<core::basic_frame> receive();\r
- virtual void initialize(const safe_ptr<core::frame_factory>& frame_factory);\r
- virtual void set_parent_printer(const printer& parent_printer);\r
- virtual std::wstring print() const;\r
-\r
- void param(const std::wstring& param);\r
- \r
- static std::wstring find_template(const std::wstring& templateName);\r
-private: \r
- struct implementation;\r
- std::shared_ptr<implementation> impl_;\r
-};\r
-\r
-}
\ No newline at end of file
+#include <common/memory/safe_ptr.h>\r
+\r
+#include <vector>\r
+#include <string>\r
+\r
+namespace caspar { namespace flash {\r
+\r
+safe_ptr<core::frame_producer> create_producer(const safe_ptr<core::frame_factory>& frame_factory, const std::vector<std::wstring>& params);\r
+\r
+std::wstring find_template(const std::wstring& templateName);\r
+\r
+}}
\ No newline at end of file