\r
#include <boost/noncopyable.hpp>\r
\r
+#include <string>\r
+#include <utility>\r
+\r
namespace caspar { namespace core {\r
\r
struct frame_producer;\r
class basic_frame;\r
\r
+struct layer_status\r
+{\r
+ std::wstring foreground;\r
+ std::wstring background;\r
+ bool is_paused;\r
+ int64_t total_frames;\r
+ int64_t current_frame;\r
+};\r
+\r
class layer : boost::noncopyable\r
{\r
public:\r
void stop(); // nothrow\r
void param(const std::wstring& param);\r
\r
+ bool is_paused() const;\r
+ int64_t frame_number() const;\r
+\r
+ layer_status status() const;\r
+\r
+ bool empty() const;\r
+\r
safe_ptr<frame_producer> foreground() const; // nothrow\r
safe_ptr<frame_producer> background() const; // nothrow\r
\r