diff options
author | Chris Michael <cpmichael@osg.samsung.com> | 2016-05-10 13:46:31 -0400 |
---|---|---|
committer | Chris Michael <cpmichael@osg.samsung.com> | 2016-05-10 13:46:31 -0400 |
commit | ba3a91a8b534b1ff9af095d3084a37031f15f974 (patch) | |
tree | 33ae99c3abf1c151cc6b4e15029a7fc2eb823532 /src/lib/elput/elput_manager.c | |
parent | ec3cb831858ca95e247492f245cc755a26ca8eb2 (diff) | |
download | efl-ba3a91a8b534b1ff9af095d3084a37031f15f974.tar.gz |
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.c | 7 |
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) return EINA_FALSE; } + +EAPI const Eina_List * +elput_manager_seats_get(Elput_Manager *manager) +{ + EINA_SAFETY_ON_NULL_RETURN_VAL(manager, NULL); + return manager->input.seats; +} |