summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_manager.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-10 13:46:31 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-10 13:46:31 -0400
commitba3a91a8b534b1ff9af095d3084a37031f15f974 (patch)
tree33ae99c3abf1c151cc6b4e15029a7fc2eb823532 /src/lib/elput/elput_manager.c
parentec3cb831858ca95e247492f245cc755a26ca8eb2 (diff)
elput: Add API function to return a list of seats
This patch adds a new API function which can be used to return a list of existing Elput_Seat objects from a given manager. @feature Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/elput_manager.c')
-rw-r--r--src/lib/elput/elput_manager.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/elput/elput_manager.c b/src/lib/elput/elput_manager.c
index 13db80973f..9145e9c434 100644
--- a/src/lib/elput/elput_manager.c
+++ b/src/lib/elput/elput_manager.c
@@ -112,3 +112,10 @@ elput_manager_vt_set(Elput_Manager *manager, int vt)
112 112
113 return EINA_FALSE; 113 return EINA_FALSE;
114} 114}
115
116EAPI const Eina_List *
117elput_manager_seats_get(Elput_Manager *manager)
118{
119 EINA_SAFETY_ON_NULL_RETURN_VAL(manager, NULL);
120 return manager->input.seats;
121}