]> git.sesse.net Git - casparcg/blobdiff - modules/screen/consumer/screen_consumer.h
Created a consumer that provides sync to a channel based on the pace of another chann...
[casparcg] / modules / screen / consumer / screen_consumer.h
index 666e28f2eb089bad17461b6ed0b41b097d63b074..fb754db6e8287954e8839578a62e725bbf1e8112 100644 (file)
 
 #include <common/memory.h>
 
+#include <core/fwd.h>
+
 #include <vector>
 #include <boost/property_tree/ptree.hpp>
 
-namespace caspar { 
-       
-namespace core {
-       class frame_consumer;
-}
-
-namespace screen {
-
+namespace caspar { namespace screen {
 
-spl::shared_ptr<core::frame_consumer> create_consumer(const std::vector<std::wstring>& params);
-spl::shared_ptr<core::frame_consumer> create_consumer(const boost::property_tree::wptree& ptree);
+void describe_consumer(core::help_sink& sink, const core::help_repository& repo);
+spl::shared_ptr<core::frame_consumer> create_consumer(
+               const std::vector<std::wstring>& params,
+               core::interaction_sink* sink,
+               std::vector<spl::shared_ptr<core::video_channel>> channels);
+spl::shared_ptr<core::frame_consumer> create_preconfigured_consumer(
+               const boost::property_tree::wptree& ptree,
+               core::interaction_sink* sink,
+               std::vector<spl::shared_ptr<core::video_channel>> channels);
 
-}}
\ No newline at end of file
+}}