CESMRPolicy Class Reference
class CESMRPolicy : public CBase
|
CESMRPolicy
defines ESMR policy. ES MR policies are relates to different roles and task scenarions. Policies are used by user interface views and tasks.
Policies can be defined in resource file with STRUCT ESMR_POLICY resource structure.
esmrservices.rh esmrpolicy.lib
Constructor & Destructor Documentation
CESMRPolicy()
CESMRPolicy
|
(
|
)
|
[private, inline]
|
~CESMRPolicy()
IMPORT_C
|
~CESMRPolicy
|
(
|
)
|
|
Member Functions Documentation
AllowedApp()
Fetches the allowed applicatio for this policy
ConstructL(RResourceFile &, TResourceReader &)
FieldL(TESMREntryFieldId)
Fetches field matching field if from policy.
IsAdditionalCommand(TInt)
IMPORT_C
TBool
|
IsAdditionalCommand
|
(
|
TInt
|
aCommand
|
)
|
const
|
Checks if command belongs to additional commands
IsDefaultCommand(TInt)
IMPORT_C
TBool
|
IsDefaultCommand
|
(
|
TInt
|
aCommand
|
)
|
const
|
Checks if <aCommand> belongs to default command list
IsFieldIncluded(TESMREntryFieldId)
Checks, if field is included in policy.
IsRoleIncluded(TESMRRole)
Tests, if specific ES MR role is included in policy.
NewL()
Two-phased constructor. Creates new
CESMRPolicy
object. Ownership is tranferred to caller.
NewL(RResourceFile &, TResourceReader &)
Two-phased constructor. Reads esmr policy definition from resource. Caller is responsible for filling the resource reader with correct information.
ReadFromResourceL(RResourceFile &, TResourceReader &)
Reads policy definition from resource file. Caller is responsible for filling the resource reader with correct information.
Member Data Documentation
RArray< TESMRCommand > iAdditionalCommands
TESMRUsingApp
iAllowedApp
RArray< TESMRCommand > iDefaultCommands
TESMRCalendarEventType
iEventType
RArray< TESMREntryField > iMRFields
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.