![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
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(MDataSource &)
Constructor.DataSource()
Returns a reference to the data source.HandleRequest(TMMFMessage &)
Implementation of the pure virtual function inherited from CMMFObject.~CMMFDataSourceHolder()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from CMMFObject
:
CMMFObject(TUid)
Constructor.Handle()
Returns the handle of the object.operator==(const CMMFObject &)
Compares two CMMFObjects by comparing their handles.IMPORT_C CMMFDataSourceHolder(MDataSource &aDataSource);
Constructor.
|
IMPORT_C MDataSource& DataSource();
Returns a reference to the data source.
|
IMPORT_C virtual void HandleRequest(TMMFMessage &aMessage);
Implementation of the pure virtual function inherited from CMMFObject
.
Passes the request directly to the data source.
|