mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
requesthandler: Rename GetSceneItemSourceName
to GetSceneItemSource
Not an API break, this was introduced just a few commits ago.
This commit is contained in:
parent
4cf8de8382
commit
e5aa4c2f69
@ -126,7 +126,7 @@ const std::unordered_map<std::string, RequestMethodHandler> RequestHandler::_han
|
||||
{"GetSceneItemList", &RequestHandler::GetSceneItemList},
|
||||
{"GetGroupSceneItemList", &RequestHandler::GetGroupSceneItemList},
|
||||
{"GetSceneItemId", &RequestHandler::GetSceneItemId},
|
||||
{"GetSceneItemSourceName", &RequestHandler::GetSceneItemSourceName},
|
||||
{"GetSceneItemSource", &RequestHandler::GetSceneItemSource},
|
||||
{"CreateSceneItem", &RequestHandler::CreateSceneItem},
|
||||
{"RemoveSceneItem", &RequestHandler::RemoveSceneItem},
|
||||
{"DuplicateSceneItem", &RequestHandler::DuplicateSceneItem},
|
||||
|
@ -145,7 +145,7 @@ private:
|
||||
RequestResult GetSceneItemList(const Request &);
|
||||
RequestResult GetGroupSceneItemList(const Request &);
|
||||
RequestResult GetSceneItemId(const Request &);
|
||||
RequestResult GetSceneItemSourceName(const Request &);
|
||||
RequestResult GetSceneItemSource(const Request &);
|
||||
RequestResult CreateSceneItem(const Request &);
|
||||
RequestResult RemoveSceneItem(const Request &);
|
||||
RequestResult DuplicateSceneItem(const Request &);
|
||||
|
@ -132,7 +132,7 @@ RequestResult RequestHandler::GetSceneItemId(const Request &request)
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the source name of a scene item.
|
||||
* Gets the source associated with a scene item.
|
||||
*
|
||||
* @requestField ?sceneName | String | Name of the scene the item is in
|
||||
* @requestField ?sceneUuid | String | UUID of the scene the item is in
|
||||
@ -141,14 +141,14 @@ RequestResult RequestHandler::GetSceneItemId(const Request &request)
|
||||
* @responseField sourceName | String | Name of the source associated with the scene item
|
||||
* @responseField sourceUuid | String | UUID of the source associated with the scene item
|
||||
*
|
||||
* @requestType GetSceneItemSourceName
|
||||
* @requestType GetSceneItemSource
|
||||
* @complexity 3
|
||||
* @rpcVersion -1
|
||||
* @initialVersion 5.4.0
|
||||
* @api requests
|
||||
* @category scene items
|
||||
*/
|
||||
RequestResult RequestHandler::GetSceneItemSourceName(const Request &request) // TODO: Rename to `GetSceneItemSource`
|
||||
RequestResult RequestHandler::GetSceneItemSource(const Request &request)
|
||||
{
|
||||
RequestStatus::RequestStatus statusCode;
|
||||
std::string comment;
|
||||
|
Loading…
Reference in New Issue
Block a user