equal
deleted
inserted
replaced
35 // TMS server session class. |
35 // TMS server session class. |
36 // ----------------------------------------------------------------------------- |
36 // ----------------------------------------------------------------------------- |
37 class TMSServerSession : public CSession2 |
37 class TMSServerSession : public CSession2 |
38 { |
38 { |
39 public: |
39 public: |
40 |
|
41 // Constractor |
40 // Constractor |
42 static TMSServerSession* NewL(TMSServer &aServer); |
41 static TMSServerSession* NewL(TMSServer &aServer); |
43 |
42 |
44 // Destructor |
43 // Destructor |
45 ~TMSServerSession(); |
44 ~TMSServerSession(); |
46 |
45 |
47 void HandleGlobalEffectChange(TInt globalevent); |
46 void HandleGlobalEffectChange(TInt globalevent); |
48 void HandleRoutingChange(TRoutingMsgBufPckg routinginfo); |
47 void HandleRoutingChange(TRoutingMsgBufPckg routinginfo); |
49 |
48 |
|
49 // Send notifications to clients |
|
50 void NotifyClient(const TInt aCommand, const TInt aStatus = KErrNone); |
|
51 |
50 private: |
52 private: |
51 |
|
52 // Symbian constructors |
53 // Symbian constructors |
53 void ConstructL(); |
54 void ConstructL(); |
54 TMSServerSession(TMSServer& aServer); |
55 TMSServerSession(TMSServer& aServer); |
55 |
56 |
56 // Client-server message handlers |
57 // Client-server message handlers |
61 void GetCodecsCountL(const RMessage2& aMessage, TMSStreamType strmType); |
62 void GetCodecsCountL(const RMessage2& aMessage, TMSStreamType strmType); |
62 void GetSupportedCodecsL(const RMessage2& aMessage, TMSStreamType strmType); |
63 void GetSupportedCodecsL(const RMessage2& aMessage, TMSStreamType strmType); |
63 void SetOutput(const RMessage2& aMessage); |
64 void SetOutput(const RMessage2& aMessage); |
64 void SetVolLevel(const RMessage2& aMessage); |
65 void SetVolLevel(const RMessage2& aMessage); |
65 void SetMicGain(const RMessage2& aMessage); |
66 void SetMicGain(const RMessage2& aMessage); |
66 |
|
67 // Send notification to the client |
|
68 void NotifyClient(); |
|
69 |
67 |
70 private: |
68 private: |
71 TMSServer& iServer; |
69 TMSServer& iServer; |
72 RHandleBase iTMSCallSessionHandle; |
70 RHandleBase iTMSCallSessionHandle; |
73 TSharedData iShared; |
71 TSharedData iShared; |