vpnengine/vpnins/src/vpninsexe.cpp
branchRCL_3
changeset 40 473321461bba
parent 0 33413c0669b9
child 41 e06095241a65
--- a/vpnengine/vpnins/src/vpninsexe.cpp	Thu Aug 19 10:54:34 2010 +0300
+++ b/vpnengine/vpnins/src/vpninsexe.cpp	Tue Aug 31 16:14:16 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2005-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"
@@ -18,23 +18,16 @@
 
 
 #include <e32base.h>
-
-    #include <centralrepository.h> // link against centralrepository.lib
-    #include <settingsinternalcrkeys.h>
+#include <certificateapps.h>
 
-    #include <certificateapps.h>
-
-
-_LIT(KVpnManagementUiDllName, "vpnmanagementui.dll");
-
-LOCAL_C void setKeysAndOtherSettingsL();
+LOCAL_C void setSettingsL();
 
 // The starting point
 GLDEF_C TInt E32Main()
     {
     __UHEAP_MARK;
     CTrapCleanup* cleanup = CTrapCleanup::New();
-    TRAPD(error, setKeysAndOtherSettingsL());
+    TRAPD(error, setSettingsL());
     if (error != KErrNone)
         {
         ;
@@ -45,14 +38,8 @@
     }
 
  
-LOCAL_C void setKeysAndOtherSettingsL()
+LOCAL_C void setSettingsL()
     {
-    // Connecting and initialization:
-    CRepository* repository = CRepository::NewL( KCRUidCommunicationSettings );
-    repository->Set( KSettingsVPNSupported, 1 );
-    repository->Set( KSettingsVPNImplementation, KVpnManagementUiDllName );
-    delete repository;
-
     CCertificateAppInfoManager* manager = CCertificateAppInfoManager::NewLC();
     
     const TUid KUidVpn = {0x101F7993};