installationservices/swcomponentregistry/inc/scr.h
changeset 42 d17dc5398051
parent 25 98b66e4fb0be
child 75 2d2d25361590
equal deleted inserted replaced
37:6e7b00453237 42:d17dc5398051
    32 #include <usif/usifcommon.h>
    32 #include <usif/usifcommon.h>
    33 #include <usif/scr/screntries.h>
    33 #include <usif/scr/screntries.h>
    34 #include <usif/scr/appregentries.h>
    34 #include <usif/scr/appregentries.h>
    35 #include <scs/scsclient.h>
    35 #include <scs/scsclient.h>
    36 #include <usif/scr/appreginfo.h>
    36 #include <usif/scr/appreginfo.h>
       
    37 #include <usif/scr/screntries_platform.h>
    37 
    38 
    38 namespace Usif
    39 namespace Usif
    39 	{	 
    40 	{	 
    40 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
    41 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
    41 	class CScrLogEntry;
    42 	class CScrLogEntry;
   764 		
   765 		
   765 		/**
   766 		/**
   766 			Add a new software type name to the SCR database.
   767 			Add a new software type name to the SCR database.
   767 			
   768 			
   768 			N.B. This is a mutating function. Please see @see Usif::RSoftwareComponentRegistry.
   769 			N.B. This is a mutating function. Please see @see Usif::RSoftwareComponentRegistry.
   769 			
   770 			This can be called only by sisregistry.
       
   771 
   770 			@param aUniqueSwTypeName Non-localized unique software type name.
   772 			@param aUniqueSwTypeName Non-localized unique software type name.
   771 			@param aSifPluginUid The SIF plug-in UID of the installer which is responsible for installing components with this software type
   773 			@param aSifPluginUid The SIF plug-in UID of the installer which is responsible for installing components with this software type
   772 			@param aInstallerSecureId The secure id of the installer which is responsible for installing components with this software type
   774 			@param aInstallerSecureId The secure id of the installer which is responsible for installing components with this software type
   773 			@param aExecutionLayerSecureId The secure id of the installer's execution layer which refers to an executable that interprets or  
   775 			@param aExecutionLayerSecureId The secure id of the installer's execution layer which refers to an executable that interprets or  
   774 			                               executes byte code for programs written in a high level language Java, Python, Widgets, etc.
   776 			                               executes byte code for programs written in a high level language Java, Python, Widgets, etc.
   776 			@param aMimeTypes The list of MIME types associated with this software type.
   778 			@param aMimeTypes The list of MIME types associated with this software type.
   777 			@param aLocalizedSwTypeNames A pointer to the list of optional localized software type names.
   779 			@param aLocalizedSwTypeNames A pointer to the list of optional localized software type names.
   778             @leave A system-wide error code.
   780             @leave A system-wide error code.
   779 			@internalTechnology
   781 			@internalTechnology
   780 		 */
   782 		 */
   781 		IMPORT_C void AddSoftwareTypeL(const TDesC& aUniqueSwTypeName, TUid aSifPluginUid, TSecureId aInstallerSecureId, TSecureId aExecutionLayerSecureId, const RPointerArray<HBufC>& aMimeTypes, const RPointerArray<CLocalizedSoftwareTypeName>* aLocalizedSwTypeNames = NULL);
   783 		IMPORT_C void AddSoftwareTypeL(const Usif::CSoftwareTypeRegInfo& aSwTypeRegInfo);
   782 		
   784 		
   783 		/**
   785 		/**
   784 			Deletes a sofware type name entry and all its mime types from the registry.
   786 			Deletes a sofware type name entry and all its mime types from the registry.
   785 			
   787 			
   786 			N.B. This is a mutating function. Please see @see Usif::RSoftwareComponentRegistry.
   788 			N.B. This is a mutating function. Please see @see Usif::RSoftwareComponentRegistry.