|
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 #include "mcecssessionreceiver.h" |
|
22 #include "mcecsserveritc.h" |
|
23 #include "mcecsreceiveitem.h" |
|
24 |
|
25 // ----------------------------------------------------------------------------- |
|
26 // CMceCsSessionReceiver::NewL |
|
27 // ----------------------------------------------------------------------------- |
|
28 // |
|
29 CMceCsSessionReceiver* CMceCsSessionReceiver::NewL( TMceManagerType aType, |
|
30 CMceCsServerITC& aItc) |
|
31 { |
|
32 CMceCsSessionReceiver* self = CMceCsSessionReceiver::NewLC( aType, aItc ); |
|
33 CleanupStack::Pop( self ); |
|
34 return self; |
|
35 } |
|
36 |
|
37 // ----------------------------------------------------------------------------- |
|
38 // CMceCsSessionReceiver::NewLC |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 CMceCsSessionReceiver* CMceCsSessionReceiver::NewLC( TMceManagerType aType, |
|
42 CMceCsServerITC& aItc) |
|
43 { |
|
44 CMceCsSessionReceiver* self = |
|
45 new (ELeave) CMceCsSessionReceiver( aType, aItc ); |
|
46 CleanupStack::PushL ( self ); |
|
47 self->ConstructL(); |
|
48 return self; |
|
49 } |
|
50 |
|
51 // ----------------------------------------------------------------------------- |
|
52 // CMceCsSessionReceiver::CMceCsSessionReceiver |
|
53 // ----------------------------------------------------------------------------- |
|
54 // |
|
55 CMceCsSessionReceiver::CMceCsSessionReceiver( TMceManagerType aType, |
|
56 CMceCsServerITC& aItc ): |
|
57 CMceCsReceiverBase( aItc ), |
|
58 iType( aType ) |
|
59 { |
|
60 } |
|
61 |
|
62 // ----------------------------------------------------------------------------- |
|
63 // CMceCsSessionReceiver::Type |
|
64 // ----------------------------------------------------------------------------- |
|
65 // |
|
66 TMceManagerType CMceCsSessionReceiver::Type() const |
|
67 { |
|
68 return iType; |
|
69 } |
|
70 |
|
71 // ----------------------------------------------------------------------------- |
|
72 // CMceCsSessionReceiver::~CMceCsSessionReceiver |
|
73 // ----------------------------------------------------------------------------- |
|
74 // |
|
75 CMceCsSessionReceiver::~CMceCsSessionReceiver() |
|
76 { |
|
77 } |
|
78 |