UI: Add GetCurrentSceneSource inline function
parent
b8547aa811
commit
db48e3471e
|
@ -260,6 +260,12 @@ private:
|
|||
public:
|
||||
OBSScene GetCurrentScene();
|
||||
|
||||
inline OBSSource GetCurrentSceneSource()
|
||||
{
|
||||
OBSScene curScene = GetCurrentScene();
|
||||
return OBSSource(obs_scene_get_source(curScene));
|
||||
}
|
||||
|
||||
obs_service_t *GetService();
|
||||
void SetService(obs_service_t *service);
|
||||
|
||||
|
|
Loading…
Reference in New Issue