devsound/a3fdevsound/src/mmfdevsoundserver/mmfdevsoundsession.h
branchRCL_3
changeset 65 af86cc8a4692
parent 12 b74061f7f3d2
equal deleted inserted replaced
55:e51ae4fd18e6 65:af86cc8a4692
  1532 	/*
  1532 	/*
  1533 	Used to send a stop call when error in buffer
  1533 	Used to send a stop call when error in buffer
  1534 	*/
  1534 	*/
  1535 	void BufferErrorEvent();
  1535 	void BufferErrorEvent();
  1536 
  1536 
       
  1537 	/*
       
  1538 	 Removes all entries from iQueuedRequests except for
       
  1539 	 disconnect requests.
       
  1540 	 */
       
  1541 	void FlushQueuedRequests();
       
  1542 	
       
  1543 	/*
       
  1544 	 Helper functions, used to guard against accessing the equivalent
       
  1545 	 functions on bad message handles during a disconnection. These
       
  1546 	 methods should be used whenever a Read or Write is made outside the 
       
  1547 	 context of DoServiceRequestL().
       
  1548 	 */
       
  1549 	TInt MessageRead(const RMmfIpcMessage& aMessage, TInt aParam, TDes8& aResult);
       
  1550 	TInt MessageRead(const RMmfIpcMessage& aMessage, TInt aParam, TDes16& aResult);
       
  1551 	TInt MessageWrite(const RMmfIpcMessage& aMessage, TInt aParam, const TDesC8& aValue);
       
  1552 
  1537 protected:
  1553 protected:
  1538 
  1554 
  1539 	/**
  1555 	/**
  1540 		C++ default constructor.
  1556 		C++ default constructor.
  1541 	*/
  1557 	*/
  1612 	TInt iRedoFunction;
  1628 	TInt iRedoFunction;
  1613 	TMMFDevSoundProxySettingsPckg iCachedClientData;
  1629 	TMMFDevSoundProxySettingsPckg iCachedClientData;
  1614 	TInt iSeqNum;
  1630 	TInt iSeqNum;
  1615 	TBool iPreemptionClash;
  1631 	TBool iPreemptionClash;
  1616 	TInt iNotifiedError;
  1632 	TInt iNotifiedError;
       
  1633 	TBool iDisconnecting;
  1617 
  1634 
  1618 	};
  1635 	};
  1619 
  1636 
  1620 #endif // MMFDEVSOUNDSESSION_H
  1637 #endif // MMFDEVSOUNDSESSION_H
  1621 
  1638