E (RandR): Add function to return monitor's connected state.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77709
This commit is contained in:
Christopher Michael 2012-10-10 07:54:57 +00:00 committed by Christopher Michael
parent f2d5c58121
commit c646c7de26
1 changed files with 11 additions and 0 deletions

View File

@ -420,6 +420,17 @@ e_smart_monitor_mode_get(Evas_Object *obj)
return sd->mode;
}
Eina_Bool
e_smart_monitor_connected_get(Evas_Object *obj)
{
E_Smart_Data *sd;
if (!(sd = evas_object_smart_data_get(obj)))
return EINA_FALSE;
return sd->connected;
}
/* local functions */
static void
_e_smart_add(Evas_Object *obj)