}
E_API Eina_Bool
+e_client_e_state_rot_available_angles_set(E_Client *ec, int count, E_Client_Rotation_Angle *angles)
+{
+ int i;
+ E_Client_Rotation_Angle *new_angles;
+
+ if (!ec) return EINA_FALSE;
+
+ new_angles = E_NEW(E_Client_Rotation_Angle, count);
+ EINA_SAFETY_ON_NULL_RETURN_VAL(new_angles, EINA_FALSE);
+
+ if (ec->e.state.rot.available_rots)
+ E_FREE(ec->e.state.rot.available_rots);
+
+ for (i = 0; i < count; i++)
+ new_angles[i] = angles[i];
+
+ ec->e.state.rot.available_rots = new_angles;
+
+ return EINA_TRUE;
+}
+
+E_API const E_Client_Rotation_Angle *
+e_client_e_state_rot_available_anlges_get(E_Client *ec)
+{
+ if (!ec) return NULL;
+ return ec->e.state.rot.available_rots;
+}
+
+E_API void
+e_client_e_state_rot_available_angles_free(E_Client *ec)
+{
+ if (!ec) return;
+ if (!ec->e.state.rot.available_rots) return;
+
+ E_FREE(ec->e.state.rot.available_rots);
+}
+
+E_API Eina_Bool
e_client_e_state_rot_available_angle_check(E_Client *ec)
{
if (!ec) return EINA_FALSE;
}
E_API E_Window_Type
-e_client_netwm_type(E_Client *ec)
+e_client_netwm_type_get(E_Client *ec)
{
if (!ec) return E_WINDOW_TYPE_UNKNOWN;
return ec->netwm.type;
E_API E_Client_Rotation_Angle e_client_e_state_rot_angle_prev_get(E_Client *ec);
E_API void e_client_e_state_rot_angle_reserve_set(E_Client *ec, E_Client_Rotation_Angle angle);
E_API E_Client_Rotation_Angle e_client_e_state_rot_angle_reserve_get(E_Client *ec);
+E_API Eina_Bool e_client_e_state_rot_available_angles_set(E_Client *ec, int count, E_Client_Rotation_Angle *angles);
+E_API const E_Client_Rotation_Angle *e_client_e_state_rot_available_anlges_get(E_Client *ec);
+E_API void e_client_e_state_rot_available_angles_free(E_Client *ec);
E_API Eina_Bool e_client_e_state_rot_available_angle_check(E_Client *ec);
E_API Eina_Bool e_client_e_state_rot_available_angle_get(E_Client *ec, unsigned int id, E_Client_Rotation_Angle *angle);
E_API void e_client_e_state_rot_available_angle_count_set(E_Client *ec, int count);
E_API Eina_Bool e_client_netwm_opacity_get(E_Client *ec, unsigned char *opacity);
E_API pid_t e_client_netwm_pid_get(E_Client *ec);
E_API void e_client_netwm_type_set(E_Client *ec, E_Window_Type type);
-E_API E_Window_Type e_client_netwm_type(E_Client *ec);
+E_API E_Window_Type e_client_netwm_type_get(E_Client *ec);
E_API void e_client_netwm_state_skip_pager_set(E_Client *ec, Eina_Bool set);
E_API void e_client_netwm_state_skip_taskbar_set(E_Client *ec, Eina_Bool set);