client: add tdm_client_output_get_mode function
[platform/core/uifw/libtdm.git] / client / tdm_client.h
index 17d63cf..f8b2dec 100644 (file)
@@ -219,6 +219,16 @@ tdm_error
 tdm_client_output_get_refresh_rate(tdm_client_output *output, unsigned int *refresh);
 
 /**
+ * @brief Get the width and height of the given client output mode
+ * @param[in] output The client output object
+ * @param[out] width The width of output mode
+ * @param[out] height The height of output mode
+ * @return #TDM_ERROR_NONE if success. Otherwise, error value.
+ */
+tdm_error
+tdm_client_output_get_mode(tdm_client_output *output, unsigned int *width, unsigned int *height);
+
+/**
  * @brief Get the connection status of the given client output
  * @param[in] output The client output object
  * @param[out] status The connection status