|
1 /* |
|
2 * Copyright (c) 2007 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 #include <ecom/ecom.h> |
|
21 #include <ecom/implementationinformation.h> |
|
22 #include "mccrtpdatasink.h" |
|
23 #include "mccrtpdatasource.h" |
|
24 // REComSession: |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // REComSession::REComSession |
|
28 // ----------------------------------------------------------------------------- |
|
29 // |
|
30 REComSession::REComSession() |
|
31 { |
|
32 } |
|
33 |
|
34 // ----------------------------------------------------------------------------- |
|
35 // REComSession::CreateImplementationL |
|
36 // ----------------------------------------------------------------------------- |
|
37 // |
|
38 TAny* REComSession::CreateImplementationL( TUid aImplementationUid, |
|
39 TInt32 /*aKeyOffset*/ ) |
|
40 { |
|
41 if (aImplementationUid.iUid == KImplUidRtpDataSink) |
|
42 { |
|
43 return CMccRtpDataSink::NewSinkL( aImplementationUid,KNullDesC8 ); |
|
44 } |
|
45 if (aImplementationUid.iUid == KImplUidRtpDataSource) |
|
46 { |
|
47 return CMccRtpDataSource::NewSourceL( aImplementationUid,KNullDesC8 ); |
|
48 } |
|
49 User::Leave(KErrArgument); |
|
50 |
|
51 return NULL; |
|
52 } |
|
53 |
|
54 // ----------------------------------------------------------------------------- |
|
55 // REComSession::ListImplementationsL |
|
56 // ----------------------------------------------------------------------------- |
|
57 // |
|
58 void REComSession::ListImplementationsL( |
|
59 TUid /*aInterfaceUid*/, |
|
60 RImplInfoPtrArray& /*aImplInfoArray*/) |
|
61 { |
|
62 |
|
63 } |
|
64 |
|
65 |
|
66 // ----------------------------------------------------------------------------- |
|
67 // REComSession::DestroyedImplementation |
|
68 // ----------------------------------------------------------------------------- |
|
69 // |
|
70 void REComSession::DestroyedImplementation( |
|
71 TUid /*aDtorIDKey*/) |
|
72 { |
|
73 } |
|
74 |
|
75 |
|
76 // ----------------------------------------------------------------------------- |
|
77 // REComSession::FinalClose |
|
78 // ----------------------------------------------------------------------------- |
|
79 // |
|
80 void REComSession::FinalClose() |
|
81 { |
|
82 } |
|
83 |
|
84 |
|
85 |