#include <mda/client/utility.h>
Link against: mediaclient.lib
class CMdaServer : public CBase |
Public Member Functions | |
---|---|
~CMdaServer() | |
IMPORT_C void | AddListenerL(MMdaObjectEventListener &) |
IMPORT_C CMdaServer * | NewL() |
IMPORT_C void | RemoveListener(MMdaObjectEventListener &) |
Deprecated
This class has been deprecated in 7.0s.
IMPORT_C | ~CMdaServer | ( | ) |
Destructor. Closes the session with the media server.
Panic Codes | |
---|---|
EMdaUtilServerListenerListNotEmpty | |
EMdaClientBaseSessionHasOpenObjects |
IMPORT_C void | AddListenerL | ( | MMdaObjectEventListener & | aListener | ) |
Adds an object event listener, so that events can be passed to it.
Parameters | |
---|---|
aListener | The object event listener to add to the list. |
IMPORT_C CMdaServer * | NewL | ( | ) | [static] |
Connects to and starts the media server.
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 | |
---|---|
aListener | The object event listener to remove from the list. |