#include <w32std.h>
Link against: ws32.lib
class MWsClientClass |
Protected Attributes | |
---|---|
RWsBuffer * | iBuffer |
TInt32 | iWsHandle |
Public Member Functions | |
---|---|
MWsClientClass() | |
MWsClientClass(RWsBuffer *) | |
TInt | WsHandle() |
Base class for all classes whose objects are clients of the window server.
RWsBuffer * | iBuffer | [protected] |
WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.
TInt32 | iWsHandle | [protected] |
WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.
MWsClientClass | ( | ) |
MWsClientClass | ( | RWsBuffer * | aBuffer | ) |
void | AddToBitmapArray | ( | const TInt | aBitmapHandle | ) | const [protected] |
void | AsyncRequest | ( | TRequestStatus & | aStatus, |
TUint | aOpcode | |||
) | const [protected] |
void | DestroyWindowSizeCacheEntry | ( | ) | [protected] |
void | MarkWindowSizeCacheDirty | ( | ) | [protected] |
void | RefreshWindowSizeCache | ( | const TSize & | aNewSize | ) | const [protected] |
TBool | WindowSizeCacheEnabled | ( | ) | const [protected] |
Writes data sent in aData1 of length aLength1 for the specifed aOpcode into wserv buffer. It also takes aLength2 paratmeter, which is the length of second data that will be added using AppendData. This Function checks if current command and aLength2 can fit in the remaining buffer, if not then it does flush of previous command so that the current command can be set along with data of aLength2.
Parameters | |
---|---|
aData1 | Data to be added to the buffer |
aLength1 | Length of the data to be added to buffer |
aLength2 | Length of second data that will(and must) be added using AppendData() |
aOpcode | Opcode for the current command |
void | Write | ( | const TAny * | aData, |
TInt | aLength, | |||
const TAny * | aData2, | |||
TInt | aLength2, | |||
TUint | aOpcode, | |||
const TIpcArgs * | aIpcArgs = 0 | |||
) | const [protected] |
Writes data sent in aData1 and aData2 of lengths aLength1 and aLength2 for the specifed aOpcode into wserv buffer. It also takes an TIpcArgs by which you can send additional data. But one thing needs to be noted that if aIpcArgs has some content then this function flushes the wserv buffer
Note:Only second, third and fourth slot of IPC agrs can be used to send data as first slot is used up for normal wserv buffer
Parameters | |
---|---|
aData | Data to be added to the buffer |
aLength | Length of the data to be added to buffer |
aData2 | second Data to be added to the buffer |
aLength2 | second Length of second data then can be added using AppendData() |
aOpcode | Opcode for the current command |
aIpcArgs | Additional data sent from client to server. It has default argument NULL. And if some data is sent in aIpcArgs, it flushes wserv buffer. |
void | Write | ( | const TAny * | aBuf, |
TInt | aBufLen, | |||
TUint | aOpcode, | |||
const TIpcArgs * | aIpcArgs = 0 | |||
) | const [protected] |
Writes data sent in aData1 of length aLength1 for the specifed aOpcode into wserv buffer. It also takes an TIpcArgs by which you can send additional data. But one thing needs to be noted that if aIpcArgs has some content then this function flushes the wserv buffer
Note:Only second, third and fourth slot of IPC agrs can be used to send data as first slot is used up for normal wserv buffer
Parameters | |
---|---|
aOpcode | Opcode for the current command |
aIpcArgs | Additional data sent from client to server. It has default argument NULL. And if some data is sent in aIpcArgs, it flushes wserv buffer |
void | Write | ( | TUint | aOpcode | ) | const [protected] |
TInt | WriteReply | ( | const TAny * | aBuf, |
TInt | aBufLen, | |||
TUint | aOpcode, | |||
const TIpcArgs * | aIpcArgs = 0 | |||
) | const [protected] |
TInt | WriteReply | ( | const TAny * | aBuf, |
TInt | aBufLen, | |||
const TAny * | aBuf2, | |||
TInt | aBuflen2, | |||
TUint | aOpcode, | |||
const TIpcArgs * | aIpcArgs = 0 | |||
) | const [protected] |
TInt | WriteReplyByProvidingRemoteReadAccess | ( | const TAny * | aBuf, |
TInt | aBufLen, | |||
const TReadDescriptorType & | aRemoteReadBuffer, | |||
TUint | aOpcode | |||
) | const [protected] |
TInt | WriteReplyIntP | ( | TInt | aInt, |
const TWriteDescriptorType & | aReplyPackage, | |||
TUint | aOpcode | |||
) | const [protected] |
TInt | WriteReplyP | ( | const TAny * | aBuf, |
TInt | aBufLen, | |||
const TWriteDescriptorType & | aReplyPackage, | |||
TUint | aOpcode | |||
) | const [protected] |