summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/Ecore_Drm.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-05-04 14:13:21 -0400
committerChris Michael <cp.michael@samsung.com>2015-05-07 14:39:45 -0400
commitc4461ac5d80508da2e542026d7578df2e7390b7b (patch)
treea68c4fc066ddfa0a64cb4f42a2c010e0df4d52da /src/lib/ecore_drm/Ecore_Drm.h
parent2606735b394b9cfbf14f46edfe413c76aa872d7b (diff)
ecore-drm: Add API function to return output connected state
Summary: This adds a new API function to check if a given output is connected or not. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm/Ecore_Drm.h')
-rw-r--r--src/lib/ecore_drm/Ecore_Drm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index 54e252e4e0..e5c2972a0d 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -788,6 +788,18 @@ EAPI const Eina_List *ecore_drm_devices_get(void);
788 */ 788 */
789EAPI void ecore_drm_screen_size_range_get(Ecore_Drm_Device *dev, int *minw, int *minh, int *maxw, int *maxh); 789EAPI void ecore_drm_screen_size_range_get(Ecore_Drm_Device *dev, int *minw, int *minh, int *maxw, int *maxh);
790 790
791/**
792 * Get if a given output is connected
793 *
794 * @param output The Ecore_Drm_Output to get the connected status of
795 *
796 * @return EINA_TRUE if output is connected, EINA_FALSE otherwise
797 *
798 * @ingroup Ecore_Drm_Output_Group
799 * @since 1.15
800 */
801EAPI Eina_Bool ecore_drm_output_connected_get(Ecore_Drm_Output *output);
802
791#ifdef __cplusplus 803#ifdef __cplusplus
792} 804}
793#endif 805#endif