equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef CMCESRVSINK_H |
|
22 #define CMCESRVSINK_H |
|
23 |
|
24 #include <e32base.h> |
|
25 #include "mcesrvendpoint.h" |
|
26 |
|
27 |
|
28 class CMceComMediaSink; |
|
29 class CMceMediaManager; |
|
30 class CMceSrvStream; |
|
31 |
|
32 /** |
|
33 * |
|
34 * |
|
35 * @lib |
|
36 */ |
|
37 class CMceSrvSink: public CMceSrvEndpoint |
|
38 { |
|
39 |
|
40 |
|
41 public: // Constructors & Destructor |
|
42 |
|
43 |
|
44 /** |
|
45 * C++ default constructor. |
|
46 */ |
|
47 CMceSrvSink( CMceMediaManager& aManager, |
|
48 CMceComMediaSink& aData ); |
|
49 |
|
50 /** |
|
51 * Destructor. |
|
52 */ |
|
53 ~CMceSrvSink(); |
|
54 |
|
55 |
|
56 public: // Source and sink functions |
|
57 |
|
58 /** |
|
59 * Called after prepare is called for this |
|
60 * stream |
|
61 */ |
|
62 void MccPrepareCalledL( CMceSrvStream& aStream ); |
|
63 |
|
64 /** |
|
65 * Gets correct endpoint from stream. |
|
66 * @param aStream |
|
67 * @return CMceSrvEndpoint |
|
68 */ |
|
69 CMceSrvEndpoint& Endpoint( CMceSrvStream& aStream ); |
|
70 |
|
71 /** |
|
72 * Handle secure key expired event |
|
73 * @param aEvent MCC event |
|
74 * @return void |
|
75 */ |
|
76 void HandleSecureEventReceivedL( ) ; |
|
77 |
|
78 private: // owned data |
|
79 |
|
80 TUint32 iSSRC; |
|
81 |
|
82 }; |
|
83 |
|
84 |
|
85 |
|
86 #endif //CMCESRVSINK_H |