ncdengine/provider/deviceinteraction/inc/ncdinstallationservice.h
changeset 53 ae54820ef82c
parent 25 98b66e4fb0be
child 66 8b7f4e561641
child 69 b18a4bf55ddb
equal deleted inserted replaced
52:92f864ef0288 53:ae54820ef82c
    20 #define M_NCD_INSTALLATION_SERVICE_H
    20 #define M_NCD_INSTALLATION_SERVICE_H
    21 
    21 
    22 // SwiUI namespace contains install options 
    22 // SwiUI namespace contains install options 
    23 // and install options package definitions
    23 // and install options package definitions
    24 // that are used for the silent install.
    24 // that are used for the silent install.
    25 #include <SWInstDefs.h>
    25 //#include <SWInstDefs.h>
       
    26 #include <usif/sif/sifcommon.h>
    26 
    27 
    27 #include "ncditempurpose.h"
    28 #include "ncditempurpose.h"
    28 
    29 
    29 class MNcdInstallationServiceObserver;
    30 class MNcdInstallationServiceObserver;
    30 class TCatalogsVersion;
    31 class TCatalogsVersion;
   122      * @see InstallL
   123      * @see InstallL
   123      */    
   124      */    
   124     virtual void SilentInstallL( RFile& aFile,
   125     virtual void SilentInstallL( RFile& aFile,
   125                                  const TDesC& aMimeType,
   126                                  const TDesC& aMimeType,
   126                                  const TNcdItemPurpose& aPurpose ,
   127                                  const TNcdItemPurpose& aPurpose ,
   127                                  const SwiUI::TInstallOptionsPckg& aInstallOptionsPckg ) = 0;
   128                                  const Usif::COpaqueNamedParams* aInstallOptionsPckg ) = 0;
   128 
   129 
   129 
   130 
   130     /**
   131     /**
   131      * Installs java software silently. 
   132      * Installs java software silently. 
   132      * @see InstallJavaL
   133      * @see InstallJavaL
   133      */    
   134      */    
   134     virtual void SilentInstallJavaL( RFile& aFile,
   135     virtual void SilentInstallJavaL( RFile& aFile,
   135                                      const TDesC& aMimeType,
   136                                      const TDesC& aMimeType,
   136                                      const TDesC8& aDescriptorData,
   137                                      const TDesC8& aDescriptorData,
   137                                      const SwiUI::TInstallOptionsPckg& aInstallOptionsPckg ) = 0;
   138                                      const Usif::COpaqueNamedParams* aInstallOptionsPckg ) = 0;
   138     
   139     
   139     /*
   140     /*
   140      * Use SWI API to install widget silently. 
   141      * Use SWI API to install widget silently. 
   141      */     
   142      */     
   142     virtual void SilentInstallWidgetL(RFile& aFile,
   143     virtual void SilentInstallWidgetL(RFile& aFile,
   143                                       const SwiUI::TInstallOptionsPckg& aInstallOptionsPckg ) = 0;
   144                                       const Usif::COpaqueNamedParams* aInstallOptionsPckg ) = 0;
   144 
   145 
   145     /**
   146     /**
   146      * Cancels the silent installation if it is going on.
   147      * Cancels the silent installation if it is going on.
   147      *
   148      *
   148      * @note If the installation has almost finished, the cancel request
   149      * @note If the installation has almost finished, the cancel request