\r
#pragma once\r
\r
-#include <core/channel.h>\r
-\r
-#include <common/exception/exceptions.h>\r
+#include <common/memory/safe_ptr.h>\r
\r
#include <boost/noncopyable.hpp>\r
\r
\r
namespace caspar {\r
\r
-std::vector<safe_ptr<core::channel>> initialize_channels();\r
- \r
-struct invalid_bootstrapper : virtual boost::exception, virtual std::exception {};\r
+namespace core {\r
+ class video_channel;\r
+}\r
\r
class server : boost::noncopyable\r
{\r
public:\r
server();\r
-\r
- const std::vector<safe_ptr<core::channel>> get_channels() const;\r
-\r
+ const std::vector<safe_ptr<core::video_channel>> get_channels() const;\r
private:\r
struct implementation;\r
- std::shared_ptr<implementation> impl_;\r
+ safe_ptr<implementation> impl_;\r
};\r
\r
}
\ No newline at end of file