RWidgetRegistryClientSessionWrt Class Reference

#include <mw/cwrt/WidgetRegistryClientWrt.h>

Link against: WidgetRegistryClientWrt.lib

class RWidgetRegistryClientSessionWrt : public RSessionBase, public RSessionBase

Inherits from

Public Member Functions
RWidgetRegistryClientSessionWrt()
IMPORT_C TIntConnect()
IMPORT_C voidDeRegisterWidgetL(const TUid &)
IMPORT_C TIntDisconnect()
IMPORT_C TUidGetAvailableUidL(TUint)
IMPORT_C voidGetLprojName(TDes &)
IMPORT_C voidGetWidgetBundleId(const TUid &, TDes &)
IMPORT_C voidGetWidgetBundleName(const TUid &, TDes &)
IMPORT_C voidGetWidgetPath(const TUid &, TDes &)
IMPORT_C CWidgetPropertyValue *GetWidgetPropertyValueL(const TUid &, TWidgetPropertyId)
IMPORT_C TIntGetWidgetUidForUrl(const TDesC &)
IMPORT_C TIntGetWidgetUidL(const TDesC &)
IMPORT_C TIntInstalledWidgetsL(RWidgetInfoArray &)
IMPORT_C TIntIsBlanketPermGranted(const TUid &)
IMPORT_C TBoolIsWidget(const TUid &)
IMPORT_C TBoolIsWidgetInFullView(const TUid &)
IMPORT_C TBoolIsWidgetInMiniView(const TUid &)
IMPORT_C TBoolIsWidgetRunning(const TUid &)
IMPORT_C voidRegisterWidgetL(const RPointerArray< CWidgetPropertyValue > &)
IMPORT_C TIntRunningWidgetsL(RWidgetInfoArray &)
IMPORT_C TIntSecurityPolicyId()
IMPORT_C voidSetActiveL(const TUid &, TInt)
IMPORT_C voidSetBlanketPermissionL(const TUid &, TInt)
IMPORT_C voidSetFullViewL(const TUid &, TInt)
IMPORT_C voidSetMiniViewL(const TUid &, TInt)
IMPORT_C TVersionVersion()
IMPORT_C TIntWidgetCount(TInt &)
IMPORT_C TBoolWidgetExistsL(const TDesC &)
IMPORT_C TIntWidgetSapiAccessState(const TUid &)
Inherited Attributes
RHandleBase::iHandle
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
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()

Constructor & Destructor Documentation

RWidgetRegistryClientSessionWrt ( )

IMPORT_CRWidgetRegistryClientSessionWrt()

Constructor

Member Function Documentation

Connect ( )

IMPORT_C TIntConnect()

Connect to widgetregistry server

DeRegisterWidgetL ( const TUid & )

IMPORT_C voidDeRegisterWidgetL(const TUid &aUid)

Deregister the widget

Disconnect ( )

IMPORT_C TIntDisconnect()

Disconnect from widgetregistry server

GetAvailableUidL ( TUint )

IMPORT_C TUidGetAvailableUidL(TUintaDriveLetter)

Get next availble uid

GetLprojName ( TDes & )

IMPORT_C voidGetLprojName(TDes &aLprojName)

Get the language project name which is the directory to hold localized resources

GetWidgetBundleId ( const TUid &, TDes & )

IMPORT_C voidGetWidgetBundleId(const TUid &aUid,
TDes &aWidgetBundleId
)

Returns bundle Id of the widget with a particular UId

GetWidgetBundleName ( const TUid &, TDes & )

IMPORT_C voidGetWidgetBundleName(const TUid &aUid,
TDes &aWidgetBundleName
)

Returns bundle name of the widget with a particular UId

GetWidgetPath ( const TUid &, TDes & )

IMPORT_C voidGetWidgetPath(const TUid &aUid,
TDes &aWidgetPath
)

Returns path of the widget with a particular UId

GetWidgetPropertyValueL ( const TUid &, TWidgetPropertyId )

IMPORT_C CWidgetPropertyValue *GetWidgetPropertyValueL(const TUid &aUid,
TWidgetPropertyIdaPropertyId
)

Gets property value for a widget by UId, leaves on error

GetWidgetUidForUrl ( const TDesC & )

IMPORT_C TIntGetWidgetUidForUrl(const TDesC &aUrl)

Returns UId of the widget with a particular Url

GetWidgetUidL ( const TDesC & )

IMPORT_C TIntGetWidgetUidL(const TDesC &aBundleId)

Returns uid of the widget with a particular bundle identifier

InstalledWidgetsL ( RWidgetInfoArray & )

IMPORT_C TIntInstalledWidgetsL(RWidgetInfoArray &aWidgetInfoArr)

Returns widget info for all the installed widgets.

IsBlanketPermGranted ( const TUid & )

IMPORT_C TIntIsBlanketPermGranted(const TUid &aUid)

Returns blanket permission

IsWidget ( const TUid & )

IMPORT_C TBoolIsWidget(const TUid &aUid)

Returns true if the Uid falls within the range specified for widgets.

IsWidgetInFullView ( const TUid & )

IMPORT_C TBoolIsWidgetInFullView(const TUid &aUid)

Returns true if the widget is in FullView.

IsWidgetInMiniView ( const TUid & )

IMPORT_C TBoolIsWidgetInMiniView(const TUid &aUid)

Returns true if the widget is in MiniView.

IsWidgetRunning ( const TUid & )

IMPORT_C TBoolIsWidgetRunning(const TUid &aUid)

Returns true if the widget is running.

RegisterWidgetL ( const RPointerArray< CWidgetPropertyValue > & )

IMPORT_C voidRegisterWidgetL(const RPointerArray< CWidgetPropertyValue > &aPropertyValues)

Registers the widget

RunningWidgetsL ( RWidgetInfoArray & )

IMPORT_C TIntRunningWidgetsL(RWidgetInfoArray &aWidgetInfoArr)

Returns widget info for all the running widgets.

SecurityPolicyId ( )

IMPORT_C TIntSecurityPolicyId()

Returns security policyId.

SetActiveL ( const TUid &, TInt )

IMPORT_C voidSetActiveL(const TUid &aUid,
TIntaStatus
)

Set/Reset active status of the widget

SetBlanketPermissionL ( const TUid &, TInt )

IMPORT_C voidSetBlanketPermissionL(const TUid &aUid,
TIntaStatus
)

Set/Reset blaket permission for widgets

SetFullViewL ( const TUid &, TInt )

IMPORT_C voidSetFullViewL(const TUid &aUid,
TIntaStatus
)

Set/Reset Full view status of widget

SetMiniViewL ( const TUid &, TInt )

IMPORT_C voidSetMiniViewL(const TUid &aUid,
TIntaStatus
)

Set/Reset Mini view launched status of widget

Version ( )

IMPORT_C TVersionVersion()const

Returns the version

WidgetCount ( TInt & )

IMPORT_C TIntWidgetCount(TInt &aCount)

Returns count of widgets installed.

WidgetExistsL ( const TDesC & )

IMPORT_C TBoolWidgetExistsL(const TDesC &aBundleId)

Returns true if the widget is installed

WidgetSapiAccessState ( const TUid & )

IMPORT_C TIntWidgetSapiAccessState(const TUid &aUid)

Returns if widget sapi access is prompted, promptless or denied.