200 DLTRACEOUT(("")); |
200 DLTRACEOUT(("")); |
201 |
201 |
202 return op; |
202 return op; |
203 } |
203 } |
204 |
204 |
|
205 |
205 // --------------------------------------------------------------------------- |
206 // --------------------------------------------------------------------------- |
206 // Creates an install operation |
207 // Creates an install operation |
207 // --------------------------------------------------------------------------- |
208 // --------------------------------------------------------------------------- |
208 // |
209 // |
209 MNcdInstallOperation* CNcdNodeInstallProxy::SilentInstallL( |
210 MNcdInstallOperation* CNcdNodeInstallProxy::SilentInstallL( |
210 MNcdInstallOperationObserver& aObserver, |
211 MNcdInstallOperationObserver& aObserver, |
211 Usif::COpaqueNamedParams* aInstallOptions ) |
212 const SwiUI::TInstallOptions& aInstallOptions ) |
212 { |
213 { |
213 DLTRACEIN(("")); |
214 DLTRACEIN(("")); |
214 |
215 |
215 // Create operation |
216 // Create operation |
216 |
217 |
217 // Using proxy as the observer. Forwards callbacks to the real operation |
218 // Using proxy as the observer. Forwards callbacks to the real operation |
218 // observer. |
219 // observer. |
219 // Notice that TrustedUI capabilites are checked when silent install operation is |
220 // Notice that TrustedUI capabilites are checked when silent install operation is |
220 // created in the server side. |
221 // created in the server side. |
221 |
|
222 CNcdInstallOperationProxy* op = |
222 CNcdInstallOperationProxy* op = |
223 Metadata().Node().OperationManager().CreateSilentInstallOperationL( |
223 Metadata().Node().OperationManager().CreateSilentInstallOperationL( |
224 Metadata().Node(), this, aInstallOptions ); |
224 Metadata().Node(), this, aInstallOptions ); |
225 |
|
226 |
|
227 iOperationObserver = &aObserver; |
225 iOperationObserver = &aObserver; |
228 |
226 |
229 DLTRACEOUT(("")); |
227 DLTRACEOUT(("")); |
230 |
228 |
231 return op; |
229 return op; |