#define E_DEVICEMGR_BLOCK_INTERN_H
#include "e_intern.h"
-#include "e_devicemgr.h"
+#include "e_devicemgr_intern.h"
EINTERN int e_devicemgr_block_add(struct wl_client *client, struct wl_resource *resource, uint32_t clas, uint32_t duration);
EINTERN int e_devicemgr_block_remove(struct wl_client *client);
#include "e_intern.h"
#include "e_devicemgr.h"
+#include "e_devicemgr_conf_intern.h"
+
+#define E_DEVICEMGR_BOUNDARY_MAX 4
+
+typedef struct _E_Devicemgr_Input_Device_Multi E_Devicemgr_Input_Device_Multi;
+typedef struct _E_Devicemgr_Pointer_Boundary E_Devicemgr_Pointer_Boundary;
+
+typedef void (*E_Devicemgr_Block_Expire_Cb) (void *data);
+
+typedef enum _E_Devicemgr_Boundary
+{
+ E_DEVICEMGR_BOUNDARY_NONE = 0,
+ E_DEVICEMGR_BOUNDARY_TOP,
+ E_DEVICEMGR_BOUNDARY_RIGHT,
+ E_DEVICEMGR_BOUNDARY_BOTTOM,
+ E_DEVICEMGR_BOUNDARY_LEFT
+} E_Devicemgr_Boundary_Type;
+
+struct _E_Devicemgr_Pointer_Boundary
+{
+ struct wl_client *client;
+ E_Client *ec;
+ struct wl_resource *resource;
+};
struct _E_Devicemgr
{
} relative_motion_grab;
};
+struct _E_Devicemgr_Input_Device_Multi
+{
+ double radius_x;
+ double radius_y;
+ double pressure;
+ double angle;
+};
+
typedef struct _E_Info_Comp_Obj
{
unsigned int obj; // u
#include <glib.h>
-#define E_DEVICEMGR_BOUNDARY_MAX 4
+typedef struct _E_Devicemgr E_Devicemgr;
+typedef struct _E_Devicemgr_Input_Device E_Devicemgr_Input_Device;
-typedef struct _E_Devicemgr E_Devicemgr;
-typedef struct _E_Devicemgr_Conf_Edd E_Devicemgr_Conf_Edd;
-typedef struct _E_Devicemgr_Config_Data E_Devicemgr_Config_Data;
-
-typedef struct _E_Devicemgr_Input_Device
+struct _E_Devicemgr_Input_Device
{
Eina_List *resources;
const char *name;
const char *identifier;
Ecore_Device_Class clas;
Ecore_Device_Subclass subclas;
-} E_Devicemgr_Input_Device;
-
-typedef struct _E_Devicemgr_Input_Device_Multi
-{
- double radius_x;
- double radius_y;
- double pressure;
- double angle;
-} E_Devicemgr_Input_Device_Multi;
-
-
-typedef void (*E_Devicemgr_Block_Expire_Cb) (void *data);
-
-typedef struct _E_Devicemgr_Pointer_Boundary
-{
- struct wl_client *client;
- E_Client *ec;
- struct wl_resource *resource;
-} E_Devicemgr_Pointer_Boundary;
-
-typedef enum _E_Devicemgr_Boundary
-{
- E_DEVICEMGR_BOUNDARY_NONE = 0,
- E_DEVICEMGR_BOUNDARY_TOP,
- E_DEVICEMGR_BOUNDARY_RIGHT,
- E_DEVICEMGR_BOUNDARY_BOTTOM,
- E_DEVICEMGR_BOUNDARY_LEFT
-} E_Devicemgr_Boundary_Type;
+};
extern E_API E_Devicemgr *e_devicemgr;
E_API void e_devicemgr_device_list_lock(void);
E_API void e_devicemgr_device_list_unlock(void);
-
////////////////////////////////////////////////////////////
// This is for getting/setting internal value of E_Devicemgr
E_API Eina_List *e_devicemgr_device_list_get(void);