photosgallery/controllers/fetcher/src/glxfetcherdialog.cpp
branchRCL_3
changeset 75 01504893d9cb
parent 60 5b3385a43d68
--- a/photosgallery/controllers/fetcher/src/glxfetcherdialog.cpp	Wed Sep 15 12:13:06 2010 +0300
+++ b/photosgallery/controllers/fetcher/src/glxfetcherdialog.cpp	Wed Oct 13 14:32:09 2010 +0300
@@ -142,6 +142,7 @@
     
 	// Get the Hitchcock environment.
     iUiUtility = CGlxUiUtility::UtilityL();
+    iEnv = iUiUtility->Env();
     iFetchUri = EFalse;
     iMMCNotifier = CGlxMMCNotifier::NewL(*this);
     }
@@ -207,7 +208,6 @@
 		    }
 		}
 	}
-
 //-----------------------------------------------------------------------------
 // CGlxFetcherDialog::OkToExitL
 //-----------------------------------------------------------------------------
@@ -394,6 +394,16 @@
     }
 
 //-----------------------------------------------------------------------------
+// CGlxFetcherDialog::DynInitMenuPaneL
+//-----------------------------------------------------------------------------
+void CGlxFetcherDialog::DynInitMenuPaneL(
+        TInt /*aResourceId*/, CEikMenuPane* /*aMenuPane*/ )
+    {
+    TRACER("CGlxFetcherDialog::DynInitMenuPaneL");
+    // No Implementation
+    }
+
+//-----------------------------------------------------------------------------
 // CGlxFetcherDialog::OfferKeyEventL
 //-----------------------------------------------------------------------------
 TKeyResponse CGlxFetcherDialog::OfferKeyEventL(const TKeyEvent& aKeyEvent,
@@ -404,15 +414,28 @@
     response = iFetcherContainer->OfferKeyEventL(aKeyEvent,aType);
  
     if(response == EKeyWasNotConsumed)
-        {
         response = CAknDialog::OfferKeyEventL(aKeyEvent,aType);
-        }
 
     return response;    
     }
 
 //-----------------------------------------------------------------------------
-// CGlxFetcherDialog::HandleDoubleTapEventL
+// CGlxFetcherDialog::HandlePointerEventL
+// Handles all pointer events to the screen.
+// Offers the events to the primary display control (container - widgets)
+// and also finally calls handlescreenbufferevent and draws the bitmap onto
+// the screen
+//-----------------------------------------------------------------------------
+void CGlxFetcherDialog::HandlePointerEventL(
+    const TPointerEvent& aPointerEvent)
+    {
+    TRACER("CGlxFetcherDialog::HandlePointerEventL");
+    CCoeControl::HandlePointerEventL( aPointerEvent );
+    iEnv->PrimaryDisplay().HandlePointerEventL( aPointerEvent );
+    }
+
+//-----------------------------------------------------------------------------
+// CGlxFetcherDialog::HandleDoubleTapEvent
 // Callback from the container for double tap events
 // Offers the event from container to Dialog
 //-----------------------------------------------------------------------------