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. |
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( |