cmmanager/cmmgr/Framework/Src/cmsettingsui.cpp
branchRCL_3
changeset 55 fc7b30ed2058
parent 0 5a93021fdf25
--- a/cmmanager/cmmgr/Framework/Src/cmsettingsui.cpp	Thu Jul 15 19:05:04 2010 +0300
+++ b/cmmanager/cmmgr/Framework/Src/cmsettingsui.cpp	Thu Aug 19 10:18:49 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -15,7 +15,10 @@
 *
 */
 
-#include <cmsettingsui.h>
+//This include contains full path because there is 
+//an other version of the same file available in the public
+//SDK and we want to make sure that the internal header is used.
+#include <platform/mw/cmsettingsui.h> 
 #include "cmsettingsuiimpl.h"
 #include <cmcommonconstants.h>
 
@@ -82,3 +85,30 @@
     {
     return iImpl->SelectDestinationDlgL( aDestinationId );
     }
+    
+//-----------------------------------------------------------------------------
+//  CCmSettingsUi::AddCmL()
+//-----------------------------------------------------------------------------
+//    
+
+EXPORT_C TUint32 CCmSettingsUi::AddCmL( TUint32& aDestUid, TUint32 aBearerType )
+    {
+    return iImpl->AddCmL( aDestUid, aBearerType );
+    }
+
+//-----------------------------------------------------------------------------
+//  CCmSettingsUi::EditCmL()
+//-----------------------------------------------------------------------------
+//
+
+EXPORT_C CCmSettingsUi::TResult CCmSettingsUi::EditCmL( TUint32 aCmId )
+    {
+    if ( iImpl->EditCmL( aCmId ) == KDialogUserExit )
+        {
+        return EExit;
+        }
+     else
+        {
+        return EBack;
+        }
+    }