112 // Sets the query dialog resource id |
112 // Sets the query dialog resource id |
113 // (other items were commented in a header). |
113 // (other items were commented in a header). |
114 // --------------------------------------------------------- |
114 // --------------------------------------------------------- |
115 // |
115 // |
116 EXPORT_C void TPhoneCmdParamQuery::SetQueryResourceId( TInt aDialogResourceId ) |
116 EXPORT_C void TPhoneCmdParamQuery::SetQueryResourceId( TInt aDialogResourceId ) |
117 { |
117 { |
118 __ASSERT_DEBUG( aDialogResourceId, |
118 __ASSERT_DEBUG( aDialogResourceId, |
119 Panic( EPhoneUtilsParameterNotInitialized ) ); |
119 Panic( EPhoneUtilsParameterNotInitialized ) ); |
120 iDialogResourceId = aDialogResourceId; |
120 iDialogResourceId = aDialogResourceId; |
121 } |
121 } |
122 |
122 |
123 // --------------------------------------------------------- |
123 // --------------------------------------------------------- |
124 // TPhoneCmdParamQuery::QueryResourceId |
124 // TPhoneCmdParamQuery::QueryResourceId |
125 // Returns the query dialog's resource id |
125 // Returns the query dialog's resource id |
126 // (other items were commented in a header). |
126 // (other items were commented in a header). |
127 // --------------------------------------------------------- |
127 // --------------------------------------------------------- |
128 // |
128 // |
129 EXPORT_C TInt TPhoneCmdParamQuery::QueryResourceId() const |
129 EXPORT_C TInt TPhoneCmdParamQuery::QueryResourceId() const |
130 { |
130 { |
131 return iDialogResourceId; |
131 return iDialogResourceId; |
132 } |
132 } |
133 |
133 |
134 // --------------------------------------------------------- |
134 // --------------------------------------------------------- |
135 // TPhoneCmdParamQuery::SetQueryPrompt |
135 // TPhoneCmdParamQuery::SetQueryPrompt |
136 // Sets the query dialog's prompt text |
136 // Sets the query dialog's prompt text |
137 // (other items were commented in a header). |
137 // (other items were commented in a header). |
202 // Sets the data text |
202 // Sets the data text |
203 // (other items were commented in a header). |
203 // (other items were commented in a header). |
204 // --------------------------------------------------------- |
204 // --------------------------------------------------------- |
205 // |
205 // |
206 EXPORT_C void TPhoneCmdParamQuery::SetDataText( TDes* aDataText ) |
206 EXPORT_C void TPhoneCmdParamQuery::SetDataText( TDes* aDataText ) |
207 { |
207 { |
208 __ASSERT_DEBUG( aDataText, Panic( EPhoneUtilsParameterNotInitialized ) ); |
208 __ASSERT_DEBUG( aDataText, Panic( EPhoneUtilsParameterNotInitialized ) ); |
209 iDataText = aDataText; |
209 iDataText = aDataText; |
210 } |
210 } |
211 |
211 |
212 // --------------------------------------------------------- |
212 // --------------------------------------------------------- |
213 // TPhoneCmdParamQuery::DataText |
213 // TPhoneCmdParamQuery::DataText |
214 // Returns the data text |
214 // Returns the data text |
215 // (other items were commented in a header). |
215 // (other items were commented in a header). |
216 // --------------------------------------------------------- |
216 // --------------------------------------------------------- |
217 // |
217 // |
218 EXPORT_C TDes* TPhoneCmdParamQuery::DataText() const |
218 EXPORT_C TDes* TPhoneCmdParamQuery::DataText() const |
219 { |
219 { |
220 return iDataText; |
220 __ASSERT_DEBUG( iDataText, Panic( EPhoneUtilsInvariant ) ); |
221 } |
221 return iDataText; |
|
222 } |
222 |
223 |
223 // --------------------------------------------------------- |
224 // --------------------------------------------------------- |
224 // TPhoneCmdParamQuery::SetQueryType |
225 // TPhoneCmdParamQuery::SetQueryType |
225 // Sets the query type |
226 // Sets the query type |
226 // (other items were commented in a header). |
227 // (other items were commented in a header). |