From e34ba7b6456db30f8704abe5796547163f630639 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Sun, 13 Jan 2013 11:55:16 +0000 Subject: [PATCH] change comp engine values to enum SVN revision: 82717 --- src/bin/e_comp.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/bin/e_comp.h b/src/bin/e_comp.h index e096c7fd3..d1596d2c1 100644 --- a/src/bin/e_comp.h +++ b/src/bin/e_comp.h @@ -3,13 +3,17 @@ typedef struct _E_Comp E_Comp; typedef struct _E_Comp_Win E_Comp_Win; typedef struct _E_Comp_Zone E_Comp_Zone; -#define E_COMP_ENGINE_SW 1 -#define E_COMP_ENGINE_GL 2 - #else #ifndef E_MOD_COMP_H #define E_MOD_COMP_H +typedef enum +{ + E_COMP_ENGINE_NONE = 0, + E_COMP_ENGINE_SW = 1, + E_COMP_ENGINE_GL = 2 +} E_Comp_Engine; + EINTERN Eina_Bool e_comp_init(void); EINTERN int e_comp_shutdown(void);