virtual result OnRequestEmail(void);
virtual result OnRequestSlideShow(void);
result OnRequestRotate(RotateMode rotateMode);
+ void CancelUpdateProgress(void);
virtual void OnFileOpInvalidate(enum FileActionMode actionId);
virtual void OnFileOpComplete(enum FileActionMode actionId, enum FileActionCompleteRes);
result OnRequestMoveTo(Tizen::Base::String& destDirectory);
result OnRequestSlideShow(void);
result OnRotateRequested(RotateMode rotateMode);
+ void CancelUpdateProgress(void);
virtual result OnInitializing(void);
virtual result OnTerminating(void);
}
return E_SUCCESS;
}
+
+void AllListEditorPanel::CancelUpdateProgress(void)
+{
+ if( __pFileUpdateTimer!= null && __pFileUpdateTimer->IsStarted())
+ {
+ __pFileUpdateTimer->Cancel();
+ delete __pFileUpdateTimer;
+ __pFileUpdateTimer = null;
+ }
+}
return E_SUCCESS;
}
+void AllListSelectionPanel::CancelUpdateProgress(void)
+{
+ if( __pFileUpdateTimer!= null && __pFileUpdateTimer->IsStarted())
+ {
+ __pFileUpdateTimer->Cancel();
+ delete __pFileUpdateTimer;
+ __pFileUpdateTimer = null;
+ }
+}
}
}
+ if (pSceneManager->GetCurrentSceneId() == IDSCN_ALL_LIST_EDITOR)
+ {
+ AllListEditorPanel* pEditorPanel = dynamic_cast<AllListEditorPanel*>(pSceneManager->GetCurrentScene()->GetPanel());
+ if (pEditorPanel != null)
+ {
+ pEditorPanel->CancelUpdateProgress();
+ }
+ }
+ else if (pSceneManager->GetCurrentSceneId() == IDSCN_ALL_LIST_SELECTION)
+ {
+ AllListSelectionPanel* pSelectionPanel = dynamic_cast<AllListSelectionPanel*>(pSceneManager->GetCurrentScene()->GetPanel());
+ if (pSelectionPanel != null)
+ {
+ pSelectionPanel->CancelUpdateProgress();
+ }
+ }
+
if (__pPresentationModel->GetAppControlMode() == APPCONTROL_MODE_PICK
&& pSceneManager->GetCurrentSceneId() == IDSCN_IMAGE_LIST_EDITOR)
{