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:
parent
f2d5c58121
commit
c646c7de26
|
@ -420,6 +420,17 @@ e_smart_monitor_mode_get(Evas_Object *obj)
|
||||||
return sd->mode;
|
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 */
|
/* local functions */
|
||||||
static void
|
static void
|
||||||
_e_smart_add(Evas_Object *obj)
|
_e_smart_add(Evas_Object *obj)
|
||||||
|
|
Loading…
Reference in New Issue