windowing/windowserver/nonnga/CLIENT/MWSCLI.CPP
changeset 36 01a6848ebfd7
parent 0 5d03bc08d59c
child 164 25ffed67c7ef
equal deleted inserted replaced
0:5d03bc08d59c 36:01a6848ebfd7
    26 
    26 
    27 MWsClientClass::MWsClientClass(RWsBuffer *aBuffer) : iWsHandle(0), iBuffer(aBuffer)
    27 MWsClientClass::MWsClientClass(RWsBuffer *aBuffer) : iWsHandle(0), iBuffer(aBuffer)
    28 	{
    28 	{
    29 	}
    29 	}
    30 
    30 
    31 void MWsClientClass::Write(const TAny *aData1, TInt aLength1,const TAny *aData2, TInt aLength2,TUint aOpcode) const
    31 void MWsClientClass::Write(const TAny *aData1, TInt aLength1,const TAny *aData2, TInt aLength2,TUint aOpcode,const TIpcArgs* /*aIpcArgs=NULL*/) const
    32 	{
    32 	{
    33 	iBuffer->Write(iWsHandle,aOpcode,aData1,aLength1,aData2,aLength2);
    33 	iBuffer->Write(iWsHandle,aOpcode,aData1,aLength1,aData2,aLength2);
    34 	}
    34 	}
    35 
    35 
    36 void MWsClientClass::Write(const TAny *aData1, TInt aLength1,TUint aOpcode) const
    36 void MWsClientClass::Write(const TAny *aData1, TInt aLength1,TUint aOpcode,const TIpcArgs* /*aIpcArgs=NULL*/) const
    37 	{
    37 	{
    38 	iBuffer->Write(iWsHandle,aOpcode,aData1,aLength1);
    38 	iBuffer->Write(iWsHandle,aOpcode,aData1,aLength1);
    39 	}
    39 	}
    40 
    40 
    41 void MWsClientClass::Write(TUint aOpcode) const
    41 void MWsClientClass::Write(TUint aOpcode) const
    59 	}
    59 	}
    60 
    60 
    61 void MWsClientClass::WriteSize(const TSize &aSize, TUint aOpcode) const
    61 void MWsClientClass::WriteSize(const TSize &aSize, TUint aOpcode) const
    62 	{
    62 	{
    63 	Write(&aSize,sizeof(aSize),aOpcode);
    63 	Write(&aSize,sizeof(aSize),aOpcode);
       
    64 	}
       
    65 
       
    66 void MWsClientClass::AppendData(const TAny */*aData*/,TInt /*aLength*/,TBool /*aFinished*/)
       
    67 	{
    64 	}
    68 	}
    65 
    69 
    66 TInt MWsClientClass::WriteReply(TUint aOpcode,const TIpcArgs* aIpcArgs) const
    70 TInt MWsClientClass::WriteReply(TUint aOpcode,const TIpcArgs* aIpcArgs) const
    67 	{
    71 	{
    68 	return(iBuffer->WriteReply(iWsHandle,aOpcode,aIpcArgs));
    72 	return(iBuffer->WriteReply(iWsHandle,aOpcode,aIpcArgs));