66 |
68 |
67 /** |
69 /** |
68 * Sets this object active for observing a silent install operation. |
70 * Sets this object active for observing a silent install operation. |
69 * |
71 * |
70 * @param aFileName Installation file name. |
72 * @param aFileName Installation file name. |
71 * @param aSilentInstallOptionsPckg Silent installation options. |
73 * @param aSilentInstallOptions Silent installation options. |
72 */ |
74 */ |
73 void StartToObserveL( const TDesC& aFileName, |
75 void StartToObserveL( const TDesC& aFileName, |
74 const SwiUI::TInstallOptionsPckg& aSilentInstallOptionsPckg ); |
76 const Usif::COpaqueNamedParams* aSilentInstallOptions ); |
75 |
77 |
76 |
78 |
77 /** |
79 /** |
78 * Sets this object active for observing a silent install operation. |
80 * Sets this object active for observing a silent install operation. |
79 * |
81 * |
80 * @param aFile Installation file handle. |
82 * @param aFile Installation file handle. |
81 * @param aSilentInstallOptionsPckg Silent installation options. |
83 * @param aSilentInstallOptions Silent installation options. |
82 */ |
84 */ |
83 void StartToObserveL( RFile& aFile, |
85 void StartToObserveL( RFile& aFile, |
84 const SwiUI::TInstallOptionsPckg& aSilentInstallOptionsPckg ); |
86 const Usif::COpaqueNamedParams* aSilentInstallOptions ); |
85 |
87 |
86 |
88 |
87 /** |
89 /** |
88 * Cancels the asynchronous silent install operation. |
90 * Cancels the asynchronous silent install operation. |
89 * This will also close the silent launcher. |
91 * This will also close the silent launcher. |
145 /** |
147 /** |
146 * @return SwiUI::RSWInstSilentLauncher& The launcher |
148 * @return SwiUI::RSWInstSilentLauncher& The launcher |
147 * that handles the installation operations that this |
149 * that handles the installation operations that this |
148 * class object observes. Ownerhsip is not transferred. |
150 * class object observes. Ownerhsip is not transferred. |
149 */ |
151 */ |
150 SwiUI::RSWInstSilentLauncher& SilentLauncher(); |
152 Usif::RSoftwareInstall& SilentLauncher(); |
151 |
|
152 |
153 |
153 /** |
154 /** |
154 * Converts the given error code if necessary. |
155 * Converts the given error code if necessary. |
155 * This can be used to simplify error codes for responses. |
156 * This can be used to simplify error codes for responses. |
156 * |
157 * |
174 // by calling its callback function. |
175 // by calling its callback function. |
175 MNcdAsyncSilentInstallObserver& iObserver; |
176 MNcdAsyncSilentInstallObserver& iObserver; |
176 |
177 |
177 // The silent launcher handles the install operations that |
178 // The silent launcher handles the install operations that |
178 // this class object observes. |
179 // this class object observes. |
179 SwiUI::RSWInstSilentLauncher iSilentLauncher; |
180 // SwiUI::RSWInstSilentLauncher iSilentLauncher; |
|
181 Usif::RSoftwareInstall iInstaller; |
|
182 Usif::COpaqueNamedParams* iResults; |
|
183 Usif::COpaqueNamedParams* iArguments; |
180 |
184 |
181 SwiUI::TServerRequest iCancelCode; |
|
182 |
|
183 }; |
185 }; |
184 |
186 |
185 #endif // NCD_SILENT_INSTALL_ACTIVE_OBSERVER_H |
187 #endif // NCD_SILENT_INSTALL_ACTIVE_OBSERVER_H |