equal
deleted
inserted
replaced
144 // ============================================================================ |
144 // ============================================================================ |
145 // |
145 // |
146 void CWidgetInstallerUI::SilentInstallL( RFile& aFile, |
146 void CWidgetInstallerUI::SilentInstallL( RFile& aFile, |
147 TInstallReq& aInstallParams, |
147 TInstallReq& aInstallParams, |
148 TBool /*aIsDRM*/, |
148 TBool /*aIsDRM*/, |
149 TInstallOptions& /*aOptions*/, |
149 TInstallOptions& aOptions, |
150 TRequestStatus& aStatus ) |
150 TRequestStatus& aStatus ) |
151 { |
151 { |
152 __ASSERT_ALWAYS( !iWatcher, User::Leave( KErrInUse ) ); |
152 __ASSERT_ALWAYS( !iWatcher, User::Leave( KErrInUse ) ); |
153 TRAPD( err , |
153 TRAPD( err , |
154 iWatcher = CWidgetUIOperationsWatcher::NewL(); |
154 iWatcher = CWidgetUIOperationsWatcher::NewL(); |
155 iWatcher->SilentInstallL( aFile, aInstallParams.iMIME, aStatus ); |
155 iWatcher->SilentInstallL( aFile, aInstallParams.iMIME, aOptions.iDrive, aStatus ); |
156 ); |
156 ); |
157 if ( KErrNone != err ) |
157 if ( KErrNone != err ) |
158 { |
158 { |
159 delete iWatcher; |
159 delete iWatcher; |
160 iWatcher = NULL; |
160 iWatcher = NULL; |