class CMMFDataSourceHolder : public CMMFObject |
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.
Public Member Functions | |
---|---|
CMMFDataSourceHolder ( MDataSource &) | |
~CMMFDataSourceHolder () | |
IMPORT_C MDataSource & | DataSource () |
IMPORT_C void | HandleRequest ( TMMFMessage &) |
Private Attributes | |
---|---|
MDataSource * | iDataSource |
IMPORT_C | CMMFDataSourceHolder | ( | MDataSource & | aDataSource | ) |
Constructor.
MDataSource & aDataSource | The data source to be wrapped. |
IMPORT_C | ~CMMFDataSourceHolder | ( | ) |
Destructor.
Note: This deletes the data source.
IMPORT_C MDataSource & | DataSource | ( | ) |
Returns a reference to the data source.
IMPORT_C void | HandleRequest | ( | TMMFMessage & | aMessage | ) | [virtual] |
Implementation of the pure virtual function inherited from CMMFObject .
Passes the request directly to the data source.
TMMFMessage & aMessage | The message to be handled. |
MDataSource * | iDataSource | [private] |
Pointer to the data source owned by this object.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.