CMdaServer Class Reference

class CMdaServer : public CBase

This class has been deprecated in 7.0s.

Inherits from

Constructor & Destructor Documentation

~CMdaServer()

IMPORT_C ~CMdaServer ( )

Destructor. Closes the session with the media server.

panic
EMdaUtilServerListenerListNotEmpty Not all event listeners that were added to the server have been removed.
panic
EMdaClientBaseSessionHasOpenObjects The client has resources still open in the server.

Member Functions Documentation

AddListenerL(MMdaObjectEventListener &)

IMPORT_C void AddListenerL ( MMdaObjectEventListener & aListener )

Adds an object event listener, so that events can be passed to it.

Parameters

MMdaObjectEventListener & aListener The object event listener to add to the list.

NewL()

IMPORT_C CMdaServer * NewL ( ) [static]

Connects to and starts the media server.

RemoveListener(MMdaObjectEventListener &)

IMPORT_C void RemoveListener ( MMdaObjectEventListener & aListener )

Removes an object event listener so that events can no longer be passed to it. The specified listener must be in the list, or a panic occurs.

Parameters

MMdaObjectEventListener & aListener The object event listener to remove from the list.