if (__pContentIdList != null && __pContentIdList->GetCount() > 0)
{
AppLogDebug("Starting timer");
- __pMoveProBar = new (std::nothrow) GlProgressBar(static_cast<IActionEventListener*>(this), static_cast<IPropagatedKeyEventListener*>(this));
+ __pMoveProBar = new (std::nothrow) GlProgressBar(static_cast<IActionEventListener*>(this),
+ static_cast<IPropagatedKeyEventListener*>(this));
__pMoveProBar->ShowFileProgressingPopup(__pContentIdList->GetCount(), _actionId);
__moveToCount = 0;
__moveTimer.Construct(*this);
return;
}
}
- __moveToCount++;
+ ++__moveToCount;
__pMoveProBar->IncProgress(__moveToCount);
if (__pInvalidate)
{
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
}
-int GlTimerBase::GetMovedCount() const
+int
+GlTimerBase::GetMovedCount() const
{
return __moveToCount;
}
-void GlTimerBase::OnOpCancelled(enum FileActionCancelRes res)
+void
+GlTimerBase::OnOpCancelled(enum FileActionCancelRes res)
{
AppLogDebug("ENTER");
__pMoveProBar->HideFileProgressingPopup();
AppLogDebug("EXIT");
}
-void GlTimerBase::OnOpComplete(enum FileActionCompleteRes res)
+void
+GlTimerBase::OnOpComplete(enum FileActionCompleteRes res)
{
AppLogDebug("ENTER");
ContentUpdateEventListener* pContentListener = ContentUpdateEventListener::GetInstance();
AppLogDebug("EXIT");
}
-void GlTimerBase::SetActionMode(const enum FileActionMode actionId)
+void
+GlTimerBase::SetActionMode(const enum FileActionMode actionId)
{
_actionId = actionId;
}
-
-bool GlTimerBase::IsStarted(void)
+bool
+GlTimerBase::IsStarted(void)
{
return __isStarted;
}
-void GlTimerBase::Cancel(void)
+void
+GlTimerBase::Cancel(void)
{
- if ( __isStarted )
+ if (__isStarted)
{
ContentUpdateEventListener* pContentListener = ContentUpdateEventListener::GetInstance();
pContentListener->AddContentListener();
__moveTimer.Cancel();
__isStarted = false;
}
-
}
bool