Change-Id: Ia09c1c1f6ad2781e211f1bf76e90ee5d8a532ca1
Signed-off-by: Himanshu <himanshu.t@samsung.com>
SetOrientation(ORIENTATION_AUTOMATIC);
AddOrientationEventListener(*this);
SetOrientation(ORIENTATION_AUTOMATIC);
AddOrientationEventListener(*this);
- __pPopUp = new (std::nothrow) SlideShowPopUp();
-
- if (__pPopUp != null)
- {
- __pPopUp->Initialize();
- __pPopUp->SetEventListner(this);
- AddControl(__pPopUp);
- }
-
__pPresentationModel = FileListPresentationModel::GetInstance();
__pPresentationModel->ClearThumbnailRequests();
__pPresentationModel = FileListPresentationModel::GetInstance();
__pPresentationModel->ClearThumbnailRequests();
case IDA_CONTEXT_MENU_MORE_SLIDE_SHOW:
{
case IDA_CONTEXT_MENU_MORE_SLIDE_SHOW:
{
+ if (__pPopUp != NULL)
+ {
+ delete __pPopUp;
+ __pPopUp = NULL;
+ }
+ __pPopUp = new (std::nothrow) SlideShowPopUp();
+
+ __pPopUp->Initialize();
+ __pPopUp->SetEventListner(this);
__pPopUp->SetShowState(true);
__pPopUp->Show();
}
__pPopUp->SetShowState(true);
__pPopUp->Show();
}
__pPresentationModel = FileListPresentationModel::GetInstance();
__pPresentationModel->ClearThumbnailRequests();
__pPresentationModel = FileListPresentationModel::GetInstance();
__pPresentationModel->ClearThumbnailRequests();
- __pPopUp = new (std::nothrow) SlideShowPopUp();
-
- if (__pPopUp != null)
- {
- __pPopUp->Initialize();
- __pPopUp->SetEventListner(this);
- AddControl(__pPopUp);
- }
-
InitializeFooter();
SetFormBackEventListener(this);
SetOrientation(ORIENTATION_AUTOMATIC);
InitializeFooter();
SetFormBackEventListener(this);
SetOrientation(ORIENTATION_AUTOMATIC);
case IDA_FOOTER_SLIDESHOW:
{
case IDA_FOOTER_SLIDESHOW:
{
+ if (__pPopUp != NULL)
+ {
+ delete __pPopUp;
+ __pPopUp = NULL;
+ }
+ __pPopUp = new (std::nothrow) SlideShowPopUp();
+
+ __pPopUp->Initialize();
+ __pPopUp->SetEventListner(this);
__pPopUp->SetShowState(true);
__pPopUp->Show();
}
__pPopUp->SetShowState(true);
__pPopUp->Show();
}