CMMFAddDataSourceSinkAsync Class Reference
#include
"mmfcontroller.h"
Link against: mmfcontrollerframework.lib
class CMMFAddDataSourceSinkAsync : public CActive |
Inherits from
- CMMFAddDataSourceSinkAsync
Public Member Functions |
---|
| ~CMMFAddDataSourceSinkAsync() |
IMPORT_C void | AddDataSink(RMMFController &, TUid, const TDesC8 &) |
IMPORT_C void | AddDataSource(RMMFController &, TUid, const TDesC8 &) |
IMPORT_C void | AddFileHandleDataSink(RMMFController &, const RFile &) |
IMPORT_C void | AddFileHandleDataSink(RMMFController &, const RFile &, const TDesC8 &) |
IMPORT_C void | AddFileHandleDataSource(RMMFController &, const RFile &) |
IMPORT_C void | AddFileHandleDataSource(RMMFController &, const RFile &, const TDesC8 &) |
IMPORT_C CMMFAddDataSourceSinkAsync * | NewL(MMMFAddDataSourceSinkAsyncObserver &) |
Detailed Description
Active object utility class that can be used to add a data source or data sink to a controller plugin asynchronously. Once the command has been completed, the caller will be notified via the
MMMFAddDataSourceSinkAsyncObserver interface.
- Since
- 8.0
Constructor & Destructor Documentation
~CMMFAddDataSourceSinkAsync ( )
~CMMFAddDataSourceSinkAsync | ( | ) | |
Member Function Documentation
AddDataSink ( RMMFController &, TUid, const TDesC8 & )
Add a data sink to the controller. The caller will be signalled on completion via the MMMFAddDataSourceSinkAsyncObserver interface.
Only one method call may be outstanding on this object at any one time.
Parameter | Description | aController | A reference to the client controller interface class. |
aSinkUid | The uid of the data sink to be added. For more information, see the documentation for the data sink you wish to add. |
aSinkInitData | Data used to initialise the data sink. The exact contents of this data are dependent on the type of data sink. For more information, see the documentation for the data sink you wish to add. |
AddDataSource ( RMMFController &, TUid, const TDesC8 & )
Add a data source to the controller. The caller will be signalled on completion via the MMMFAddDataSourceSinkAsyncObserver interface.
Only one method call may be outstanding on this object at any one time.
Parameter | Description | aController | A reference to the client controller interface class. |
aSourceUid | The uid of the data source to be added. For more information, see the documentation for the data source you wish to add. |
aSourceInitData | Data used to initialise the data source. The exact contents of this data are dependent on the type of data source. For more information, see the documentation for the data source you wish to add. |
AddFileHandleDataSink ( RMMFController &, const RFile & )
AddFileHandleDataSink ( RMMFController &, const RFile &, const TDesC8 & )
AddFileHandleDataSource ( RMMFController &, const RFile & )
AddFileHandleDataSource ( RMMFController &, const RFile &, const TDesC8 & )
NewL ( MMMFAddDataSourceSinkAsyncObserver & )
Constructs a CMMFAddDataSourceSinkAsync object.
-
leave
- This method can leave with one of the standard system-wide error codes.
- Since
- 7.0s
Parameter | Description | aObs | A reference to the observer of the active object. The observer will be notified when the AddDataSource/Sink command is complete. |
Returns: A pointer to the new object.