forked from enlightenment/efl
ecore-drm2: Add API function to return connector type of an output
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
parent
bd2ab7de96
commit
1eb85aab57
|
@ -542,6 +542,18 @@ EAPI Eina_Bool ecore_drm2_output_connected_get(Ecore_Drm2_Output *output);
|
|||
*/
|
||||
EAPI Eina_Bool ecore_drm2_output_cloned_get(Ecore_Drm2_Output *output);
|
||||
|
||||
/**
|
||||
* Get the connector type of a given output
|
||||
*
|
||||
* @param output
|
||||
*
|
||||
* @return An unsigned integer representing the type of connector for this output
|
||||
*
|
||||
* @ingroup Ecore_Drm2_Output_Group
|
||||
* @since 1.18
|
||||
*/
|
||||
EAPI unsigned int ecore_drm2_output_connector_type_get(Ecore_Drm2_Output *output);
|
||||
|
||||
/**
|
||||
* @defgroup Ecore_Drm2_Fb_Group Drm framebuffer functions
|
||||
*
|
||||
|
|
|
@ -1062,3 +1062,10 @@ ecore_drm2_output_cloned_get(Ecore_Drm2_Output *output)
|
|||
EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
|
||||
return output->cloned;
|
||||
}
|
||||
|
||||
EAPI unsigned int
|
||||
ecore_drm2_output_connector_type_get(Ecore_Drm2_Output *output)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(output, 0);
|
||||
return output->conn_type;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue