cmmanager/cmmgr/cmmapi/src/cmmanagerapi.cpp
branchGCC_SURGE
changeset 49 faa5ef4f80da
parent 46 95d45f234cf3
child 44 a0c4ceac30d0
--- a/cmmanager/cmmgr/cmmapi/src/cmmanagerapi.cpp	Thu Jun 17 22:32:02 2010 +0100
+++ b/cmmanager/cmmgr/cmmapi/src/cmmanagerapi.cpp	Thu Jul 22 16:37:38 2010 +0100
@@ -73,12 +73,8 @@
                 return err;
                 }
             err = TCmManagerLauncher::LaunchServer(
-                    KCmmServer,
                     KCmmServerFile,
-                    KCmmUid3,
-                    KCmmServerInitHeapSize,
-                    KCmmServerMaxHeapSize,
-                    KCmmServerStackSize );
+                    KCmmUid3 );
 
             if ( err != KErrNone && err != KErrAlreadyExists )
                 {
@@ -165,7 +161,7 @@
 // RCmManagerApi::GetDestinationWrapperL()
 //-----------------------------------------------------------------------------
 //
-CCmDestinationWrapper* RCmManagerApi::GetDestinationWrapperL( const TInt& aHandle )
+CCmDestinationWrapper* RCmManagerApi::GetDestinationWrapperL( const TInt aHandle )
     {
     OstTraceFunctionEntry0( RCMMANAGERAPI_GETDESTINATIONWRAPPER_ENTRY );
 
@@ -229,7 +225,7 @@
 // RCmManagerApi::GetConnMethodWrapperL()
 //-----------------------------------------------------------------------------
 //
-CCmConnectionMethodWrapper* RCmManagerApi::GetConnMethodWrapperL( const TInt& aHandle )
+CCmConnectionMethodWrapper* RCmManagerApi::GetConnMethodWrapperL( const TInt aHandle )
     {
     OstTraceFunctionEntry0( RCMMANAGERAPI_GETCONNMETHODWRAPPER_ENTRY );
 
@@ -954,4 +950,20 @@
     return err;
     }
 
+//-----------------------------------------------------------------------------
+// RCmManagerApi::GetUncategorizedIcon()
+//-----------------------------------------------------------------------------
+//
+TInt RCmManagerApi::GetUncategorizedIcon( HBufC* aBuffer )
+    {
+    OstTraceFunctionEntry0( RCMMANAGERAPI_GETUNCATEGORIZEDICON_ENTRY );
+
+    TPtr descriptor( aBuffer->Des() );
+    TIpcArgs args( &descriptor );
+    TInt err = SendReceive( ECmmGetUncategorizedIcon, args );
+
+    OstTraceFunctionExit0( RCMMANAGERAPI_GETUNCATEGORIZEDICON_EXIT );
+    return err;
+    }
+
 // End of file