]> git.sesse.net Git - casparcg/blobdiff - core/producer/stage.h
2.0. Applied tk3 patch, STATUS command for layer status querying.
[casparcg] / core / producer / stage.h
index 1217dc2c653c291f733a9ae177ee1601b7f2225a..b13e712571e6e2bc558706a9ba4a599ed5b03120 100644 (file)
@@ -30,7 +30,8 @@
 namespace caspar { namespace core {\r
 \r
 struct video_format_desc;\r
-class video_channel_context;;\r
+class video_channel_context;\r
+struct layer_status;\r
 \r
 class stage : boost::noncopyable\r
 {\r
@@ -49,6 +50,8 @@ public:
        void clear();   \r
        void swap_layer(int index, size_t other_index);\r
        void swap_layer(int index, size_t other_index, stage& other);\r
+\r
+       layer_status get_status(int index);\r
        boost::unique_future<safe_ptr<frame_producer>> foreground(size_t index);\r
        boost::unique_future<safe_ptr<frame_producer>> background(size_t index);\r
 \r