RDRMHelper Class Reference

class RDRMHelper : public RSessionBase

This class provides the client-side interface to the server session

Since
Series 60 2.6

Inherits from

Public Member Functions
RDRMHelper ()
TInt Connect ()
TInt IndicateIdle ()
TInt IsAutomated (const TDesC8 &, TInt , TInt , TBool &, TInt &)
TInt RemoveAutomated (const TDesC8 &, TBool , TInt , TInt )
TInt RemoveAutomatedAll (const TDesC8 &, TBool , TInt , TInt )
TInt SetAutomated (const TDesC8 &, TBool , TInt , TInt )
TVersion Version ()
Private Member Functions
TInt CreateServerProcess ()
TInt StartServer ()
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RDRMHelper()

RDRMHelper ( )

C++ default constructor.

Member Functions Documentation

Connect()

TInt Connect ( )

Connects to server.

CreateServerProcess()

TInt CreateServerProcess ( ) [private]

IndicateIdle()

TInt IndicateIdle ( ) const

Indicate that idle-screen has been activated.

IsAutomated(const TDesC8 &, TInt, TInt, TBool &, TInt &)

TInt IsAutomated ( const TDesC8 & aUri,
TInt aAutomatedType,
TInt aIntent,
TBool & aAutomated,
TInt & aType
) const

Has given content been registered as automated content.

Parameters

const TDesC8 & aUri content URI of the content
TInt aAutomatedType
TInt aIntent
TBool & aAutomated (out) ETrue if registered as automated.
TInt & aType (out) Tells whether content has been registered as active or passive.

RemoveAutomated(const TDesC8 &, TBool, TInt, TInt)

TInt RemoveAutomated ( const TDesC8 & aUri,
TBool aActive,
TInt aAutomatedType,
TInt aIntent
) const

Unregister the given content.

Parameters

const TDesC8 & aUri
TBool aActive
TInt aAutomatedType
TInt aIntent

RemoveAutomatedAll(const TDesC8 &, TBool, TInt, TInt)

TInt RemoveAutomatedAll ( const TDesC8 & aUri,
TBool aActive,
TInt aAutomatedType,
TInt aIntent
) const

Unregister all instances of the given content.

Parameters

const TDesC8 & aUri
TBool aActive
TInt aAutomatedType
TInt aIntent

SetAutomated(const TDesC8 &, TBool, TInt, TInt)

TInt SetAutomated ( const TDesC8 & aUri,
TBool aActive,
TInt aAutomatedType,
TInt aIntent
) const

Register the given content uri as an automated content.

Parameters

const TDesC8 & aUri
TBool aActive
TInt aAutomatedType
TInt aIntent

StartServer()

TInt StartServer ( ) [private]

Version()

TVersion Version ( ) const

Gets the version number