Fixed issue 46761
authorHimanshu <himanshu.t@samsung.com>
Thu, 18 Jul 2013 04:59:15 +0000 (10:29 +0530)
committerHimanshu <himanshu.t@samsung.com>
Thu, 18 Jul 2013 04:59:15 +0000 (10:29 +0530)
Change-Id: I4f73dcb9e163e179397c533867b7584fee8241ba
Signed-off-by: Himanshu <himanshu.t@samsung.com>
inc/GlFileListForm.h
src/GlFileListForm.cpp

index 45d3536..3857118 100644 (file)
@@ -22,7 +22,6 @@
 #ifndef _GL_FILE_LIST_FORM_H_
 #define _GL_FILE_LIST_FORM_H_
 
-#include <FApp.h>
 #include <FUi.h>
 #include "GlFormContentUpdateEventListener.h"
 #include "GlSlideSettingListener.h"
@@ -34,7 +33,6 @@ class SlideShowPopUp;
 class FileListForm
        : public IFormContentUpdateEventListener
        , public ISlideSettingListener
-       , public Tizen::App::IAppControlResponseListener
        , public Tizen::Ui::IActionEventListener
        , public Tizen::Ui::Controls::Form
        , public Tizen::Ui::Controls::IFormBackEventListener
@@ -61,10 +59,6 @@ public:
 
        virtual void OnFormMenuRequested (Tizen::Ui::Controls::Form &source);
 
-       virtual void OnAppControlCompleteResponseReceived(const Tizen::App::AppId& appId,
-                               const Tizen::Base::String& operationId, Tizen::App::AppCtrlResult appControlResult,
-                               const Tizen::Base::Collection::IMap* pExtraData);
-
        void SetMenuState(bool state);
 
 private:
index 9c91119..e4a47d9 100644 (file)
@@ -173,7 +173,7 @@ FileListForm::OnActionPerformed(const Control& source, int actionId)
                pDataList->Construct();
                pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_CAMERA_ALLOW_SWITCH), new (std::nothrow) String(APPCONTROL_DATA_TRUE));
                __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_CAMERA, APPCONTROL_OPERATION_ID_CREATE_CONTENT,
-                               null, new (std::nothrow) String(APPCONTROL_MIME_IMAGE_JPG), pDataList, this);
+                               null, new (std::nothrow) String(APPCONTROL_MIME_IMAGE_JPG), pDataList, null);
        }
        break;
 
@@ -345,13 +345,3 @@ FileListForm::OnFormMenuRequested (Tizen::Ui::Controls::Form &source)
        }
 }
 
-void
-FileListForm::OnAppControlCompleteResponseReceived(const AppId& appId, const Tizen::Base::String& operationId,
-                       AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pExtraData)
-{
-       AppLogDebug("OnAppControlCompleteResponseReceived : %d", appControlResult);
-
-       GalleryApp* pGalleryApp = static_cast<GalleryApp*>(GalleryApp::GetInstance());
-       TryReturnVoid(pGalleryApp != null, "pGalleryApp is null");
-       pGalleryApp->SetFrameEnabled(true);
-}