forked from enlightenment/efl
75 lines
1.6 KiB
C
75 lines
1.6 KiB
C
#ifndef _ECORE_DRM2_H
|
|
# define _ECORE_DRM2_H
|
|
|
|
# include <Ecore.h>
|
|
# include <Elput.h>
|
|
|
|
# ifdef EAPI
|
|
# undef EAPI
|
|
# endif
|
|
|
|
# ifdef _MSC_VER
|
|
# ifdef BUILDING_DLL
|
|
# define EAPI __declspec(dllexport)
|
|
# else // ifdef BUILDING_DLL
|
|
# define EAPI __declspec(dllimport)
|
|
# endif // ifdef BUILDING_DLL
|
|
# else // ifdef _MSC_VER
|
|
# ifdef __GNUC__
|
|
# if __GNUC__ >= 4
|
|
# define EAPI __attribute__ ((visibility("default")))
|
|
# else // if __GNUC__ >= 4
|
|
# define EAPI
|
|
# endif // if __GNUC__ >= 4
|
|
# else // ifdef __GNUC__
|
|
# define EAPI
|
|
# endif // ifdef __GNUC__
|
|
# endif // ifdef _MSC_VER
|
|
|
|
# ifdef EFL_BETA_API_SUPPORT
|
|
|
|
/**
|
|
* @file
|
|
* @brief Ecore functions for dealing with drm, virtual terminals
|
|
*
|
|
* @defgroup Ecore_Drm2_Group Ecore_Drm2 - Drm Integration
|
|
* @ingroup Ecore
|
|
*
|
|
* Ecore_Drm2 provides a wrapper and functions for using libdrm
|
|
*
|
|
* @li @ref Ecore_Drm2_Init_Group
|
|
* @li @ref Ecore_Drm2_Device_Group
|
|
*/
|
|
|
|
/**
|
|
* @defgroup Ecore_Drm2_Init_Group Drm library Init and Shutdown functions
|
|
*
|
|
* Functions that start and shutdown the Ecore_Drm2 library
|
|
*/
|
|
|
|
/**
|
|
* Initialize the Ecore_Drm2 library
|
|
*
|
|
* @return The number of times the library has been initialized without
|
|
* being shut down. 0 is returned if an error occurs.
|
|
*
|
|
* @ingroup Ecore_Drm2_Init_Group
|
|
* @since 1.18
|
|
*/
|
|
EAPI int ecore_drm2_init(void);
|
|
|
|
/**
|
|
* Shutdown the Ecore_Drm2 library
|
|
*
|
|
* @return The number of times the library has been initialized without
|
|
* being shutdown. 0 is returned if an error occurs.
|
|
*
|
|
* @ingroup Ecore_Drm2_Init_Group
|
|
* @since 1.18
|
|
*/
|
|
EAPI int ecore_drm2_shutdown(void);
|
|
|
|
# endif
|
|
|
|
#endif
|