CRemoteLockSettings Class Reference
class CRemoteLockSettings : public CBase |
Interface for handling remote lock settings
rlocksettings.lib
- Since
- S60 3.2
Constructor & Destructor Documentation
CRemoteLockSettings(MRemoteLockSettingsHandler *)
Parameters
MRemoteLockSettingsHandler * aHandler | Client implemented notification handler that will be called when remote lock settings are changed. |
~CRemoteLockSettings()
IMPORT_C | ~CRemoteLockSettings | ( | ) | [virtual] |
Member Functions Documentation
CompareLockCodesL(const TDesC &, const TDesC &)
IMPORT_C TBool | CompareLockCodesL | ( | const TDesC & | aLockCode, |
| const TDesC & | aCorrectLockCode |
| ) | const |
Compares two remote lock codes.
Parameters
const TDesC & aLockCode | The lock code to compare. This should be in plain format. |
const TDesC & aCorrectLockCode | The correct lock code to compare against. This should be the one retrieved using GetLockCode(), and thus is not in plain format. |
ConstructL()
void | ConstructL | ( | ) | [private] |
GetEnabled(TBool &)
Gets the current remote lock status.
Parameters
TBool & aEnabled | For retrieving the current remote lock status. |
GetLockCode(TDes &)
IMPORT_C TBool | GetLockCode | ( | TDes & | aLockCode | ) | const |
Gets the remote lock code. Note that the retrieved remote lock code is not in plain format.
Parameters
TDes & aLockCode | For retrieving the remote lock code. The length must be at least KRLStoredLockCodeLength. |
GetLockCode(TDes &, TDes &)
IMPORT_C TBool | GetLockCode | ( | TDes & | aLockCode, |
| TDes & | aLockCodeTrimmed |
| ) | const |
Gets the remote lock code. Note that the retrieved remote lock code is not in plain format.
Parameters
TDes & aLockCode | For retrieving the remote lock code. The length must be at least KRLStoredLockCodeLength. |
TDes & aLockCodeTrimmed | For retrieving the remote lock code. The length must be at least KRLStoredLockCodeLength. Same as aLockCode, but formatted differently before storing: leading and trailing space characters removed, multiple spaces replaced with single space. |
HandleNotifyGeneric(TUint32)
void | HandleNotifyGeneric | ( | TUint32 | aId | ) | [private] |
From MCenRepNotifyHandler Notify handler.
NewL(MRemoteLockSettingsHandler *)
Parameters
MRemoteLockSettingsHandler * aHandler = NULL | Client implemented notification handler that will be called when remote lock settings are changed. If the client doesn't need notification, then no parameter needed. |
NewLC(MRemoteLockSettingsHandler *)
Parameters
MRemoteLockSettingsHandler * aHandler = NULL | Client implemented notification handler that will be called when remote lock settings are changed. If the client doesn't need notification, then no parameter needed. |
RemoteLockNotifyL(const TBool)
IMPORT_C TBool | RemoteLockNotifyL | ( | const TBool | aNotifyEnable | ) | |
Enables or disables remote lock settings notification. If the settings are changed, the notification handler given in NewL() or NewLC() will be called.
Parameters
const TBool aNotifyEnable | For enabling or disabling the remote lock settings notification. |
SetDisabled()
IMPORT_C TBool | SetDisabled | ( | ) | |
SetEnabledL(const TDesC &)
Enables remote lock and stores the correct remote lock code.
Parameters
const TDesC & aLockCode | New remote lock code. |
Member Data Documentation
MRemoteLockSettingsHandler * iHandler
CCenRepNotifyHandler * iNotifyHandler
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.