Removed a signal handling inserted for debugging.
authorBongjoo Seo <bongjoo.seo@samsung.com>
Thu, 25 Apr 2013 08:03:49 +0000 (17:03 +0900)
committerBongjoo Seo <bongjoo.seo@samsung.com>
Thu, 25 Apr 2013 08:03:49 +0000 (17:03 +0900)
Change-Id: I1f2e96f3ad3152e40dae8a7c66c284d361197836
Signed-off-by: Bongjoo Seo <bongjoo.seo@samsung.com>
src/ui/animations/FUiAnim_AnimationManager.cpp

index 0874aa0..e583872 100644 (file)
 #include "FUiAnim_TransactionNode.h"
 #include "FUiAnim_AnimationGroupNode.h"
 #include "FUiAnim_VisualElementAnimationVariantInterpolator.h"
-
 #include "FUiAnim_AnimationManager.h"
 #include "FUiAnim_DisplayManager.h"
 
-#include "FUiAnim_Debug.h"
-
-#if 0
-class ElapsedTime
-{
-public:
-       ElapsedTime(const char* tag = null)
-       {
-               struct timeval tv;
-
-               tagName = tag;
-
-               gettimeofday(&tv, null);
-               start_time = (long long)tv.tv_sec * 1000000LL + (long long)tv.tv_usec / 1LL;
-       }
-
-       ~ElapsedTime(void)
-       {
-               long long end_time;
-               struct timeval tv;
-               gettimeofday(&tv, null);
-               end_time = (long long)tv.tv_sec * 1000000LL + (long long)tv.tv_usec / 1LL;
-       }
-
-public:
-       long long start_time;
-       const char* tagName;
-};
-#endif
 
 Ecore_Animator* pAnimator = null;
 
@@ -89,20 +59,6 @@ __AnimatorCallback(void* pData)
 namespace Tizen { namespace Ui { namespace Animations
 {
 
-#ifdef VE_DEBUG_MODULE
-Eina_Bool
-__SigProcUser(void* pData, int type, void* pEvent)
-{
-       DumpVeTree();
-       DumpEvasTree();
-       DumpAllEvas();
-       DumpVeLayout();
-
-       return ECORE_CALLBACK_PASS_ON;
-}
-#endif
-
-
 // default transaction event listener
 class _TransactionEventListener
        : public IAnimationTransactionEventListener
@@ -253,10 +209,6 @@ _AnimationManager::Construct(void)
 {
        result r = E_SUCCESS;
 
-#ifdef VE_DEBUG_MODULE
-       ecore_event_handler_add(ECORE_EVENT_SIGNAL_USER, __SigProcUser, null);
-#endif
-
        __pRootTransaction = new (std::nothrow) _TransactionNode();
        SysTryReturnResult(NID_UI_ANIM, (__pRootTransaction != null), E_OUT_OF_MEMORY, "Memory allocation failed. Failed to create root transaction");