diff -r 6295dc2169f3 -r 8486d82aef45 adaptationlayer/tsy/nokiatsy_dll/inc/cmmpacketmesshandlercontextlist.h --- a/adaptationlayer/tsy/nokiatsy_dll/inc/cmmpacketmesshandlercontextlist.h Wed Apr 21 14:29:55 2010 +0300 +++ b/adaptationlayer/tsy/nokiatsy_dll/inc/cmmpacketmesshandlercontextlist.h Tue Oct 19 13:16:20 2010 +0300 @@ -73,6 +73,10 @@ RIscApi iIscApi; TBool iChannelOpened; + + TBool iLoanReturning; + TUint8 iExtDevId; + TUint8 iExtObjId; }; // FUNCTION PROTOTYPES @@ -283,6 +287,15 @@ const TUint8 aTransactionId ); /** + * Gets transaction used in activation + * @param aContextId: context id + * @return TUint8: activation transaction id + * (KUInt8NotDefined if not found) + */ + TUint8 GetActivationTraId( + TUint8 aContextId ); + + /** * Gets and resets transaction used in activation * @param aContextId: context id * @return TUint8: activation transaction id @@ -617,6 +630,51 @@ TUint8 GetContextTypeById( const TUint8 aContextId ); /** + * Sets boolean to indicate returning of pipe loan. + * @param aPipeHandle: pipe handle + * @param aFlag: ETrue if returning loan, otherwise EFalse + * @return TBool: ETrue if set, EFalse if context not found + */ + TBool SetLoanReturning( + TUint8 aPipeHandle, + TBool aFlag ); + + /** + * Gets boolean indicating about pipe loan returning. + * @param aPipeHandle: pipe handle + * @return TBool: ETrue if set, EFalse if context not found + */ + TBool IsLoanReturning( + TUint8 aPipeHandle ) const; + + /** + * Sets deviceId and objectId of loaning pep. + * @param aChannelId: channel id + * @param aDevId: device id + * @param aObjId: object id + * @return TInt: KErrNone if succesful, + * KErrNotFound if no matching channels in context list. + */ + TInt SetExternalDevice( + TUint8 aChannelId, + TUint8 aDevId, + TUint8 aObjId ); + + /** + * Gets deviceId and objectId of loaning pep. + * @param aChannelId: channel id + * @param aDevId: device id + * @param aObjId: object id + * @return TInt: KErrNone if succesful, + * KErrNotFound if no matching channels in context list. + */ + TInt GetExternalDevice( + TUint8 aChannelId, + TUint8& aDevId, + TUint8& aObjId ); + + + /** * Initialize context info list * @param aContextId: id of the context * @return none