RCwrtRegistryClientSession Class Reference

#include <mw/cwrt/CwrtRegistryClient.h>

Link against: CwrtRegistryClient.lib

class RCwrtRegistryClientSession : public RSessionBase, public RSessionBase

Inherits from

Public Member Functions
RCwrtRegistryClientSession()
IMPORT_C TIntConnect()
IMPORT_C boolDeRegisterWidgetL(const QString &, bool)
IMPORT_C TIntDisconnect()
IMPORT_C boolRegisterWidgetL(const QString &, const QString &, const QString &, const QString &, const AttributeMap &, const QString &, unsigned long, const QString &)
IMPORT_C TVersionVersion()
IMPORT_C intappIdToNativeIdL(const QString &)
IMPORT_C boolgetAppPathL(const QString &, QString &)
IMPORT_C QVariantgetAttribute(const QString &, const QString &, const QVariant &)
IMPORT_C boolgetDataPathL(const QString &, QString &)
IMPORT_C QList< QString >getElementL(const QString &, const QString &, const QString &)
IMPORT_C intgetWidgetTypeL(const QString &)
IMPORT_C boolisRegisteredL(const QString &)
IMPORT_C QStringnativeIdToAppIdL(const QString &)
IMPORT_C boolsetAttribute(const QString &, const QString &, const QVariant &)
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

RCwrtRegistryClientSession ( )

IMPORT_CRCwrtRegistryClientSession()

Constructor

Member Function Documentation

Connect ( )

IMPORT_C TIntConnect()

Connect to wrtregistry server

DeRegisterWidgetL ( const QString &, bool )

IMPORT_C boolDeRegisterWidgetL(const QString &appId,
boolupdate = false
)

Deregister the widget

Disconnect ( )

IMPORT_C TIntDisconnect()

Disconnect from wrtregistry server

RegisterWidgetL ( const QString &, const QString &, const QString &, const QString &, const AttributeMap &, const QString &, unsigned long, const QString & )

IMPORT_C boolRegisterWidgetL(const QString &appId,
const QString &appTitle,
const QString &appPath,
const QString &iconPath,
const AttributeMap &attributes,
const QString &type,
unsigned longsize,
const QString &startPath
)

Registers the widget

Version ( )

IMPORT_C TVersionVersion()const

Returns the version

appIdToNativeIdL ( const QString & )

IMPORT_C intappIdToNativeIdL(const QString &Id)

Returns the NativeId

getAppPathL ( const QString &, QString & )

IMPORT_C boolgetAppPathL(const QString &appId,
QString &appPath
)

Returns app path for the widget

getAttribute ( const QString &, const QString &, const QVariant & )

IMPORT_C QVariantgetAttribute(const QString &appId,
const QString &attribute,
const QVariant &defaultValue =  QVariant()
)

Returns the attribute value for the widget

getDataPathL ( const QString &, QString & )

IMPORT_C boolgetDataPathL(const QString &appId,
QString &dataPath
)

Returns data path for the widget

getElementL ( const QString &, const QString &, const QString & )

IMPORT_C QList< QString >getElementL(const QString &appId,
const QString &key,
const QString &attr
)

Returns the list of elements for the widget

getWidgetTypeL ( const QString & )

IMPORT_C intgetWidgetTypeL(const QString &appId)

Returns the widget type

isRegisteredL ( const QString & )

IMPORT_C boolisRegisteredL(const QString &appId)

Checks if the widget exists

nativeIdToAppIdL ( const QString & )

IMPORT_C QStringnativeIdToAppIdL(const QString &Id)

Returns the AppId

setAttribute ( const QString &, const QString &, const QVariant & )

IMPORT_C boolsetAttribute(const QString &appId,
const QString &attribute,
const QVariant &value
)

Sets the attribute value for the widget