smf/smfservermodule/smfserver/server/smfserversymbian_p.h
changeset 14 a469c0e6e7fb
parent 10 77a56c951f86
child 18 013a02bf2bb0
equal deleted inserted replaced
13:b5d63d5fc252 14:a469c0e6e7fb
   158      */
   158      */
   159     TInt findAndServiceclient(TInt requestID,QByteArray* parsedData,SmfError error);
   159     TInt findAndServiceclient(TInt requestID,QByteArray* parsedData,SmfError error);
   160 	/**
   160 	/**
   161 	 * Debugging
   161 	 * Debugging
   162 	 */
   162 	 */
   163 	void writeLog(QString log)const;
   163 	//void writeLog(QString log)const;
   164 //private:
   164 //private:
   165     void ConstructL();
   165     void ConstructL();
   166     SmfServer* iWrapper;
   166     SmfServer* iWrapper;
   167     
   167     
   168 	/**
   168 	/**
   204 	void resultsAvailable(QByteArray* parsedData,SmfError error);
   204 	void resultsAvailable(QByteArray* parsedData,SmfError error);
   205 	/**
   205 	/**
   206 	 * Called by the SmfServer when client authorization finishes.
   206 	 * Called by the SmfServer when client authorization finishes.
   207 	 * @param success success of the authorization
   207 	 * @param success success of the authorization
   208 	 */
   208 	 */
   209 	void clientAuthorizationFinished(bool success);
   209 	void clientathorizationFinished(bool success);
   210 protected:
   210 protected:
   211     //TMessageParams ReadMessageAndRetrieveParams (const RMessage2 & aMessage);
   211     //TMessageParams ReadMessageAndRetrieveParams (const RMessage2 & aMessage);
   212     void PanicClient(const RMessage2 & aMessage, TInt aPanic) const;
   212     void PanicClient(const RMessage2 & aMessage, TInt aPanic) const;
   213     /**
   213     /**
   214      * Called by ServiceL()
   214      * Called by ServiceL()
   226     /**
   226     /**
   227      * Handles all the opcodes except ESmfGetService
   227      * Handles all the opcodes except ESmfGetService
   228      */
   228      */
   229     void HandleCommonServiceL(const RMessage2 & aMessage);
   229     void HandleCommonServiceL(const RMessage2 & aMessage);
   230     
   230     
       
   231     /**
       
   232      * Handles all DSM related messages
       
   233      */
       
   234     void HandleDSMServiceL(const RMessage2 & aMessage);
       
   235     
   231     
   236     
   232 //private:
   237 //private:
   233     SmfServerSymbian* iServer;
   238     SmfServerSymbian* iServer;
   234     RMessage2 iMessage;
   239     RMessage2 iMessage;
   235 
   240     TBuf<100> iErrBuf;
   236 	//this interface id will be provided by Smf client, will map Smf Client 
   241 	//this interface id will be provided by Smf client, will map Smf Client 
   237 	// interface hierarchy
   242 	// interface hierarchy
   238 	SmfInterfaceID iInterfaceID;
   243 	SmfInterfaceID iInterfaceID;
   239 	TPtr8 iIntfNmaeSymbian;
   244 	TPtr8 iIntfNmaeSymbian;
   240 	TPtr iIntfNameSymbian16;
   245 	TPtr iIntfNameSymbian16;
   241 	TBuf8<125> iInterfaceNametbuf;
   246 	TBuf8<125> iInterfaceNametbuf;
   242 	TPtr8 iProviderSymbian;
   247 	TPtr8 iProviderSymbian;
       
   248 	TPtr8 iXtraDataPtr;
       
   249 	HBufC8* iDataForDSM;
       
   250 	TPtr8 iPtrDataForDSM;
       
   251 	HBufC8* iDataFromDSM;
       
   252 	TPtr8 iPtrDataFromDSM;
       
   253 	TBuf<100> iDSMErr;
       
   254 	TBuf<100> iMaxSize;
   243 	HBufC8* iProviderBuf;
   255 	HBufC8* iProviderBuf;
       
   256 	HBufC8* iXtraDataBuf;
   244 	HBufC8* iIntfNameBuf;
   257 	HBufC8* iIntfNameBuf;
   245 	QMap<SmfPluginID,SmfProvider> iPluginIDMap;
   258 	QMap<SmfPluginID,SmfProvider> iPluginIDMap;
   246 	QList<SmfPluginID> iPluginIDList;
   259 	QList<SmfPluginID> iPluginIDList;
   247 	QList<SmfPluginID> iAuthList;
   260 	QList<SmfPluginID> iAuthList;
   248 	
   261 	
   258 	//testing
   271 	//testing
   259 	TBuf<525> dataToPass;
   272 	TBuf<525> dataToPass;
   260 	HBufC8* iBuf;
   273 	HBufC8* iBuf;
   261 	HBufC* iBuf16;
   274 	HBufC* iBuf16;
   262 	TPtr8 iPtrToBuf;
   275 	TPtr8 iPtrToBuf;
       
   276 	TPtr8 iPtrToDataForClient;
       
   277 	HBufC8* iDataForClient;
   263 	QByteArray byteArrayToClnt;
   278 	QByteArray byteArrayToClnt;
   264 	SmfProvider* providerToClnt;
   279 	SmfProvider* providerToClnt;
   265 	TInt iError;
   280 	TInt iError;
   266 };
   281 };
   267 #endif // SMFSERVERSYMBIAN_H
   282 #endif // SMFSERVERSYMBIAN_H