|
1 /* |
|
2 * Copyright (c) 2002-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 "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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <e32std.h> |
|
19 #include <f32file.h> |
|
20 #include "TestServiceDescription.h" |
|
21 |
|
22 |
|
23 //TestServiceDescription// |
|
24 |
|
25 CTestServiceDescription* CTestServiceDescription::NewL() |
|
26 { |
|
27 return((CTestServiceDescription*)CSenXmlServiceDescription::NewL()); |
|
28 } |
|
29 CTestServiceDescription* CTestServiceDescription::NewLC() |
|
30 { |
|
31 return((CTestServiceDescription*)CSenXmlServiceDescription::NewLC()); |
|
32 |
|
33 } |
|
34 |
|
35 EXPORT_C void CTestServiceDescription::StartElementL(const TDesC8& aNsUri, |
|
36 const TDesC8& aLocalName, |
|
37 const TDesC8& aQName, |
|
38 const RAttributeArray& aAttributes) |
|
39 { |
|
40 |
|
41 return(CSenXmlServiceDescription::StartElementL(aNsUri,aLocalName,aQName,aAttributes)); |
|
42 |
|
43 } |
|
44 |
|
45 EXPORT_C void CTestServiceDescription::EndElementL(const TDesC8& aNsUri, |
|
46 const TDesC8& aLocalName, |
|
47 const TDesC8& aQName ) |
|
48 { |
|
49 |
|
50 return(CSenXmlServiceDescription::EndElementL(aNsUri,aLocalName,aQName )); |
|
51 |
|
52 } |
|
53 |
|
54 |
|
55 ///Credential/// |
|
56 |
|
57 CTestCredential* CTestCredential::NewL() |
|
58 { |
|
59 _LIT8(KText, "text"); |
|
60 RAttributeArray array; |
|
61 return((CTestCredential*)CSenCredential::NewL(KText, KText, KText, array)); |
|
62 } |
|
63 |
|
64 |
|
65 CTestCredential* CTestCredential::NewLC() |
|
66 { |
|
67 _LIT8(KText, "text"); |
|
68 RAttributeArray array; |
|
69 return((CTestCredential*)CSenCredential::NewLC(KText, KText, KText, array)); |
|
70 |
|
71 } |
|
72 |
|
73 |
|
74 |
|
75 |
|
76 EXPORT_C void CTestCredential::StartElementL(const TDesC8& aNsUri, |
|
77 const TDesC8& aLocalName, |
|
78 const TDesC8& aQName, |
|
79 const RAttributeArray& aAttributes) |
|
80 { |
|
81 return(CSenCredential::StartElementL(aNsUri,aLocalName,aQName,aAttributes)); |
|
82 } |