|
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 CMCECSSESSIONRECEIVER_H |
|
22 #define CMCECSSESSIONRECEIVER_H |
|
23 |
|
24 // INCLUDES |
|
25 #include "mcecsreceiverbase.h" |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * MCE CS session received. |
|
31 * |
|
32 * @lib |
|
33 * @since |
|
34 */ |
|
35 class CMceCsSessionReceiver : public CMceCsReceiverBase |
|
36 { |
|
37 public: // Constructors and destructor |
|
38 |
|
39 /** |
|
40 * Two-phased constructor. |
|
41 * @param aType, the type of receiver |
|
42 * @param aItc, reference to ITC helper. |
|
43 */ |
|
44 static CMceCsSessionReceiver* NewL( TMceManagerType aType, |
|
45 CMceCsServerITC& aItc); |
|
46 |
|
47 /** |
|
48 * Two-phased constructor. |
|
49 * @param aType, the type of receiver |
|
50 * @param aItc, reference to ITC helper. |
|
51 */ |
|
52 static CMceCsSessionReceiver* NewLC( TMceManagerType aType, |
|
53 CMceCsServerITC& aItc ); |
|
54 |
|
55 /** |
|
56 * Destructor. |
|
57 */ |
|
58 ~CMceCsSessionReceiver(); |
|
59 |
|
60 /** |
|
61 * Type of receiver |
|
62 */ |
|
63 TMceManagerType Type() const; |
|
64 |
|
65 private: |
|
66 |
|
67 |
|
68 CMceCsSessionReceiver( TMceManagerType aType, CMceCsServerITC& aItc ); |
|
69 |
|
70 |
|
71 private://data |
|
72 |
|
73 |
|
74 TMceManagerType iType; |
|
75 |
|
76 //definitions for unit testing |
|
77 MCESRV_UT_DEFINITIONS |
|
78 |
|
79 |
|
80 }; |
|
81 |
|
82 #endif |
|
83 |
|
84 // End of File |