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