ncdengine/provider/client/src/ncdsilentinstalloperationproxy.cpp
branchRCL_3
changeset 11 3ba40be8e484
parent 0 ba25891c3a9e
child 25 7333d7932ef7
equal deleted inserted replaced
9:51c0f5edf5ef 11:3ba40be8e484
     1 /*
     1 /*
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   202                 aFile.MimeType(), 
   202                 aFile.MimeType(), 
   203                 aFile.Data(),
   203                 aFile.Data(),
   204                 SilentInstallOptionsPackage() );             
   204                 SilentInstallOptionsPackage() );             
   205             break;
   205             break;
   206             }            
   206             }            
   207         
   207 
       
   208         // Call the corresponding installing function according to the type value.
       
   209         // MimeType info is missing here but SWI will figure out the mimetype via file handler
       
   210         // and call the corresponding plugin.
       
   211         case CNcdInstallInfo::ENcdInstallWidget:
       
   212             {
       
   213             Installer().SilentInstallWidgetL(
       
   214                     iFileHandle, 
       
   215                     SilentInstallOptionsPackage() );
       
   216    
       
   217             break;
       
   218             }
   208         
   219         
   209         default:
   220         default:
   210             {
   221             {
   211             // All cases should be handled
   222             // All cases should be handled
   212             DASSERT( 0 );
   223             DASSERT( 0 );