equal
deleted
inserted
replaced
21 |
21 |
22 #include <BTNotif.rsg> // Own resources |
22 #include <BTNotif.rsg> // Own resources |
23 #include "btnobexpinnotifier.h" // Own class definition |
23 #include "btnobexpinnotifier.h" // Own class definition |
24 #include "btNotifDebug.h" // Debugging macros |
24 #include "btNotifDebug.h" // Debugging macros |
25 |
25 |
26 #include <SecondaryDisplay/BTnotifSecondaryDisplayAPI.h> |
26 #include <secondarydisplay/BTnotifSecondaryDisplayAPI.h> |
27 |
27 |
28 // ================= MEMBER FUNCTIONS ======================= |
28 // ================= MEMBER FUNCTIONS ======================= |
29 |
29 |
30 // ---------------------------------------------------------- |
30 // ---------------------------------------------------------- |
31 // CBTObexPinNotifier::NewL |
31 // CBTObexPinNotifier::NewL |
82 |
82 |
83 if( !iMessage.IsNull()) |
83 if( !iMessage.IsNull()) |
84 { |
84 { |
85 User::Leave(KErrInUse); |
85 User::Leave(KErrInUse); |
86 } |
86 } |
87 else if ( AutoLockOnL() ) |
87 |
|
88 iMessage = aMessage; |
|
89 iReplySlot = aReplySlot; |
|
90 |
|
91 if ( AutoLockOnL() ) |
88 { |
92 { |
89 // The phone is locked, access denied. |
93 // The phone is locked, access denied. |
90 // |
94 // |
91 CompleteMessage(KErrCancel); |
95 CompleteMessage(KErrCancel); |
92 return; |
96 return; |
93 } |
97 } |
94 |
98 |
95 iMessage = aMessage; |
|
96 iReplySlot = aReplySlot; |
|
97 |
|
98 ShowNoteCompleteMessageL(); |
99 ShowNoteCompleteMessageL(); |
99 |
100 |
100 FLOG(_L("[BTNOTIF]\t CBTObexPinNotifier::GetParamsL() completed")); |
101 FLOG(_L("[BTNOTIF]\t CBTObexPinNotifier::GetParamsL() completed")); |
101 } |
102 } |
102 |
103 |