equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef TEST_SCRIPTS_INL_ |
|
19 #define TEST_SCRIPTS_INL_ |
|
20 |
|
21 inline const RPointerArray<CTestConfigSection>& CTestConfig::Sections() const |
|
22 { |
|
23 return iSections; |
|
24 } |
|
25 |
|
26 inline RPointerArray<CTestConfigSection>& CTestConfig::Sections() |
|
27 { |
|
28 return iSections; |
|
29 } |
|
30 |
|
31 inline const TDesC8& CTestConfigSection::SectionName() const |
|
32 { |
|
33 return *iSectionName; |
|
34 } |
|
35 |
|
36 inline const TDesC8& CTestConfigItem::Item() const |
|
37 { |
|
38 return *iItem; |
|
39 } |
|
40 |
|
41 inline void CTestConfigSection::SetDefaultsL(const CTestConfigSection& aDefaults) |
|
42 { |
|
43 CTestConfigSection* def = aDefaults.CopyLC(); |
|
44 CleanupStack::Pop(def); |
|
45 delete iDefaults; |
|
46 iDefaults = NULL; |
|
47 iDefaults = def; |
|
48 } |
|
49 |
|
50 |
|
51 inline const TDesC8& CTestConfigItem::Value() const |
|
52 { |
|
53 return *iValue; |
|
54 } |
|
55 |
|
56 |
|
57 inline CTestConfigItem* CTestConfigItem::CopyLC() const |
|
58 { |
|
59 return NewLC(iParent, *iItem, *iValue); |
|
60 } |
|
61 |
|
62 |
|
63 |
|
64 #endif |