From 3a16a6c8361d4c55369726663df083780ba01929 Mon Sep 17 00:00:00 2001 From: tytan652 Date: Wed, 3 May 2023 12:34:49 +0200 Subject: [PATCH] docs: Add missing elements in Services API --- docs/sphinx/reference-services.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/sphinx/reference-services.rst b/docs/sphinx/reference-services.rst index 192022670..7085742cb 100644 --- a/docs/sphinx/reference-services.rst +++ b/docs/sphinx/reference-services.rst @@ -186,6 +186,8 @@ Service Definition Structure .. member:: bool (*obs_service_info.can_try_to_connect)(void *data) + (Optional) + :return: If the service has all the needed connection info to be able to connect. @@ -380,12 +382,16 @@ General Service Functions :return: The output type that should be preferred with this service +--------------------- + .. function:: const char *obs_service_get_connect_info(const obs_service_t *service, uint32_t type) :param type: Check :c:member:`obs_service_info.get_connect_info` for type values. :return: Connection info related to the type value. +--------------------- + .. function:: bool obs_service_can_try_to_connect(const obs_service_t *service) :return: If the service has all the needed connection info to be