202 * @param parsedData Parsed serialized data |
202 * @param parsedData Parsed serialized data |
203 * @param error Smf Error code |
203 * @param error Smf Error code |
204 */ |
204 */ |
205 void resultsAvailable(QByteArray* parsedData,SmfError error); |
205 void resultsAvailable(QByteArray* parsedData,SmfError error); |
206 |
206 |
|
207 #ifdef Q_FOR_FUTURE |
207 /** |
208 /** |
208 * Called by the SmfServer when client authorization finishes. |
209 * Called by the SmfServer when client authorization finishes. |
209 * @param success success of the authorization |
210 * @param success success of the authorization |
210 */ |
211 */ |
211 void clientAuthorizationFinished(bool success); |
212 void clientAuthorizationFinished(bool success); |
|
213 #endif |
212 |
214 |
213 protected: |
215 protected: |
214 //TMessageParams ReadMessageAndRetrieveParams (const RMessage2 & aMessage); |
216 //TMessageParams ReadMessageAndRetrieveParams (const RMessage2 & aMessage); |
215 |
217 |
216 void PanicClient(const RMessage2 & aMessage, TInt aPanic) const; |
218 void PanicClient(const RMessage2 & aMessage, TInt aPanic) const; |
255 RMessage2 iMessage; |
257 RMessage2 iMessage; |
256 TBuf<100> iErrBuf; |
258 TBuf<100> iErrBuf; |
257 //this interface id will be provided by Smf client, will map Smf Client |
259 //this interface id will be provided by Smf client, will map Smf Client |
258 // interface hierarchy |
260 // interface hierarchy |
259 SmfInterfaceID iInterfaceID; |
261 SmfInterfaceID iInterfaceID; |
260 TPtr iIntfNameSymbian; |
|
261 TPtr8 iIntfNameSymbian8; |
262 TPtr8 iIntfNameSymbian8; |
262 |
|
263 TBuf8<125> iInterfaceNametbuf; |
|
264 TPtr8 iProviderSymbian8; |
263 TPtr8 iProviderSymbian8; |
265 TPtr8 iXtraDataPtr8; |
264 TPtr8 iXtraDataPtr8; |
266 HBufC8* iData8ForDSM; |
265 HBufC8* iData8ForDSM; |
267 TPtr8 iPtr8DataForDSM; |
266 TPtr8 iPtr8DataForDSM; |
268 HBufC8* iData8FromDSM; |
267 HBufC8* iData8FromDSM; |
269 TPtr8 iPtr8DataFromDSM; |
268 TPtr8 iPtr8DataFromDSM; |
270 TBuf<100> iDSMErr; |
269 TBuf<100> iDSMErr; |
271 HBufC8* iProviderBuf8; |
270 HBufC8* iProviderBuf8; |
272 HBufC8* iXtraDataBuf8; |
|
273 HBufC8* iIntfNameBuf8; |
271 HBufC8* iIntfNameBuf8; |
274 QMap<SmfPluginID,SmfProvider> iPluginIDMap; |
272 QMap<SmfPluginID,SmfProvider> iPluginIDMap; |
275 QList<SmfPluginID> iPluginIDList; |
273 QList<SmfPluginID> iPluginIDList; |
276 QList<SmfPluginID> iAuthList; |
274 QList<SmfPluginID> iAuthList; |
277 |
275 |
278 /** |
276 /** |
279 * To keep track of the requests sent by this session,not required for now, as only one |
277 * To keep track of the requests sent by this session,not required for now, as only one |
280 * outstanding request per session is required |
278 * outstanding request per session is required |
281 */ |
279 */ |
282 RArray<RMessage2> iRequestList; |
280 //RArray<RMessage2> iRequestList; |
283 /** |
281 /** |
284 * Last request opcode |
282 * Last request opcode |
285 */ |
283 */ |
286 TInt iLastRequest; |
284 TInt iLastRequest; |
287 TPtr8 iPtrToBuf; |
|
288 TPtr8 iPtrToDataForClient; |
285 TPtr8 iPtrToDataForClient; |
289 HBufC8* iDataForClient; |
286 HBufC8* iDataForClient; |
290 QByteArray resultData; |
287 QByteArray resultData; |
291 QByteArray xtraData; |
|
292 }; |
288 }; |
293 |
289 |
294 #endif // SMFSERVERSYMBIAN_H |
290 #endif // SMFSERVERSYMBIAN_H |