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