equal
deleted
inserted
replaced
21 #include "cmrfilemanager.h" |
21 #include "cmrfilemanager.h" |
22 #include "cmrgrid.h" |
22 #include "cmrgrid.h" |
23 #include "cesmrglobalnote.h" |
23 #include "cesmrglobalnote.h" |
24 #include "esmrhelper.h" |
24 #include "esmrhelper.h" |
25 |
25 |
26 #include <mgfetch.h> |
26 #include <MGFetch.h> |
27 #include <aknlistquerydialog.h> |
27 #include <aknlistquerydialog.h> |
28 #include <sysutil.h> |
28 #include <sysutil.h> |
29 #include <calattachment.h> |
29 #include <calattachment.h> |
30 #include <npdapi.h> |
30 #include <NpdApi.h> |
31 #include <akncommondialogsdynmem.h> |
31 #include <AknCommonDialogsDynMem.h> |
32 #include <apparc.h> |
32 #include <apparc.h> |
33 #include <esmrgui.rsg> |
33 #include <esmrgui.rsg> |
34 #include <apgcli.h> |
34 #include <apgcli.h> |
35 #include <apmrec.h> |
35 #include <apmrec.h> |
36 #include <commoncontentpolicy.h> |
36 #include <CommonContentPolicy.h> |
37 #include <ct/rcpointerarray.h> |
37 #include <ct/rcpointerarray.h> |
38 #include <aknnotewrappers.h> |
38 #include <aknnotewrappers.h> |
39 #include <stringloader.h> |
39 #include <StringLoader.h> |
40 |
40 |
41 #include "emailtrace.h" |
41 #include "emailtrace.h" |
42 |
42 |
43 namespace // codescanner::namespace |
43 namespace // codescanner::namespace |
44 { |
44 { |
469 // |
469 // |
470 void CMRAttachmentUi::DoLaunchViewerUiL() |
470 void CMRAttachmentUi::DoLaunchViewerUiL() |
471 { |
471 { |
472 FUNC_LOG; |
472 FUNC_LOG; |
473 |
473 |
474 // TODO: Launch attachment view |
|
475 // read attachments from calentry and populate the listbox |
|
476 } |
474 } |
477 |
475 |
478 // --------------------------------------------------------------------------- |
476 // --------------------------------------------------------------------------- |
479 // CMRAttachmentUi::AttachmentOperationCompleted |
477 // CMRAttachmentUi::AttachmentOperationCompleted |
480 // --------------------------------------------------------------------------- |
478 // --------------------------------------------------------------------------- |
591 TBool isProtected( EFalse ); |
589 TBool isProtected( EFalse ); |
592 CCommonContentPolicy* ccp = CCommonContentPolicy::NewLC(); |
590 CCommonContentPolicy* ccp = CCommonContentPolicy::NewLC(); |
593 isProtected = ccp->IsClosedFileL( aFile ); |
591 isProtected = ccp->IsClosedFileL( aFile ); |
594 if ( isProtected ) |
592 if ( isProtected ) |
595 { |
593 { |
596 // TODO: Add suitable note to cesmrglobalnote.cpp |
|
597 CESMRGlobalNote::ExecuteL |
594 CESMRGlobalNote::ExecuteL |
598 ( CESMRGlobalNote::EESMRAlarmAlreadyPassed ); |
595 ( CESMRGlobalNote::EESMRAlarmAlreadyPassed ); |
599 } |
596 } |
600 CleanupStack::PopAndDestroy( ccp ); |
597 CleanupStack::PopAndDestroy( ccp ); |
601 return isProtected; |
598 return isProtected; |