]> git.sesse.net Git - casparcg/blobdiff - shell/server.h
2.0. image_mixer: Fixed wierd bug where "layer" was leaked.
[casparcg] / shell / server.h
index fb4917cfff61e96061209a6eb5f1ccec8e2abc22..53b2c66c53a8bb676c70ae0c515a9d3e3ea09ac9 100644 (file)
 \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
 #include <vector>\r
 \r
 namespace caspar {\r
-               \r
+\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