#include <mmf/common/mmfcontroller.h>
Link against: mmfcontrollerframework.lib
class CMMFAddDataSourceSinkAsync : public CActive, public CActive |
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 &) |
Inherited Attributes | |
---|---|
CActive::iStatus |
Inherited Enumerations | |
---|---|
CActive:TPriority |
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.
IMPORT_C void | AddDataSink | ( | RMMFController & | aController, |
TUid | aSinkUid, | |||
const TDesC8 & | aSinkInitData | |||
) |
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.
Parameters | |
---|---|
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. |
IMPORT_C void | AddDataSource | ( | RMMFController & | aController, |
TUid | aSourceUid, | |||
const TDesC8 & | aSourceInitData | |||
) |
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.
Parameters | |
---|---|
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. |
IMPORT_C void | AddFileHandleDataSink | ( | RMMFController & | aController, |
const RFile & | aFile | |||
) |
IMPORT_C void | AddFileHandleDataSink | ( | RMMFController & | aController, |
const RFile & | aFile, | |||
const TDesC8 & | aSinkInitData | |||
) |
IMPORT_C void | AddFileHandleDataSource | ( | RMMFController & | aController, |
const RFile & | aFile | |||
) |
IMPORT_C void | AddFileHandleDataSource | ( | RMMFController & | aController, |
const RFile & | aFile, | |||
const TDesC8 & | aSourceInitData | |||
) |
IMPORT_C CMMFAddDataSourceSinkAsync * | NewL | ( | MMMFAddDataSourceSinkAsyncObserver & | aObs | ) | [static] |
Constructs a CMMFAddDataSourceSinkAsync object.
Parameters | |
---|---|
aObs | A reference to the observer of the active object. The observer will be notified when the AddDataSource/Sink command is complete. |
Leave Codes | |
---|---|
This | method can leave with one of the standard system-wide error codes. |