Back event changes
[apps/osp/Gallery.git] / src / GlGalleryApp.cpp
index d7da34c..398d3d8 100644 (file)
@@ -42,6 +42,7 @@ GalleryApp::GalleryApp(void)
        : __requestId(0)
        , __pArguments(null)
        , __appControlResult(APP_CTRL_RESULT_SUCCEEDED)
+       , __frameActivated(false)
 {
        AppLogDebug("ENTER");
        AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
@@ -242,6 +243,18 @@ GalleryApp::SetFrameEnabled(const bool enabled)
        }
 }
 
+void
+GalleryApp::SetFrameActivated(bool frameActivated)
+{
+       __frameActivated = frameActivated;
+}
+
+bool
+GalleryApp::GetFrameActivated(void) const
+{
+       return __frameActivated;
+}
+
 bool
 GalleryApp::IsHwKeySupported(void)
 {