|
1 /* |
|
2 * Copyright (c) 2006-2006 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: Header declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 #ifndef WSSTAR_ADDRESSING_EPR_H |
|
26 #define WSSTAR_ADDRESSING_EPR_H |
|
27 |
|
28 |
|
29 |
|
30 // INCLUDES |
|
31 #include <e32std.h> |
|
32 #include <SenXmlElement.h> |
|
33 #include "wsstarmessagehandlerscons.h" |
|
34 |
|
35 // CONSTANTS |
|
36 |
|
37 // FORWARD DECLARATIONS |
|
38 |
|
39 |
|
40 /** |
|
41 * Class: |
|
42 * |
|
43 */ |
|
44 class CWSStarAddressingEPR : public CSenXmlElement |
|
45 { |
|
46 public: |
|
47 /** |
|
48 * Function: NewL |
|
49 * |
|
50 * Description: Create instance of concrete implementation. Note that ECOM |
|
51 * interface implementations can only have two signatures for |
|
52 * NewL: |
|
53 * |
|
54 * Returns: Instance of this class. |
|
55 * |
|
56 * Note: The interface, which is abstract base class of this |
|
57 * implementation, also provides NewL method. Normally abstract |
|
58 * classes do not provide NewL, because they cannot create |
|
59 * instances of themselves. |
|
60 */ |
|
61 static CWSStarAddressingEPR* NewL(CSenElement& aParent, const TDesC8& aLocalName, |
|
62 const TDesC8& aContent, const TDesC8& aVersion); |
|
63 static CWSStarAddressingEPR* NewLC(CSenElement& aParent, const TDesC8& aLocalName, |
|
64 const TDesC8& aContent, const TDesC8& aVersion); |
|
65 |
|
66 |
|
67 private: |
|
68 |
|
69 |
|
70 public: // destructor |
|
71 virtual ~CWSStarAddressingEPR(); |
|
72 |
|
73 |
|
74 protected: |
|
75 /** |
|
76 * Function: CWSStarHandlerAddressingInbound |
|
77 * |
|
78 * Discussion: Perform the first phase of two phase construction |
|
79 */ |
|
80 CWSStarAddressingEPR(); |
|
81 |
|
82 /** |
|
83 * Function: ConstructL |
|
84 * |
|
85 * Discussion: Perform the second phase construction of a |
|
86 * CImplementationClassPlus object. |
|
87 */ |
|
88 void ConstructL(CSenElement& aParent, const TDesC8& aLocalName, const TDesC8& aContent, |
|
89 const TDesC8& aVersion); |
|
90 |
|
91 public: |
|
92 void AddDeviceAddressL(const TDesC8& aMwsNamespace, const TDesC8& aContent); |
|
93 private: |
|
94 |
|
95 //data |
|
96 }; |
|
97 |
|
98 #endif // WSSTAR_ADDRESSING_ERP_H |