ncdengine/provider/client/src/ncdsilentinstalloperationproxy.cpp
branchRCL_3
changeset 18 3ba40be8e484
parent 0 ba25891c3a9e
child 44 329d304c1aa1
child 65 7333d7932ef7
--- a/ncdengine/provider/client/src/ncdsilentinstalloperationproxy.cpp	Fri Feb 19 22:57:02 2010 +0200
+++ b/ncdengine/provider/client/src/ncdsilentinstalloperationproxy.cpp	Fri Mar 12 15:43:14 2010 +0200
@@ -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"
@@ -204,7 +204,18 @@
                 SilentInstallOptionsPackage() );             
             break;
             }            
-        
+
+        // Call the corresponding installing function according to the type value.
+        // MimeType info is missing here but SWI will figure out the mimetype via file handler
+        // and call the corresponding plugin.
+        case CNcdInstallInfo::ENcdInstallWidget:
+            {
+            Installer().SilentInstallWidgetL(
+                    iFileHandle, 
+                    SilentInstallOptionsPackage() );
+   
+            break;
+            }
         
         default:
             {