|
1 /* |
|
2 * Copyright (c) 2002-2004 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 |
|
19 |
|
20 #ifndef REGISTRATIONRESPPARSER |
|
21 #define REGISTRATIONRESPPARSER |
|
22 |
|
23 // INCLUDES |
|
24 #include "RespParser.h" |
|
25 |
|
26 namespace Roap |
|
27 { |
|
28 |
|
29 // CONSTANTS |
|
30 //const ?type ?constant_var = ?constant; |
|
31 |
|
32 // MACROS |
|
33 //#define ?macro ?macro_def |
|
34 |
|
35 // DATA TYPES |
|
36 //enum ?declaration |
|
37 //typedef ?declaration |
|
38 //extern ?data_type; |
|
39 |
|
40 // FUNCTION PROTOTYPES |
|
41 //?type ?function_name(?arg_list); |
|
42 |
|
43 // FORWARD DECLARATIONS |
|
44 //class ?FORWARD_CLASSNAME; |
|
45 |
|
46 class CRegistrationResp; |
|
47 |
|
48 // CLASS DECLARATION |
|
49 |
|
50 /** |
|
51 * ?one_line_short_description. |
|
52 * ?other_description_lines |
|
53 * |
|
54 * @lib ?library |
|
55 * @since Series ?XX ?SeriesXX_version |
|
56 */ |
|
57 class TRegistrationRespParser : public MRespParser |
|
58 { |
|
59 public: // Constructors |
|
60 |
|
61 TRegistrationRespParser( |
|
62 CRegistrationResp* aResponse); |
|
63 |
|
64 public: // New functions |
|
65 |
|
66 /** |
|
67 * ?member_description. |
|
68 * @since Series ?XX ?SeriesXX_version |
|
69 * @param ?arg1 ?description |
|
70 * @return ?description |
|
71 */ |
|
72 //?type ?member_function( ?type ?arg1 ); |
|
73 |
|
74 public: // Functions from base classes |
|
75 |
|
76 /** |
|
77 * From ?base_class ?member_description. |
|
78 * @since Series ?XX ?SeriesXX_version |
|
79 * @param ?arg1 ?description |
|
80 * @return ?description |
|
81 */ |
|
82 //?type ?member_function( ?type ?arg1 ); |
|
83 |
|
84 virtual void OnStartElementL( |
|
85 CRoapParser& aParser, |
|
86 TInt aState, |
|
87 const RTagInfo& aElement, |
|
88 const RAttributeArray& aAttributes); |
|
89 |
|
90 virtual void OnEndElementL( |
|
91 CRoapParser& aParser, |
|
92 TInt aState, |
|
93 const RTagInfo& aElement); |
|
94 |
|
95 protected: // New functions |
|
96 |
|
97 /** |
|
98 * ?member_description. |
|
99 * @since Series ?XX ?SeriesXX_version |
|
100 * @param ?arg1 ?description |
|
101 * @return ?description |
|
102 */ |
|
103 //?type ?member_function( ?type ?arg1 ); |
|
104 |
|
105 protected: // Functions from base classes |
|
106 |
|
107 /** |
|
108 * From ?base_class ?member_description |
|
109 */ |
|
110 //?type ?member_function(); |
|
111 |
|
112 private: |
|
113 |
|
114 public: // Data |
|
115 // ?one_line_short_description_of_data |
|
116 CRegistrationResp* iResponse; |
|
117 |
|
118 protected: // Data |
|
119 // ?one_line_short_description_of_data |
|
120 //?data_declaration; |
|
121 |
|
122 private: // Data |
|
123 // ?one_line_short_description_of_data |
|
124 //?data_declaration; |
|
125 |
|
126 // Reserved pointer for future extension |
|
127 //TAny* iReserved; |
|
128 |
|
129 public: // Friend classes |
|
130 //?friend_class_declaration; |
|
131 protected: // Friend classes |
|
132 //?friend_class_declaration; |
|
133 private: // Friend classes |
|
134 //?friend_class_declaration; |
|
135 |
|
136 }; |
|
137 } |
|
138 |
|
139 #endif // REGISTRATIONRESPPARSER |
|
140 |
|
141 // End of File |