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:
parent
466ba5ae29
commit
47397ce527
7 changed files with 34 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue