equal
deleted
inserted
replaced
185 // ----------------------------------------------------------------------------- |
185 // ----------------------------------------------------------------------------- |
186 // |
186 // |
187 void CFileManagerDocHandler::OpenShareableFileL( |
187 void CFileManagerDocHandler::OpenShareableFileL( |
188 RFile64& aShareableFile, const TDesC8& aMime ) |
188 RFile64& aShareableFile, const TDesC8& aMime ) |
189 { |
189 { |
|
190 // Check if iFileFullPath is NULL |
|
191 if ( !iFileFullPath ) |
|
192 { |
|
193 User::Leave( KErrNotFound ); |
|
194 } |
|
195 |
190 // Check if file open is denied |
196 // Check if file open is denied |
191 if ( iObserver && iFileFullPath ) |
197 if ( iObserver ) |
192 { |
198 { |
193 if ( iObserver->NotifyL( |
199 if ( iObserver->NotifyL( |
194 MFileManagerProcessObserver::ENotifyFileOpenDenied, |
200 MFileManagerProcessObserver::ENotifyFileOpenDenied, |
195 0, |
201 0, |
196 *iFileFullPath ) ) |
202 *iFileFullPath ) ) |