forked from enlightenment/efl
Rework device API a bit and add a device_free function
This change adds a 'seat' parameter to the ecore_drm_device_find function for located devices on a specific seat. This also adds a new API function for freeing any returned Ecor_Drm_Device structure Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
056fb866e9
commit
b41d7e67af
|
@ -64,6 +64,7 @@ typedef struct _Ecore_Drm_Device Ecore_Drm_Device;
|
|||
EAPI int ecore_drm_init(void);
|
||||
EAPI int ecore_drm_shutdown(void);
|
||||
|
||||
EAPI Ecore_Drm_Device *ecore_drm_device_find(const char *name);
|
||||
EAPI Ecore_Drm_Device *ecore_drm_device_find(const char *name, const char *seat);
|
||||
EAPI void ecore_drm_device_free(Ecore_Drm_Device *dev);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue