UI: Add GetCurrentSceneSource inline function

master
jp9000 2016-01-18 12:59:28 -08:00
parent b8547aa811
commit db48e3471e
1 changed files with 6 additions and 0 deletions

View File

@ -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);