cmmanager/cmmgr/cmmapi/src/cmdestinationwrapper.cpp
branchGCC_SURGE
changeset 49 faa5ef4f80da
parent 46 95d45f234cf3
--- a/cmmanager/cmmgr/cmmapi/src/cmdestinationwrapper.cpp	Thu Jun 17 22:32:02 2010 +0100
+++ b/cmmanager/cmmgr/cmmapi/src/cmdestinationwrapper.cpp	Thu Jul 22 16:37:38 2010 +0100
@@ -145,7 +145,10 @@
         }
 
     iCmManagerApi = aCmManagerApi;
-    iCmDestinationApi.ConnectAndGetConnMethodAsEmbeddedDestL( *aCmManagerApi, aConnMethodHandle, aExistingHandle );
+    iCmDestinationApi.ConnectAndGetConnMethodAsEmbeddedDestL(
+            *aCmManagerApi,
+            aConnMethodHandle,
+            aExistingHandle );
     if ( !aExistingHandle )
         {
         iCmManagerApi->StoreDestinationWrapper( this );
@@ -386,6 +389,26 @@
     return err;
     }
 
+TInt CCmDestinationWrapper::GetIcon( HBufC* aBuffer )
+    {
+    OstTraceFunctionEntry0( CCMDESTINATIONWRAPPER_GETICON_ENTRY );
+
+    TInt err = iCmDestinationApi.GetIcon( aBuffer );
+
+    OstTraceFunctionExit0( CCMDESTINATIONWRAPPER_GETICON_EXIT );
+    return err;
+    }
+
+TInt CCmDestinationWrapper::SetIcon( const TDesC& aValue)
+    {
+    OstTraceFunctionEntry0( CCMDESTINATIONWRAPPER_SETICON_ENTRY );
+
+    TInt err = iCmDestinationApi.SetIcon( aValue );
+
+    OstTraceFunctionExit0( CCMDESTINATIONWRAPPER_SETICON_EXIT );
+    return err;
+    }
+
 TBool CCmDestinationWrapper::SessionConnected()
     {
     return iCmDestinationApi.SessionConnected();