#ifndef __JSWM_CTL_IF__ #define __JSWM_CTL_IF__ #define JSWM_CTL_IF_STATE_PENDING 0 #define JSWM_CTL_IF_STATE_RUN 1 #define JSWM_CTL_IF_STATE_DIE 2 enum jswm_work_type { JWT_SURFACE_CREATE, JWT_SURFACE_DESTROY, JWT_LAYER_CREATE, JWT_LAYER_DESTROY, JWT_SURFACE_EVENT, }; struct surface_event_para { t_ilm_surface surface; struct ilmSurfaceProperties prop; t_ilm_notification_mask mask; }; int jswm_ctl_init(void); int jswm_ctl_commit(enum jswm_work_type jwt, void *para, int size); #endif /*__JSWM_CTL_IF__*/