Fixed Coding Idioms Violations
[platform/framework/native/uifw.git] / src / ui / controls / FUiCtrl_Indicator.cpp
index 4ded06f..c6da460 100644 (file)
@@ -387,9 +387,9 @@ _Indicator::AddIndicatorObject(_Control* pControl, _Window* pWindow)
                r = ChangeCurrentVisualElement(__pLandscapeVisualElement);
        }
 
-       Ecore_Evas *pPortraitEe = ecore_evas_object_ecore_evas_get(__pPortraitIndicatorEvasObject);
+       Ecore_EvaspPortraitEe = ecore_evas_object_ecore_evas_get(__pPortraitIndicatorEvasObject);
        SysTryReturn(NID_UI_CTRL, pPortraitEe, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] Unable to get evas.");
-       Ecore_Evas *pLandscapeEe = ecore_evas_object_ecore_evas_get(__pLandscapeIndicatorEvasObject);
+       Ecore_EvaspLandscapeEe = ecore_evas_object_ecore_evas_get(__pLandscapeIndicatorEvasObject);
        SysTryReturn(NID_UI_CTRL, pLandscapeEe, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] Unable to get evas.");
 
        ecore_evas_data_set(pPortraitEe, pPortPublicKey, __pPortraitIndicatorEvasObject);
@@ -430,8 +430,8 @@ _Indicator::DeleteIndicatorObject(void)
                }
        }
 
-       Ecore_Evas *pPortraitEe = ecore_evas_object_ecore_evas_get(__pPortraitIndicatorEvasObject);
-       Ecore_Evas *pLandscapeEe = ecore_evas_object_ecore_evas_get(__pLandscapeIndicatorEvasObject);
+       Ecore_EvaspPortraitEe = ecore_evas_object_ecore_evas_get(__pPortraitIndicatorEvasObject);
+       Ecore_EvaspLandscapeEe = ecore_evas_object_ecore_evas_get(__pLandscapeIndicatorEvasObject);
 
        if (pPortraitEe)
        {
@@ -596,7 +596,7 @@ _Indicator::OnTimerExpired(Timer& timer)
 }
 
 void
-_Indicator::OnDisconnected(Ecore_Evas *pEe)
+_Indicator::OnDisconnected(Ecore_EvaspEe)
 {
        _Indicator* pIndicator = (_Indicator*)ecore_evas_data_get(pEe, pIndicatorKey);
        SysTryReturnVoidResult(NID_UI_CTRL, pIndicator, E_SYSTEM, "[E_SYSTEM] Unable to get Indicator Object");
@@ -674,7 +674,7 @@ _Indicator::IsNotificationTrayOpenEnabled(void) const
 }
 
 void
-_Indicator::OnMessageHandle(Ecore_Evas *pEe, int msgDomain, int msgId, void *data, int size)
+_Indicator::OnMessageHandle(Ecore_EvaspEe, int msgDomain, int msgId, void *data, int size)
 {
        if (!data)
        {
@@ -691,7 +691,7 @@ _Indicator::OnMessageHandle(Ecore_Evas *pEe, int msgDomain, int msgId, void *dat
        {
                if (msgId == MSG_ID_INDICATOR_REPEAT_EVENT)
                {
-                       int *repeat = (int*)data;
+                       intrepeat = (int*)data;
                        if (1 == *repeat)
                        {
                                if (pPortraitIndicatorEvasObject)
@@ -810,7 +810,7 @@ _Indicator::ShowIndicatorEffect(bool down, int duration)
        SysTryReturnResult(NID_UI_CTRL, pSlideAnimation, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
 
        pSlideAnimation->SetDuration(duration);
-       pSlideAnimation->SetPropertyName( L"bounds.position");
+       pSlideAnimation->SetPropertyName(L"bounds.position");
        pSlideAnimation->SetVisualElementAnimationStatusEventListener(this);
 
        float indicatorHeight = 0.0f;
@@ -852,7 +852,7 @@ _Indicator::ShowIndicatorEffect(bool down, int duration)
                SysTryReturnResult(NID_UI_CTRL, pUserData, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
        }
        pSlideAnimation->SetUserData((void*)(pUserData));
-       AddAnimation( L"bounds.position", *pSlideAnimation);
+       AddAnimation(L"bounds.position", *pSlideAnimation);
 
        delete pSlideAnimation;
 
@@ -928,7 +928,7 @@ _Indicator::OnTouchPressed(const _Control& source, const _TouchInfo& touchinfo)
                }
        }
 
-       if (pTouchManager->IsListenerOnly(pointId) == true )
+       if (pTouchManager->IsListenerOnly(pointId) == true)
        {
                return true;
        }