mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-10 10:36:16 -04:00
UI: Add obs_frontend_open_source_interaction()
Adds a frontend api call to open the interact dialog of a source, just like the `_properties` and `_filters` functions.
This commit is contained in:
@@ -618,6 +618,12 @@ struct OBSStudioAPI : obs_frontend_callbacks {
|
||||
Q_ARG(OBSSource, OBSSource(source)));
|
||||
}
|
||||
|
||||
void obs_frontend_open_source_interaction(obs_source_t *source) override
|
||||
{
|
||||
QMetaObject::invokeMethod(main, "OpenInteraction",
|
||||
Q_ARG(OBSSource, OBSSource(source)));
|
||||
}
|
||||
|
||||
char *obs_frontend_get_current_record_output_path(void) override
|
||||
{
|
||||
const char *recordOutputPath = main->GetCurrentOutputPath();
|
||||
|
||||
Reference in New Issue
Block a user