psln/Src/PslnBaseView.cpp
branchRCL_3
changeset 18 0aa5fbdfbc30
parent 0 2f259fa3e83a
--- a/psln/Src/PslnBaseView.cpp	Wed Apr 14 16:14:00 2010 +0300
+++ b/psln/Src/PslnBaseView.cpp	Tue Apr 27 16:55:05 2010 +0300
@@ -62,7 +62,10 @@
     {
     if ( iContainer )
         {
-        iPslnUi->RemoveFromStack( iContainer );
+        if( iPslnUi )
+            {
+            iPslnUi->RemoveFromStack( iContainer );
+            }
         delete iContainer;
         }
     if ( iNaviPaneContext &&
@@ -81,25 +84,10 @@
     {
     switch ( aEventType )
         {
-        case EEventItemClicked:
-        case EEventFlickStopped:
-            if ( iContainer && iContainer->GetMiddleSoftkeyObserver() )
-                {
-                iContainer->GetMiddleSoftkeyObserver()->CheckMiddleSoftkeyLabelL();
-                }
-            HandleListBoxItemHighlightL();    
-            break;
         case EEventEnterKeyPressed:
-        case EEventItemDoubleClicked:
         case EEventItemSingleClicked:
             HandleListBoxSelectionL();
             break;
-        case EEventPenDownOnItem:
-            HandleListBoxStylusDown();
-            break;
-        case EEventItemDraggingActioned:
-            HandleListBoxStylusDrag();
-            break;
         default:
            break;
         }
@@ -261,22 +249,6 @@
     return R_AVKON_SOFTKEYS_OPTIONS_BACK;
     }
     
-// -----------------------------------------------------------------------------
-// Handle listbox stylus move event.
-// -----------------------------------------------------------------------------
-//
-void CPslnBaseView::HandleListBoxStylusDown()
-    {
-    }
-    
-// -----------------------------------------------------------------------------
-// Handle listbox stylus move event.
-// -----------------------------------------------------------------------------
-//
-void CPslnBaseView::HandleListBoxStylusDrag()
-    {
-    }
-
 // ---------------------------------------------------------------------------
 // Removes container.
 // ---------------------------------------------------------------------------