Bug 2312 - Fix various GCCE compiler compatibility issues. CompilerCompatibility
authorPeter Fordham <peter.fordham@gmail.com>
Fri, 19 Mar 2010 14:46:37 -0700
branchCompilerCompatibility
changeset 12 5072fb0f5b46
parent 11 deb88a0cda37
child 13 18296dac9a57
Bug 2312 - Fix various GCCE compiler compatibility issues.
ccservices/cmsservices/cmscontactor/inc/cmsselectiondialog.h
ccservices/cmsservices/cmsengine/Server/inc/cmsserverasynccontact.h
logsui/EngineInc/CLogsEngine.h
phonebookengines/VirtualPhonebook/VPbkSimStoreImpl/inc/CMultipleReadCmd.h
phonebookui/Phonebook2/UIControls/src/cpbk2predictiveviewstack.cpp
phonebookui/Phonebook2/ccapplication/ccapp/inc/ccapppluginloader.h
phonebookui/Speeddial/inc/SpdiaContainer.h
phonebookui/Speeddial/speeddialgsplugin/inc/speeddialgsplugin.h
predictivesearch/PcsAlgorithm/Algorithm2/inc/CPcsKeyMap.h
presencecache/presencecacheserver2/inc/presencecachebuddystore.h
presencecache/presencecacheutils/inc/presencecachebuddyinfo.h
--- a/ccservices/cmsservices/cmscontactor/inc/cmsselectiondialog.h	Fri Mar 19 14:44:38 2010 -0700
+++ b/ccservices/cmsservices/cmscontactor/inc/cmsselectiondialog.h	Fri Mar 19 14:46:37 2010 -0700
@@ -56,7 +56,7 @@
 	 * @param aFocusIndex Focused item.
 	 * @return selected field item.
 	 */
-	const CCmsContactFieldItem* CCMSSelectionDialog::ExecuteLD
+	const CCmsContactFieldItem* ExecuteLD
 	( TInt aCbaResourceId, const TDesC& aHeading,
 			TInt aFocusIndex );
 
@@ -83,7 +83,7 @@
 	 * @since S60 v5.0
 	 * @return listbox model.
 	 */
-	MDesCArray* CCMSSelectionDialog::CreateListItemsL( );
+	MDesCArray* CreateListItemsL( );
 
 	/**
 	 * Helper function for making correct model data for listbox.
--- a/ccservices/cmsservices/cmsengine/Server/inc/cmsserverasynccontact.h	Fri Mar 19 14:44:38 2010 -0700
+++ b/ccservices/cmsservices/cmsengine/Server/inc/cmsserverasynccontact.h	Fri Mar 19 14:46:37 2010 -0700
@@ -218,7 +218,7 @@
         * @return TCmsDefaultAttributeTypes CMS's default type.
         */
         CCmsContactFieldItem::TCmsDefaultAttributeTypes
