]> git.sesse.net Git - casparcg/blobdiff - protocol/clk/CLKProtocolStrategy.cpp
* Enabled modules like flash and html (will be merged soon) to hook in CG functionali...
[casparcg] / protocol / clk / CLKProtocolStrategy.cpp
index 59739f8ae82f104760ca2938375b33ab01b4be3b..ea559f1244404d30bf7e63eb8ff56d43a3dd0c24 100644 (file)
@@ -25,8 +25,6 @@
 #include "CLKProtocolStrategy.h"
 #include "clk_commands.h"
 
-#include <modules/flash/producer/cg_proxy.h>
-
 #include <string>
 #include <algorithm>
 #include <locale>
@@ -144,9 +142,10 @@ private:
 };
 
 clk_protocol_strategy_factory::clk_protocol_strategy_factory(
-               const std::vector<spl::shared_ptr<core::video_channel>>& channels)
+               const std::vector<spl::shared_ptr<core::video_channel>>& channels,
+               const spl::shared_ptr<core::cg_producer_registry>& cg_registry)
 {
-       add_command_handlers(command_processor_, channels.at(0));
+       add_command_handlers(command_processor_, channels.at(0), cg_registry);
 }
 
 IO::protocol_strategy<wchar_t>::ptr clk_protocol_strategy_factory::create(