Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: mmfcontroller.h
Link against: mmfcontrollerframework.lib

Class CMMFDataSourceHolder

class CMMFDataSourceHolder : public CMMFObject;

Description

CMMFObject-derived class to wrap a Data Source.

Allows a handle to be attributed to a data source, so it can be removed from the controller and the client can send messages directly to it.

Derivation

Members

Defined in CMMFDataSourceHolder:
CMMFDataSourceHolder(), DataSource(), HandleRequest(), ~CMMFDataSourceHolder()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CMMFObject:
Handle(), operator==()


Construction and destruction


CMMFDataSourceHolder()

IMPORT_C CMMFDataSourceHolder(MDataSource &aDataSource);

Description

Constructor.

Parameters

MDataSource &aDataSource

The data source to be wrapped.


~CMMFDataSourceHolder()

IMPORT_C ~CMMFDataSourceHolder();

Description

Destructor.

Note: This deletes the data source.

[Top]


Member functions


DataSource()

IMPORT_C MDataSource &DataSource();

Description

Returns a reference to the data source.

Return value

MDataSource &

The data source.


HandleRequest()

virtual IMPORT_C void HandleRequest(TMMFMessage &aMessage);

Description

Implementation of the pure virtual function inherited from CMMFObject.

Passes the request directly to the data source.

Parameters

TMMFMessage &aMessage

The message to be handled.