equal
deleted
inserted
replaced
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include "securitydialogoperation.h" // CSecurityDialogOperation |
18 #include "securitydialogoperation.h" // CSecurityDialogOperation |
19 #include "securitydialogoperationobserver.h" // MSecurityDialogOperationObserver |
19 #include "securitydialogoperationobserver.h" // MSecurityDialogOperationObserver |
|
20 #include <hb/hbwidgets/hbdevicemessageboxsymbian.h> // CHbDeviceMessageBoxSymbian |
20 #include "securitydialogstrace.h" // TRACE macro |
21 #include "securitydialogstrace.h" // TRACE macro |
21 |
22 |
22 |
23 |
23 // ======== MEMBER FUNCTIONS ======== |
24 // ======== MEMBER FUNCTIONS ======== |
24 |
25 |
61 iMessage.Complete( aError ); |
62 iMessage.Complete( aError ); |
62 } |
63 } |
63 return KErrNone; |
64 return KErrNone; |
64 } |
65 } |
65 |
66 |
|
67 // --------------------------------------------------------------------------- |
|
68 // CSecurityDialogOperation::ShowWarningNoteL() |
|
69 // --------------------------------------------------------------------------- |
|
70 // |
|
71 void CSecurityDialogOperation::ShowWarningNoteL( const TDesC& aMessage ) |
|
72 { |
|
73 CHbDeviceMessageBoxSymbian *note = |
|
74 CHbDeviceMessageBoxSymbian::NewL( CHbDeviceMessageBoxSymbian::EWarning ); |
|
75 CleanupStack::PushL( note ); |
|
76 note->SetTextL( aMessage ); |
|
77 (void)note->ExecL(); // waits for response or timeout |
|
78 CleanupStack::PopAndDestroy( note ); |
|
79 } |
|
80 |