|
|
|
|
Location:
mmfcontroller.h
Link against: mmfcontrollerframework.lib
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.
CBase - Base class for all classes to be instantiated on the heap
CMMFObject - Defines an object to which a client may have a direct handle
CMMFDataSourceHolder - CMMFObject-derived class to wrap a Data Source
Defined in CMMFDataSourceHolder:
CMMFDataSourceHolder(), DataSource(), HandleRequest(), ~CMMFDataSourceHolder()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CMMFObject:
Handle(),
operator==()
IMPORT_C CMMFDataSourceHolder(MDataSource &aDataSource);
Constructor.
|
IMPORT_C MDataSource &DataSource();
Returns a reference to the data source.
|
virtual IMPORT_C void HandleRequest(TMMFMessage &aMessage);
Implementation of the pure virtual function inherited from CMMFObject.
Passes the request directly to the data source.
|