summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-01-22 12:45:49 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-26 08:37:09 -0500
commitbd41178fb03eb432cec8ebd92676180ba8477a45 (patch)
tree20a0a566034e9d26d04b92668d71cdfae8494428 /src/lib/ecore_drm
parentc9cee01f125fc1681005bf83e47a535a98603c65 (diff)
ecore-drm: Remove logind header file
Summary: These functions have been moved to the private header file now, and thus this file is no longer needed. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm_logind.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_logind.h b/src/lib/ecore_drm/ecore_drm_logind.h
deleted file mode 100644
index fe72b73294..0000000000
--- a/src/lib/ecore_drm/ecore_drm_logind.h
+++ /dev/null
@@ -1,55 +0,0 @@
1#ifndef _ECORE_DRM_LOGIN_H_
2# define _ECORE_DRM_LOGIN_H_
3
4# ifdef HAVE_CONFIG_H
5# include "config.h"
6# endif
7
8# ifdef HAVE_SYSTEMD_LOGIN
9# include <systemd/sd-login.h>
10
11Eina_Bool _ecore_drm_logind_connect(Ecore_Drm_Device *dev);
12void _ecore_drm_logind_disconnect(Ecore_Drm_Device *dev);
13Eina_Bool _ecore_drm_logind_device_open(const char *device, Ecore_Drm_Open_Cb callback, void *data);
14int _ecore_drm_logind_device_open_no_pending(const char *device);
15void _ecore_drm_logind_device_close(const char *device);
16
17int _ecore_drm_dbus_init(const char *session);
18int _ecore_drm_dbus_shutdown(void);
19int _ecore_drm_dbus_device_take(uint32_t major, uint32_t minor, Ecore_Drm_Open_Cb callback, void *data);
20int _ecore_drm_dbus_device_take_no_pending(uint32_t major, uint32_t minor, Eina_Bool *paused_out, double timeout);
21void _ecore_drm_dbus_device_release(uint32_t major, uint32_t minor);
22
23# else
24static inline Eina_Bool
25_ecore_drm_logind_connect(Ecore_Drm_Device *dev EINA_UNUSED)
26{
27 return EINA_FALSE;
28}
29
30static inline void
31_ecore_drm_logind_disconnect(Ecore_Drm_Device *dev EINA_UNUSED)
32{
33 return;
34}
35
36static inline Eina_Bool
37_ecore_drm_logind_device_open(const char *device EINA_UNUSED, Ecore_Drm_Open_Cb callback EINA_UNUSED, void *data EINA_UNUSED)
38{
39 return EINA_FALSE;
40}
41
42static inline int
43_ecore_drm_logind_device_open_no_pending(const char *device EINA_UNUSED)
44{
45 return -1;
46}
47
48static inline void
49_ecore_drm_logind_device_close(const char *device EINA_UNUSED)
50{
51 return;
52}
53# endif
54
55#endif