X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fdecklink%2Fconsumer%2Fdecklink_consumer.h;h=b06fe7f58577608b47cfa2a4142d02cd58ed249a;hb=9e4b08cde6c6de9e83a3fff42d90affc3cd8e5bc;hp=02d9b180d7677bf415cbab94cd06164ba3e74b57;hpb=5bee5deb850c0744be543105f04e880012b6012a;p=casparcg diff --git a/modules/decklink/consumer/decklink_consumer.h b/modules/decklink/consumer/decklink_consumer.h index 02d9b180d..b06fe7f58 100644 --- a/modules/decklink/consumer/decklink_consumer.h +++ b/modules/decklink/consumer/decklink_consumer.h @@ -1,44 +1,43 @@ -/* -* Copyright (c) 2011 Sveriges Television AB -* -* This file is part of CasparCG (www.casparcg.com). -* -* CasparCG is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* CasparCG is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with CasparCG. If not, see . -* -* Author: Robert Nagy, ronag89@gmail.com -*/ - -#pragma once - -#include - -#include - -#include - -#include -#include - -namespace caspar { - -namespace core { - struct frame_consumer; -} - -namespace decklink { - -safe_ptr create_consumer(const std::vector& params); -safe_ptr create_consumer(const boost::property_tree::wptree& ptree); - -}} \ No newline at end of file +/* +* Copyright (c) 2011 Sveriges Television AB +* +* This file is part of CasparCG (www.casparcg.com). +* +* CasparCG is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CasparCG is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with CasparCG. If not, see . +* +* Author: Robert Nagy, ronag89@gmail.com +*/ + +#pragma once + +#include + +#include + +#include + +#include +#include + +namespace caspar { namespace decklink { + +void describe_consumer(core::help_sink& sink, const core::help_repository& repo); +spl::shared_ptr create_consumer( + const std::vector& params, core::interaction_sink*, + std::vector> channels); +spl::shared_ptr create_preconfigured_consumer( + const boost::property_tree::wptree& ptree, core::interaction_sink*, + std::vector> channels); + +}}