Bug 1745 - Fix types for passing function pointers. CompilerCompatibility
authorPeter Fordham <peter.fordham@gmail.com>
Fri, 19 Mar 2010 14:42:44 -0700
branchCompilerCompatibility
changeset 9 ac078c434997
parent 8 62e2cd501189
child 10 76e09a79886c
Bug 1745 - Fix types for passing function pointers.
phonebookui/Phonebook2/UIControls/src/cpbk2filteredviewstack.cpp
--- a/phonebookui/Phonebook2/UIControls/src/cpbk2filteredviewstack.cpp	Fri Mar 19 14:41:05 2010 -0700
+++ b/phonebookui/Phonebook2/UIControls/src/cpbk2filteredviewstack.cpp	Fri Mar 19 14:42:44 2010 -0700
@@ -1146,7 +1146,7 @@
         {
         // Always forward top view events to clients
         SendEventToObservers( *this, iViewObservers,
-            MVPbkContactViewObserver::ContactViewUnavailable );
+            &MVPbkContactViewObserver::ContactViewUnavailable );
         }
     }
 
@@ -1167,7 +1167,7 @@
     if ( &aView == iBaseViewElement->View() )
         {
         SendEventToObservers( *this, iStackObservers,
-            MPbk2FilteredViewStackObserver::ContactAddedToBaseView, aIndex,
+            &MPbk2FilteredViewStackObserver::ContactAddedToBaseView, aIndex,
             aContactLink );
         }
 
@@ -1175,7 +1175,7 @@
         {
         // Always forward only top view events to clients
         SendEventToObservers( *this, iViewObservers,
-            MVPbkContactViewObserver::ContactAddedToView, aIndex,
+            &MVPbkContactViewObserver::ContactAddedToView, aIndex,
             aContactLink );
         }
     }
@@ -1196,7 +1196,7 @@
         {
         // Always forward top view events to clients
         SendEventToObservers( *this, iViewObservers,
-            MVPbkContactViewObserver::ContactRemovedFromView, aIndex,
+            &MVPbkContactViewObserver::ContactRemovedFromView, aIndex,
             aContactLink );
         }
     }
@@ -1237,7 +1237,7 @@
     // Always forward view erros to clients. The view stack is not in valid
     // state and client must reset the stack
     SendEventToObservers( *this, iViewObservers,
-        MVPbkContactViewObserver::ContactViewError, aError,
+        &MVPbkContactViewObserver::ContactViewError, aError,
         aErrorNotified );
     }
 
@@ -1369,7 +1369,7 @@
         ContactViewReady"));
 
         SendEventToObservers( *this, iViewObservers,
-            MVPbkContactViewObserver::ContactViewReady );
+            &MVPbkContactViewObserver::ContactViewReady );
         }
     }