-            CCmsServerAsyncContact::MatchTypesToInternalEnum(
+            MatchTypesToInternalEnum(
                 TVPbkDefaultType aDefaultType );
         
         /**
--- a/logsui/EngineInc/CLogsEngine.h	Fri Mar 19 14:44:38 2010 -0700
+++ b/logsui/EngineInc/CLogsEngine.h	Fri Mar 19 14:46:37 2010 -0700
@@ -227,7 +227,7 @@
          *
          * @return strings used by Log database
 		 */
-        IMPORT_C TLogsEventStrings CLogsEngine::LogDbStrings();
+        IMPORT_C TLogsEventStrings LogDbStrings();
         
 		/**
 		 * Returns reference to CLogClient. 
--- a/phonebookengines/VirtualPhonebook/VPbkSimStoreImpl/inc/CMultipleReadCmd.h	Fri Mar 19 14:44:38 2010 -0700
+++ b/phonebookengines/VirtualPhonebook/VPbkSimStoreImpl/inc/CMultipleReadCmd.h	Fri Mar 19 14:46:37 2010 -0700
@@ -124,7 +124,7 @@
         /**
         * C++ constructor.
         */
-        CMultipleReadCmd::CMultipleReadCmd( CBasicStore& aBasicStore, 
+        CMultipleReadCmd( CBasicStore& aBasicStore, 
                 TInt& aIndexToRead );
             
         /**
--- a/phonebookui/Phonebook2/UIControls/src/cpbk2predictiveviewstack.cpp	Fri Mar 19 14:44:38 2010 -0700
+++ b/phonebookui/Phonebook2/UIControls/src/cpbk2predictiveviewstack.cpp	Fri Mar 19 14:46:37 2010 -0700
@@ -684,7 +684,7 @@
     SendBaseViewChangedEvent();
 
     SendEventToObservers( *this, iViewObservers,
-        MVPbkContactViewObserver::ContactViewReady );
+        &MVPbkContactViewObserver::ContactViewReady );
     }
 
 // --------------------------------------------------------------------------
@@ -696,7 +696,7 @@
     {
     iViewReady = EFalse;
     SendEventToObservers( *this, iViewObservers,
-        MVPbkContactViewObserver::ContactViewUnavailable );
+        &MVPbkContactViewObserver::ContactViewUnavailable );
     }
 
 // --------------------------------------------------------------------------
@@ -715,12 +715,12 @@
    if ( iBaseView == &aView )
         {
         SendEventToObservers( *this, iStackObservers,
-            MPbk2FilteredViewStackObserver::ContactAddedToBaseView, aIndex,
+            &MPbk2FilteredViewStackObserver::ContactAddedToBaseView, aIndex,
             aContactLink );
         
         // Always forward only top view events to clients
         SendEventToObservers( *this, iViewObservers,
-            MVPbkContactViewObserver::ContactAddedToView, aIndex,
+            &MVPbkContactViewObserver::ContactAddedToView, aIndex,
             aContactLink );
         }
     }
@@ -740,7 +740,7 @@
         {
         // Always forward top view events to clients
         SendEventToObservers( *this, iViewObservers,
-            MVPbkContactViewObserver::ContactRemovedFromView, aIndex,
+            &MVPbkContactViewObserver::ContactRemovedFromView, aIndex,
             aContactLink );
          }
     }
@@ -758,7 +758,7 @@
         {
         // Always forward only top view events to clients
         SendEventToObservers( *this, iViewObservers,
-            MVPbkContactViewObserver::ContactViewError, aError,
+            &MVPbkContactViewObserver::ContactViewError, aError,
             aErrorNotified );
         }
     }
--- a/phonebookui/Phonebook2/ccapplication/ccapp/inc/ccapppluginloader.h	Fri Mar 19 14:44:38 2010 -0700
+++ b/phonebookui/Phonebook2/ccapplication/ccapp/inc/ccapppluginloader.h	Fri Mar 19 14:46:37 2010 -0700
@@ -310,7 +310,7 @@
      * @param aInfo, object of CImplementationInformation
      * @return opaque integer value.
      */
-    TInt CCCAppPluginLoader::OpaqueValueFrom( const CImplementationInformation& aInfo );
+    TInt OpaqueValueFrom( const CImplementationInformation& aInfo );
     
     /**
      * Loads a plugin.
--- a/phonebookui/Speeddial/inc/SpdiaContainer.h	Fri Mar 19 14:44:38 2010 -0700
+++ b/phonebookui/Speeddial/inc/SpdiaContainer.h	Fri Mar 19 14:46:37 2010 -0700
@@ -124,7 +124,7 @@
         * Selection of the MiddleSoftKey
         * 
         */
-		void CSpdiaContainer::MiddleSoftKeyL();
+	void MiddleSoftKeyL();
 
         /**
         * Shows the ViewNumber note.
@@ -172,7 +172,7 @@
         void VoiceMailDialogLaunched( TBool aBool );
 
 
-        CAknLongTapDetector& CSpdiaContainer::LongTapDetectorL();
+        CAknLongTapDetector& LongTapDetectorL();
         /**
         * refresh the dialog in speeddial view 
         */
--- a/phonebookui/Speeddial/speeddialgsplugin/inc/speeddialgsplugin.h	Fri Mar 19 14:44:38 2010 -0700
+++ b/phonebookui/Speeddial/speeddialgsplugin/inc/speeddialgsplugin.h	Fri Mar 19 14:46:37 2010 -0700
@@ -128,7 +128,7 @@
         */
         CSpeeddialGsPlugin();
         
-        void CSpeeddialGsPlugin::LaunchEasAppL();
+        void LaunchEasAppL();
 
     protected:
         /**
--- a/predictivesearch/PcsAlgorithm/Algorithm2/inc/CPcsKeyMap.h	Fri Mar 19 14:44:38 2010 -0700
+++ b/predictivesearch/PcsAlgorithm/Algorithm2/inc/CPcsKeyMap.h	Fri Mar 19 14:46:37 2010 -0700
@@ -74,7 +74,7 @@
     /**
      * Returns the pool Id for a key                               
      */
-    TInt CPcsKeyMap::PoolIdForCharacter(const TChar& aChar);
+    TInt PoolIdForCharacter(const TChar& aChar);
     /**
      * Returns total number of pools                                
      */
--- a/presencecache/presencecacheserver2/inc/presencecachebuddystore.h	Fri Mar 19 14:44:38 2010 -0700
+++ b/presencecache/presencecacheserver2/inc/presencecachebuddystore.h	Fri Mar 19 14:46:37 2010 -0700
@@ -165,7 +165,7 @@
     * @param aOtherIdentity other identity object
     * @return ETrue if identity matches.
     */
-    TBool CPresenceCacheBuddyStore::EqualsIdentity(
+    TBool EqualsIdentity(
                             const TDesC& aOtherIdentity ) const;
                     
     /**
--- a/presencecache/presencecacheutils/inc/presencecachebuddyinfo.h	Fri Mar 19 14:44:38 2010 -0700
+++ b/presencecache/presencecacheutils/inc/presencecachebuddyinfo.h	Fri Mar 19 14:46:37 2010 -0700
@@ -172,7 +172,7 @@
      */
     void ConstructL();
     
-    void CPresenceCacheBuddyInfo::DoSet16BitValueL( 
+    void DoSet16BitValueL( 
             const TDesC& aKey,    
             const TDesC& aValue );