equal
deleted
inserted
replaced
22 #define __CSECUISECURITYSETTINGS_H |
22 #define __CSECUISECURITYSETTINGS_H |
23 |
23 |
24 // INCLUDES |
24 // INCLUDES |
25 #include <etelmm.h> |
25 #include <etelmm.h> |
26 #include <rmmcustomapi.h> |
26 #include <rmmcustomapi.h> |
27 #include <aknnotedialog.h> |
|
28 |
27 |
29 #define KSecUiAskNever 1 |
28 #define KSecUiAskNever 1 |
30 #define KSecUiAskOnlyIfInvalid 2 |
29 #define KSecUiAskOnlyIfInvalid 2 |
31 #define KSecUiAskAlways 3 |
30 #define KSecUiAskAlways 3 |
32 |
31 |
170 /** |
169 /** |
171 * Shows error note |
170 * Shows error note |
172 * |
171 * |
173 * @return Void |
172 * @return Void |
174 */ |
173 */ |
175 static void ShowResultNoteL(TInt aResourceID, CAknNoteDialog::TTone aTone); |
174 static void ShowResultNoteL(TInt aResourceID, TInt aTone); |
176 |
175 |
177 IMPORT_C TInt ChangeRemoteLockStatusL( TBool& aRemoteLockStatus, TDes& aRemoteLockCode, TInt aAutoLockPeriod ); |
176 IMPORT_C TInt ChangeRemoteLockStatusL( TBool& aRemoteLockStatus, TDes& aRemoteLockCode, TInt aAutoLockPeriod ); |
178 |
177 |
179 TInt RemoteLockCodeQueryL( TDes& aRemoteLockCode ); |
178 TInt RemoteLockCodeQueryL( TDes& aRemoteLockCode ); |
180 |
179 |
196 /* if aOldPassword is used, then try to verify. |
195 /* if aOldPassword is used, then try to verify. |
197 KSecUiAskNever, KSecUiAskOnlyIfInvalid, KSecUiAskAlways |
196 KSecUiAskNever, KSecUiAskOnlyIfInvalid, KSecUiAskAlways |
198 */ |
197 */ |
199 IMPORT_C TInt AskSecCodeParamsL(RMobilePhone::TMobilePassword &aOldPassword, TInt aFlags, TDes& aCaption, TInt aShowError); |
198 IMPORT_C TInt AskSecCodeParamsL(RMobilePhone::TMobilePassword &aOldPassword, TInt aFlags, TDes& aCaption, TInt aShowError); |
200 IMPORT_C TInt ChangePinRequestParamsL(TInt aEnable, RMobilePhone::TMobilePassword aOldPassword, TInt aFlags, TDes& aCaption, TInt aShowError); |
199 IMPORT_C TInt ChangePinRequestParamsL(TInt aEnable, RMobilePhone::TMobilePassword aOldPassword, TInt aFlags, TDes& aCaption, TInt aShowError); |
|
200 IMPORT_C static HBufC* TranslateLC(const TDesC& aMessageId, TInt aFlags); |
201 |
201 |
202 private: |
202 private: |
203 |
203 |
204 TInt RemoteLockSetLockSettingL( TBool aLockSetting ); |
204 TInt RemoteLockSetLockSettingL( TBool aLockSetting ); |
205 |
205 |