adaptationlayer/tsy/nokiatsy_dll/inc/cmmpacketmesshandlercontextlist.h
changeset 9 8486d82aef45
parent 8 6295dc2169f3
equal deleted inserted replaced
8:6295dc2169f3 9:8486d82aef45
    71             TBool iAddDNSAddress;
    71             TBool iAddDNSAddress;
    72             TBool iAddPCSCFAddress;
    72             TBool iAddPCSCFAddress;
    73 
    73 
    74             RIscApi iIscApi;
    74             RIscApi iIscApi;
    75             TBool iChannelOpened;
    75             TBool iChannelOpened;
       
    76 
       
    77             TBool iLoanReturning;
       
    78             TUint8 iExtDevId;
       
    79             TUint8 iExtObjId;
    76         };
    80         };
    77 
    81 
    78 // FUNCTION PROTOTYPES
    82 // FUNCTION PROTOTYPES
    79     // None
    83     // None
    80 
    84 
   281         TInt SetActivationTraId(
   285         TInt SetActivationTraId(
   282             const TUint8 aContextId,
   286             const TUint8 aContextId,
   283             const TUint8 aTransactionId );
   287             const TUint8 aTransactionId );
   284 
   288 
   285         /**
   289         /**
       
   290         * Gets transaction used in activation
       
   291         * @param aContextId: context id
       
   292         * @return TUint8: activation transaction id
       
   293         *     (KUInt8NotDefined if not found)
       
   294         */
       
   295         TUint8 GetActivationTraId(
       
   296             TUint8 aContextId );
       
   297 
       
   298         /**
   286         * Gets and resets transaction used in activation
   299         * Gets and resets transaction used in activation
   287         * @param aContextId: context id
   300         * @param aContextId: context id
   288         * @return TUint8: activation transaction id
   301         * @return TUint8: activation transaction id
   289         *     (KUInt8NotDefined if not found)
   302         *     (KUInt8NotDefined if not found)
   290         */
   303         */
   615         * @return TUint8: context type
   628         * @return TUint8: context type
   616         */
   629         */
   617         TUint8 GetContextTypeById( const TUint8 aContextId );
   630         TUint8 GetContextTypeById( const TUint8 aContextId );
   618 
   631 
   619         /**
   632         /**
       
   633         * Sets boolean to indicate returning of pipe loan.
       
   634         * @param aPipeHandle: pipe handle
       
   635         * @param aFlag: ETrue if returning loan, otherwise EFalse
       
   636         * @return TBool: ETrue if set, EFalse if context not found
       
   637         */
       
   638         TBool SetLoanReturning(
       
   639             TUint8 aPipeHandle,
       
   640             TBool aFlag );
       
   641 
       
   642         /**
       
   643         * Gets boolean indicating about pipe loan returning.
       
   644         * @param aPipeHandle: pipe handle
       
   645         * @return TBool: ETrue if set, EFalse if context not found
       
   646         */
       
   647         TBool IsLoanReturning(
       
   648             TUint8 aPipeHandle ) const;
       
   649 
       
   650         /**
       
   651         * Sets deviceId and objectId of loaning pep.
       
   652         * @param aChannelId: channel id
       
   653         * @param aDevId: device id
       
   654         * @param aObjId: object id
       
   655         * @return TInt: KErrNone if succesful,
       
   656         * KErrNotFound if no matching channels in context list.
       
   657         */
       
   658         TInt SetExternalDevice( 
       
   659             TUint8 aChannelId, 
       
   660             TUint8 aDevId, 
       
   661             TUint8 aObjId );
       
   662 
       
   663         /**
       
   664         * Gets deviceId and objectId of loaning pep.
       
   665         * @param aChannelId: channel id
       
   666         * @param aDevId: device id
       
   667         * @param aObjId: object id
       
   668         * @return TInt: KErrNone if succesful,
       
   669         * KErrNotFound if no matching channels in context list.
       
   670         */
       
   671         TInt GetExternalDevice( 
       
   672             TUint8 aChannelId, 
       
   673             TUint8& aDevId, 
       
   674             TUint8& aObjId );
       
   675 
       
   676 
       
   677         /**
   620         * Initialize context info list
   678         * Initialize context info list
   621         * @param aContextId: id of the context
   679         * @param aContextId: id of the context
   622         * @return none
   680         * @return none
   623         */
   681         */
   624         void InitializeContextInfoList( const TUint8 aContextId );
   682         void InitializeContextInfoList( const TUint8 aContextId );