equal
deleted
inserted
replaced
96 CUniEditorProcessImageOperation::CUniEditorProcessImageOperation( |
96 CUniEditorProcessImageOperation::CUniEditorProcessImageOperation( |
97 MUniEditorOperationObserver& aObserver, |
97 MUniEditorOperationObserver& aObserver, |
98 CUniEditorDocument& aDocument, |
98 CUniEditorDocument& aDocument, |
99 RFs& aFs ) : |
99 RFs& aFs ) : |
100 CUniEditorOperation( aObserver, aDocument, aFs, EUniEditorOperationProcessImage ), |
100 CUniEditorOperation( aObserver, aDocument, aFs, EUniEditorOperationProcessImage ), |
101 iNewAttaId( KMsvNullIndexEntryId ) |
101 iNewAttaId( KMsvNullIndexEntryId ), |
|
102 iOptimizedFlow(EFalse) |
102 { |
103 { |
103 } |
104 } |
104 |
105 |
105 // --------------------------------------------------------- |
106 // --------------------------------------------------------- |
106 // CUniEditorProcessImageOperation::ConstructL |
107 // CUniEditorProcessImageOperation::ConstructL |
256 // CUniEditorProcessImageOperation::DoStartProcessL |
257 // CUniEditorProcessImageOperation::DoStartProcessL |
257 // --------------------------------------------------------- |
258 // --------------------------------------------------------- |
258 // |
259 // |
259 void CUniEditorProcessImageOperation::DoStartProcessL() |
260 void CUniEditorProcessImageOperation::DoStartProcessL() |
260 { |
261 { |
|
262 |
|
263 if(iOptimizedFlow) |
|
264 { |
|
265 iObserver.EditorOperationEvent( EUniEditorOperationProcessImage, |
|
266 EUniEditorOperationPartialComplete ); |
|
267 iOptimizedFlow = EFalse; |
|
268 } |
261 CreateEmptyAttachmentL(); |
269 CreateEmptyAttachmentL(); |
262 |
270 |
263 if ( !iImageProcessor ) |
271 if ( !iImageProcessor ) |
264 { |
272 { |
265 iImageProcessor = new( ELeave )CUniImageProcessor( this ); |
273 iImageProcessor = new( ELeave )CUniImageProcessor( this ); |
644 // ownership transferred |
652 // ownership transferred |
645 CMsgImageInfo* tempInfo = iNewImageInfo; |
653 CMsgImageInfo* tempInfo = iNewImageInfo; |
646 iNewImageInfo = NULL; |
654 iNewImageInfo = NULL; |
647 return tempInfo; |
655 return tempInfo; |
648 } |
656 } |
649 |
657 |
|
658 // --------------------------------------------------------- |
|
659 // CUniEditorProcessImageOperation::SetOptimizedFlow |
|
660 // --------------------------------------------------------- |
|
661 // |
|
662 void CUniEditorProcessImageOperation::SetOptimizedFlow(TBool aOptimizedFlow) |
|
663 { |
|
664 iOptimizedFlow = aOptimizedFlow; |
|
665 } |
650 // End of file |
666 // End of file |