homescreenpluginsrv/hspsmanager/inc/hspsrominstaller.h
branchRCL_3
changeset 78 1b207dd38b72
parent 74 edd621764147
child 110 2c7f27287390
equal deleted inserted replaced
74:edd621764147 78:1b207dd38b72
    47         * Creates a ChspsRomInstaller object using two phase construction,
    47         * Creates a ChspsRomInstaller object using two phase construction,
    48         * and return a pointer to the created object.
    48         * and return a pointer to the created object.
    49         * @since S60 5.0
    49         * @since S60 5.0
    50         * @param aThemeServer is a reference to theme server instance
    50         * @param aThemeServer is a reference to theme server instance
    51         * @param aFsSession is a reference to file server instance
    51         * @param aFsSession is a reference to file server instance
       
    52         * @param aInstallUdaEmmc is set if UDA and eMMC drives should be utilized
    52         * @return A pointer to the created instance of ChspsRomInstaller.
    53         * @return A pointer to the created instance of ChspsRomInstaller.
    53         */
    54         */
    54         static ChspsRomInstaller* NewL( 
    55         static ChspsRomInstaller* NewL( 
    55         		ChspsThemeServer& aThemeServer,
    56         		ChspsThemeServer& aThemeServer,
    56         		RFs& aFsSession );
    57         		RFs& aFsSession,
    57 
    58         		const TBool aInstallUdaEmmc = ETrue );
    58         /**
    59 
    59         * NewLC.
       
    60         * Two-phased constructor.
       
    61         * Creates a ChspsClinet object using two phase construction,
       
    62         * and return a pointer to the created object.
       
    63         * @since S60 5.0
       
    64         * @param aObserver The object to be used to handle updates from the server.
       
    65         * @return a pointer to the created instance of ChspsRomInstaller.
       
    66         */
       
    67         static ChspsRomInstaller* NewLC( 
       
    68         		ChspsThemeServer& aThemeServer,
       
    69         		RFs& aFsSession );
       
    70 
    60 
    71         /**
    61         /**
    72         * ~ChspsRomInstaller.
    62         * ~ChspsRomInstaller.
    73         * Destructor.
    63         * Destructor.
    74         * Destroys the object and release all memory objects.
    64         * Destroys the object and release all memory objects.
    78       
    68       
    79     public: // New functions
    69     public: // New functions
    80         
    70         
    81         
    71         
    82         /**
    72         /**
    83          * Installs all plugin configurations which can be found from ROM and C drives (UDA).         
    73          * Installs all plugin configurations which can be found from the 
       
    74          * internal drives.         
    84          * @since S60 5.2         
    75          * @since S60 5.2         
    85          */
    76          */
    86         void InstallL();
    77         void InstallL();
    87         
    78         
    88         /**
    79         /**
   143         * ChspsRomInstaller.
   134         * ChspsRomInstaller.
   144         * Performs the first phase of two phase construction.
   135         * Performs the first phase of two phase construction.
   145         * @since S60 5.0
   136         * @since S60 5.0
   146         * @param aObserver The object to be used to handle updates from the server.
   137         * @param aObserver The object to be used to handle updates from the server.
   147         * @param aFsSession is a reference to file server instance
   138         * @param aFsSession is a reference to file server instance
       
   139         * @param aInstallUdaEmmc is set if UDA and eMMC drives should be utilized
   148         */
   140         */
   149         ChspsRomInstaller( 
   141         ChspsRomInstaller( 
   150                 ChspsThemeServer& aThemeServer,
   142                 ChspsThemeServer& aThemeServer,
   151                 RFs& aFsSession );
   143                 RFs& aFsSession,
       
   144                 const TBool aInstallUdaEmmc );
   152 
   145 
   153         /**
   146         /**
   154         * ConstructL.
   147         * ConstructL.
   155         * Performs the second phase construction of a ChspsRomInstaller object.
   148         * Performs the second phase construction of a ChspsRomInstaller object.
   156         * @since S60 5.0
   149         * @since S60 5.0
   157         */
   150         */
   158         void ConstructL();           
   151         void ConstructL();           
   159                         
   152                         
   160         /**         
   153         /**         
   161          * Retrieves manifest files from both Z and C drives located in
   154          * Retrieves manifest files from all internal drives in 
   162          * \\private\200159C0\install\ paths.
   155          * \\private\200159C0\install\ paths.
   163          * @since S60 5.0
   156          * @since S60 5.0         
       
   157          * @param aFileArray An array of file names
   164          */
   158          */
   165         void FindInstallationFilesL(  
   159         void FindInstallationFilesL(  
   166                 RPointerArray<HBufC>& aFileArray );
   160                 RPointerArray<HBufC>& aFileArray );
   167         
   161         
   168         void DoFindInstallationFilesL(  
   162         void DoFindInstallationFilesL(  
   200         /**
   194         /**
   201          * Log bus. Not owned.
   195          * Log bus. Not owned.
   202          */        
   196          */        
   203         ChspsLogBus* iLogBus;
   197         ChspsLogBus* iLogBus;
   204 #endif        
   198 #endif        
       
   199         
       
   200         // Set if plug-ins should be installed from UDA and eMMC drives 
       
   201         TBool iInstallUdaEmmc;
   205      };
   202      };
   206 
   203 
   207 
   204 
   208 #endif //__hspsROMINSTALLER_H__
   205 #endif //__hspsROMINSTALLER_H__
   209 
   206