CSVGTDrmHelper Class Reference
class CSVGTDrmHelper : public CBase
|
DRM helper for SVG files.
SVGTUIControl.dll
-
Since
-
3.0
Constructor & Destructor Documentation
CSVGTDrmHelper()
CSVGTDrmHelper
|
(
|
)
|
[private]
|
~CSVGTDrmHelper()
~CSVGTDrmHelper
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CanSetAutomated()
TBool
|
CanSetAutomated
|
(
|
)
|
const
|
Checks if given content can be set as an automated content.
-
Since
-
3.0
CheckRightsAmountL(RFile &)
TInt
|
CheckRightsAmountL
|
(
|
RFile
&
|
aFileHandle
|
)
|
|
This Function checks the rights associated with the file.
-
Since
-
3.0
Parameters
RFile
& aFileHandle
|
File handle for which usage rights is checked.
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
GetCount(TUint32 &)
Gets usage count.
-
Since
-
3.0
GetDrmDetailsL(RFile &, TBool &, TBool &, TBool &)
void
|
GetDrmDetailsL
|
(
|
RFile
&
|
aFileHandle,
|
|
TBool
&
|
aRightsValid,
|
|
TBool
&
|
aIsSeparateDeliveryNS,
|
|
TBool
&
|
aIsProtected
|
|
)
|
|
This Function gets the drm details needed for thumbnail generation.
-
Since
-
3.0
Parameters
RFile
& aFileHandle
|
File handle for which usage rights info is loaded.
|
TBool
& aRightsValid
|
True if the rights are valid
|
TBool
& aIsSeparateDeliveryNS
|
True if the file is a separate delivery drm file non-supersitributable
|
TBool
& aIsProtected
|
True if the file is protected
|
GetEndTime(TTime &)
Gets end time of time based rights.
-
Since
-
3.0
Parameters
TTime
& aEndTime
|
End time.
|
GetExpireStatus(TBool &, TSVGTExpireConstraint &, TInt &, TInt &)
Checks if the usage rigths are about to expire. If they are, returns info about the rights contraints that are about to expire.
-
Since
-
3.0
Parameters
TBool
& aAboutToExpire
|
Boolean telling if the rigths are about to expire or not.
|
TSVGTExpireConstraint
& aConstraint
|
Constraint that is about to expire: ESVGTCount: Usage count about to expire ESVGTTime: Usage time about to expire ESVGTCountAndTime: Usage count and time about to expire
|
TInt
& aCountLeft
|
Usage counts left (only if count is about to expire)
|
TInt
& aDaysLeft
|
Usage days left (only if time is about to expire)
|
GetInterval(TTimeIntervalSeconds &)
Gets interval time constraint.
-
Since
-
3.0
GetIntervalStart(TTime &)
Gets start time of activated interval constraint.
-
Since
-
3.0
Parameters
TTime
& aStartTime
|
Start time.
|
GetStartTime(TTime &)
Gets start time of time based rights.
-
Since
-
3.0
Parameters
TTime
& aStartTime
|
Start time.
|
GetUsageRightsStatus(TSVGTRightsStatus &)
Gets usage rigths status.
-
Since
-
3.0
IsPreviewL(RFile &)
This Function checks whether the file has preview rights.
-
Since
-
3.0
Parameters
RFile
& aFileHandle
|
File handle for which usage rights info is loaded.
|
IsProtected()
TBool
|
IsProtected
|
(
|
)
|
const
|
Provides info about files DRM protection status.
-
Since
-
3.0
LoadUsageRigthsInfoL(RFile &)
void
|
LoadUsageRigthsInfoL
|
(
|
RFile
&
|
aFileHandle
|
)
|
|
Loads usage rights information for a svg file using
CDRMHelper
. The loaded constraint is CContentAccess::EPlay.
-
Since
-
3.0
Parameters
RFile
& aFileHandle
|
File handle for which usage rights info is loaded.
|
SendingAllowed()
TBool
|
SendingAllowed
|
(
|
)
|
const
|
Checks if sending of the file is allowed.
-
Since
-
3.0
Member Data Documentation
TBool
iCanSetAutomated
TBool
|
iCanSetAutomated
|
[private]
|
TInt
iIsSeparateDelivery
TInt
|
iIsSeparateDelivery
|
[private]
|
TBool
iProtected
TBool
|
iProtected
|
[private]
|
CDRMHelperRightsConstraints * iRightsConstraints
TBool
iSendingAllowed
TBool
|
iSendingAllowed
|
[private]
|
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.