|
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: Implementation of TPhoneCmdParamPointer class. |
|
15 * |
|
16 */ |
|
17 |
|
18 // INCLUDE FILES |
|
19 #include "tphonecmdparampointer.h" |
|
20 |
|
21 // ================= MEMBER FUNCTIONS ======================= |
|
22 |
|
23 // ----------------------------------------------------------------------------- |
|
24 // TPhoneCmdParamPointer::TPhoneCmdParamPointer |
|
25 // C++ default constructor can NOT contain any code, that |
|
26 // might leave. |
|
27 // ----------------------------------------------------------------------------- |
|
28 // |
|
29 EXPORT_C TPhoneCmdParamPointer::TPhoneCmdParamPointer(): |
|
30 TPhoneCommandParam(), |
|
31 iPointer( NULL ) |
|
32 { |
|
33 iParamId = EPhoneParamIdPointer; |
|
34 } |
|
35 |
|
36 // --------------------------------------------------------- |
|
37 // TPhoneCmdParamPointer::SetPointer |
|
38 // Sets the address pointer |
|
39 // (other items were commented in a header). |
|
40 // --------------------------------------------------------- |
|
41 // |
|
42 EXPORT_C void TPhoneCmdParamPointer::SetPointer( TAny* aPointer ) |
|
43 { |
|
44 iPointer = aPointer; |
|
45 } |
|
46 |
|
47 // --------------------------------------------------------- |
|
48 // TPhoneCmdParamPointer::Pointer |
|
49 // Returns the address pointer |
|
50 // (other items were commented in a header). |
|
51 // --------------------------------------------------------- |
|
52 // |
|
53 EXPORT_C TAny* TPhoneCmdParamPointer::Pointer() const |
|
54 { |
|
55 return iPointer; |
|
56 } |
|
57 |
|
58 // End of File |