X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=shell%2Fserver.h;h=a8241813915836d0b5af3e223802fba288feb01a;hb=f2f24a2d9da345fa5626369d72d8fd851345d7ad;hp=00ea5eb72c5be6fb8c4f6be20eb6b7d995ce4fdc;hpb=c3a76b811579dd3a52227e170903da821c04ae9e;p=casparcg diff --git a/shell/server.h b/shell/server.h index 00ea5eb72..a82418139 100644 --- a/shell/server.h +++ b/shell/server.h @@ -22,29 +22,28 @@ #pragma once #include +#include #include +#include #include -#include #include -namespace caspar { +FORWARD3(caspar, protocol, amcp, class amcp_command_repository); -namespace core { - class video_channel; - class thumbnail_generator; -} +namespace caspar { -class server /* final */ : public boost::noncopyable +class server final : public boost::noncopyable { public: - explicit server(boost::promise& shutdown_server_now); - const std::vector> channels() const; - std::shared_ptr get_thumbnail_generator() const; + explicit server(std::promise& shutdown_server_now); + void start(); + spl::shared_ptr get_system_info_provider_repo() const; + spl::shared_ptr get_amcp_command_repository() const; - monitor::source& monitor_output(); + core::monitor::subject& monitor_output(); private: struct impl; spl::shared_ptr impl_;