X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=protocol%2Famcp%2FAMCPProtocolStrategy.h;h=559b9d44f1f09042135033c1a5dbd8b8003e6fb1;hb=a660f13c38fbd89c3db2169449baa5e2268db815;hp=b474369c87ec7d4598a270eb7b0120f5bdfb14fb;hpb=1f2344fe8705342b0503af4609064267e9ae42f4;p=casparcg diff --git a/protocol/amcp/AMCPProtocolStrategy.h b/protocol/amcp/AMCPProtocolStrategy.h index b474369c8..559b9d44f 100644 --- a/protocol/amcp/AMCPProtocolStrategy.h +++ b/protocol/amcp/AMCPProtocolStrategy.h @@ -21,10 +21,13 @@ #pragma once -#include "../util/protocolstrategy.h" +#include "../util/ProtocolStrategy.h" #include #include +#include +#include +#include #include @@ -38,15 +41,12 @@ namespace caspar { namespace protocol { namespace amcp { class AMCPProtocolStrategy : public IO::IProtocolStrategy, boost::noncopyable { public: - AMCPProtocolStrategy( - const std::vector>& channels, - const std::shared_ptr& thumb_gen, - std::promise& shutdown_server_now); + AMCPProtocolStrategy(const std::wstring& name, const spl::shared_ptr& repo); virtual ~AMCPProtocolStrategy(); virtual void Parse(const std::wstring& msg, IO::ClientInfoPtr pClientInfo); - virtual std::string GetCodepage() { return "UTF-8"; } + virtual std::string GetCodepage() const { return "UTF-8"; } private: struct impl;