TSimpleFactory Class Reference

class TSimpleFactory

Factory class for SIMPLE Engine

simpleengine
Since
S60 3.2

Member Functions Documentation

NewConnectionL(MSimpleConnectionObserver &)

IMPORT_C MSimpleConnection * NewConnectionL ( MSimpleConnectionObserver & aObserver ) [static]
Create new simple engine Connection entity.
Since
S60 3.2

Parameters

MSimpleConnectionObserver & aObserver client callback observer

NewConnectionL(MSimpleConnectionObserver &, TInt32)

IMPORT_C MSimpleConnection * NewConnectionL ( MSimpleConnectionObserver & aObserver,
TInt32 aServiceId
) [static]
Create new simple engine Connection entity.
Since
S60 3.2

Parameters

MSimpleConnectionObserver & aObserver client callback observer
TInt32 aServiceId serviceId of current service

NewContentL(const TDesC8 &, const TDesC8 &)

IMPORT_C MSimpleContent * NewContentL ( const TDesC8 & aContentID,
const TDesC8 & aContentType
) [static]

Parameters

const TDesC8 & aContentID
const TDesC8 & aContentType

NewDocumentL()

IMPORT_C MSimpleDocument * NewDocumentL ( ) [static]
Create new simple Document entity from scratch.
Since
S60 3.2

NewDocumentL(const TDesC8 &)

IMPORT_C MSimpleDocument * NewDocumentL ( const TDesC8 & aXml ) [static]
Create new simple Document entity from xml-document.
Since
S60 3.2

Parameters

const TDesC8 & aXml a valid XML document containing in PIDF format.

NewElementL(const TDesC8 &, const TDesC8 &)

IMPORT_C MSimpleElement * NewElementL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName
) [static]
Create new simple Element entity.
Since
S60 3.2

Parameters

const TDesC8 & aNsUri the namespace URI for this element.
const TDesC8 & aLocalName the local name for this element.

NewFilterDocumentL()

IMPORT_C MSimpleFilterDocument * NewFilterDocumentL ( ) [static]
Create new simple FilterDocument entity.
Since
S60 3.2

NewFilterDocumentL(const TDesC8 &)

IMPORT_C MSimpleFilterDocument * NewFilterDocumentL ( const TDesC8 & aXml ) [static]
Create new simple FilterDocument entity.
Since
S60 3.2

Parameters

const TDesC8 & aXml a valid XML document containing in PIDF format.

NewInstantMessageL(MSimpleConnection &, MSimpleInstantMsgObserver &)

IMPORT_C MSimpleInstantMessage * NewInstantMessageL ( MSimpleConnection & aConn,
MSimpleInstantMsgObserver & aObserver
) [static]
Create new InstantMessage entity.
Since
S60 5.0

Parameters

MSimpleConnection & aConn simple engine connection
MSimpleInstantMsgObserver & aObserver client callback observer

NewNamespaceL(const TDesC8 &, const TDesC8 &)

IMPORT_C MSimpleNamespace * NewNamespaceL ( const TDesC8 & aPrefix,
const TDesC8 & aUri
) [static]
Create new simple NameSpace entity.
Since
S60 3.2

Parameters

const TDesC8 & aPrefix prefix to be used
const TDesC8 & aUri URI

NewPublisherL(MSimpleConnection &, MSimplePublishObserver &)

IMPORT_C MSimplePublisher * NewPublisherL ( MSimpleConnection & aConn,
MSimplePublishObserver & aObserver
) [static]
Create new Publisher entity.
Since
S60 3.2 aConn simple engine connection

Parameters

MSimpleConnection & aConn
MSimplePublishObserver & aObserver client callback observer

NewWatcherL(MSimpleConnection &, MSimpleWatcherObserver &)

IMPORT_C MSimpleWatcher * NewWatcherL ( MSimpleConnection & aConn,
MSimpleWatcherObserver & aObserver
) [static]
Create new Watcher entity.
Since
S60 3.2 aConn simple engine connection

Parameters

MSimpleConnection & aConn
MSimpleWatcherObserver & aObserver client callback observer

NewWinfoWatcherL(MSimpleConnection &, MSimpleWinfoObserver &)

IMPORT_C MSimpleWinfoWatcher * NewWinfoWatcherL ( MSimpleConnection & aConn,
MSimpleWinfoObserver & aObserver
) [static]
Create new WinfoWatcher entity.
Since
S60 3.2 aConn simple engine connection

Parameters

MSimpleConnection & aConn
MSimpleWinfoObserver & aObserver client callback observer