@@ -101,7 +101,7 @@ namespace display_device {
101101
102102 /* *
103103 * @brief A LIST[LIST[DEVICE_ID]] structure which represents an active topology.
104- *
104+ *
105105 * Single display:
106106 * [[DISPLAY_1]]
107107 * 2 extended displays:
@@ -110,7 +110,7 @@ namespace display_device {
110110 * [[DISPLAY_1, DISPLAY_2]]
111111 * Mixed displays:
112112 * [[EXTENDED_DISPLAY_1], [DUPLICATED_DISPLAY_1, DUPLICATED_DISPLAY_2], [EXTENDED_DISPLAY_2]]
113- *
113+ *
114114 * @note On Windows the order does not matter of both device ids or the inner lists.
115115 */
116116 using active_topology_t = std::vector<std::vector<std::string>>;
@@ -119,7 +119,7 @@ namespace display_device {
119119 * @brief Enumerate the available (active and inactive) devices.
120120 * @returns A map of available devices.
121121 * Empty map can also be returned if an error has occurred.
122- *
122+ *
123123 * EXAMPLES:
124124 * ```cpp
125125 * const auto devices { enum_available_devices() };
@@ -134,7 +134,7 @@ namespace display_device {
134134 * @returns A display name for the device, or an empty string if the device is inactive or not found.
135135 * Empty string can also be returned if an error has occurred.
136136 * @see device_info_t
137- *
137+ *
138138 * EXAMPLES:
139139 * ```cpp
140140 * const std::string device_name { "MY_DEVICE_ID" };
@@ -149,7 +149,7 @@ namespace display_device {
149149 * @param device_ids A list of devices to get the modes for.
150150 * @returns A map of device modes per a device or an empty map if a mode could not be found (e.g. device is inactive).
151151 * Empty map can also be returned if an error has occurred.
152- *
152+ *
153153 * EXAMPLES:
154154 * ```cpp
155155 * const std::unordered_set<std::string> device_ids { "DEVICE_ID_1", "DEVICE_ID_2" };
@@ -165,7 +165,7 @@ namespace display_device {
165165 * @returns True if modes were set, false otherwise.
166166 * @warning if any of the specified devices are duplicated, modes modes be provided
167167 * for duplicates too!
168- *
168+ *
169169 * EXAMPLES:
170170 * ```cpp
171171 * const std::string display_a { "MY_ID_1" };
@@ -182,7 +182,7 @@ namespace display_device {
182182 * @param device_id A device to perform the check for.
183183 * @returns True if the device is primary, false otherwise.
184184 * @see device_state_e
185- *
185+ *
186186 * EXAMPLES:
187187 * ```cpp
188188 * const std::string device_id { "MY_DEVICE_ID" };
@@ -197,7 +197,7 @@ namespace display_device {
197197 * @param device_id A device to set as primary.
198198 * @returns True if the device is or was set as primary, false otherwise.
199199 * @note On Windows if the device is duplicated, the other duplicated device(-s) will also become a primary device.
200- *
200+ *
201201 * EXAMPLES:
202202 * ```cpp
203203 * const std::string device_id { "MY_DEVICE_ID" };
@@ -212,7 +212,7 @@ namespace display_device {
212212 * @param device_ids A list of devices to get the HDR states for.
213213 * @returns A map of HDR states per a device or an empty map if an error has occurred.
214214 * @note On Windows the state cannot be retrieved until the device is active even if it supports it.
215- *
215+ *
216216 * EXAMPLES:
217217 * ```cpp
218218 * const std::unordered_set<std::string> device_ids { "DEVICE_ID_1", "DEVICE_ID_2" };
@@ -228,7 +228,7 @@ namespace display_device {
228228 * @returns True if HDR states were set, false otherwise.
229229 * @note If `unknown` states are provided, they will be silently ignored
230230 * and current state will not be changed.
231- *
231+ *
232232 * EXAMPLES:
233233 * ```cpp
234234 * const std::string display_a { "MY_ID_1" };
@@ -244,7 +244,7 @@ namespace display_device {
244244 * @brief Get the active (current) topology.
245245 * @returns A list representing the current topology.
246246 * Empty list can also be returned if an error has occurred.
247- *
247+ *
248248 * EXAMPLES:
249249 * ```cpp
250250 * const auto current_topology { get_current_topology() };
@@ -261,7 +261,7 @@ namespace display_device {
261261 *
262262 * @param topology Topology to validated.
263263 * @returns True if it is valid, false otherwise.
264- *
264+ *
265265 * EXAMPLES:
266266 * ```cpp
267267 * auto current_topology { get_current_topology() };
@@ -277,7 +277,7 @@ namespace display_device {
277277 * @param topology_a First topology to compare.
278278 * @param topology_b Second topology to compare.
279279 * @returns True if topologies are close enough, false otherwise.
280- *
280+ *
281281 * EXAMPLES:
282282 * ```cpp
283283 * auto current_topology { get_current_topology() };
@@ -293,7 +293,7 @@ namespace display_device {
293293 * @brief Set the a new active topology for the OS.
294294 * @param new_topology New device topology to set.
295295 * @returns True if the new topology has been set, false otherwise.
296- *
296+ *
297297 * EXAMPLES:
298298 * ```cpp
299299 * auto current_topology { get_current_topology() };
0 commit comments