|
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: This interface is used to add mappings between the process |
|
15 * that listens the remote control and is assosiated with |
|
16 * another function. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 // INCLUDE FILES |
|
22 #include <e32property.h> |
|
23 #include <tspclientmapper.h> |
|
24 #include "RemConDebug.h" |
|
25 #include "tspclientmapperimpl.h" |
|
26 |
|
27 // ============================= LOCAL FUNCTIONS =============================== |
|
28 |
|
29 // ============================ MEMBER FUNCTIONS =============================== |
|
30 |
|
31 // ----------------------------------------------------------------------------- |
|
32 // CTspClientMapper::CTspClientMapper |
|
33 // C++ default constructor can NOT contain any code, that |
|
34 // might leave. |
|
35 // ----------------------------------------------------------------------------- |
|
36 // |
|
37 CTspClientMapper::CTspClientMapper() |
|
38 { |
|
39 } |
|
40 |
|
41 |
|
42 // ----------------------------------------------------------------------------- |
|
43 // CTspClientMapper::NewL |
|
44 // Two-phased constructor. |
|
45 // ----------------------------------------------------------------------------- |
|
46 // |
|
47 EXPORT_C CTspClientMapper* CTspClientMapper::NewL() |
|
48 { |
|
49 COM_TRACE_( "[RemConTspCustomIf] CRemConTspCustomIf::NewL()" ); |
|
50 |
|
51 CTspClientMapper* impl = NewLC(); |
|
52 CleanupStack::Pop( impl ); |
|
53 |
|
54 COM_TRACE_( "[RemConTspCustomIf] CRemConTspCustomIf::NewL() - return" ); |
|
55 |
|
56 return impl; |
|
57 } |
|
58 |
|
59 // ----------------------------------------------------------------------------- |
|
60 // CTspClientMapper::NewLC |
|
61 // Two-phased constructor. |
|
62 // ----------------------------------------------------------------------------- |
|
63 // |
|
64 EXPORT_C CTspClientMapper* CTspClientMapper::NewLC() |
|
65 { |
|
66 COM_TRACE_( "[RemConTspCustomIf] CRemConTspCustomIf::NewLC()" ); |
|
67 |
|
68 CTspClientMapper* impl = CTspClientMapperImpl::NewL(); |
|
69 CleanupStack::PushL( impl ); |
|
70 COM_TRACE_( "[RemConTspCustomIf] CRemConTspCustomIf::NewLC() - return" ); |
|
71 |
|
72 return impl; |
|
73 } |
|
74 |
|
75 // End of file |