+ return html_inputs;
+ }
+#endif
+
+ void register_video_signal_connection(movit::EffectChain *chain, LiveInputWrapper *live_input, FFmpegCapture *capture)
+ {
+ video_signal_connections[chain].emplace_back(VideoSignalConnection { live_input, capture });
+ }
+
+#ifdef HAVE_CEF
+ void register_html_signal_connection(movit::EffectChain *chain, LiveInputWrapper *live_input, CEFCapture *capture)
+ {
+ html_signal_connections[chain].emplace_back(CEFSignalConnection { live_input, capture });
+ }
+#endif
+
+ struct MenuEntry {
+ std::string text;
+ int lua_ref;
+ };
+ std::vector<MenuEntry> get_theme_menu() { return theme_menu; } // Can be empty for no menu.
+ void theme_menu_entry_clicked(int lua_ref);
+
+ // Will be invoked every time the theme sets a new menu.
+ // Is not invoked for a menu that exists at the time of the callback.
+ void set_theme_menu_callback(std::function<void()> callback)
+ {
+ theme_menu_callback = callback;