class RAnimDll : public MWsClientClass |
Client-side interface to the server-side animation DLL.
This is the client side class matching the server side CAnimDLL class. It provides functions to create, load, close and destroy a server-side CAnimDll object.
CreateCAnimDllL() CAnimDll
Public Member Functions | |
---|---|
RAnimDll() | |
RAnimDll(RWsSession &) | |
~RAnimDll() | |
IMPORT_C void | Close() |
IMPORT_C void | Destroy() |
IMPORT_C TInt | Load(const TDesC &) |
Private Member Functions | |
---|---|
void | AsyncCommandReply(TRequestStatus &, TInt, TIpcArgs &) |
void | Command(TInt, TInt, const TPtrC8 &) |
void | Command(TInt, TInt) |
TInt | CommandReply(TInt, TInt, const TIpcArgs *) |
TInt | CommandReply(TInt, TInt, const TDesC8 &, const TIpcArgs *) |
TInt | CreateInstance(TInt32 &, const MWsClientClass &, TInt, const TDesC8 &, TInt, const TIpcArgs *) |
void | DestroyInstance(TInt) |
Inherited Attributes | |
---|---|
MWsClientClass::iBuffer | |
MWsClientClass::iWsHandle |
IMPORT_C | RAnimDll | ( | RWsSession & | aWs | ) |
Valid constructor.
To be useable, an animation DLL should always be constructed with a reference to a window server session as argument.
RWsSession & aWs | Window server session to use. |
void | AsyncCommandReply | ( | TRequestStatus & | aStatus, |
TInt | aOpcode, | |||
TIpcArgs & | aIpcArgs | |||
) | [private] |
TRequestStatus & aStatus | |
TInt aOpcode | |
TIpcArgs & aIpcArgs |
IMPORT_C void | Close | ( | ) | [virtual] |
Closes an animation DLL.
Use this function to close a polymorphic DLL which was previously loaded on the server. Cleans up and frees all resources belonging to the DLL but does not delete it. Closing is in accordance with the RLibrary mechanism.
Load() and Close() are symmetrical operations. A DLL can be re-loaded after a close has been called on it.
To both close and delete a previously loaded DLL, use Destroy().
void | Command | ( | TInt | aHandle, |
TInt | aOpcode, | |||
const TPtrC8 & | aArgs | |||
) | [private] |
TInt | CommandReply | ( | TInt | aHandle, |
TInt | aOpcode, | |||
const TIpcArgs * | aIpcArgs = NULL | |||
) | [private] |
TInt | CommandReply | ( | TInt | aHandle, |
TInt | aOpcode, | |||
const TDesC8 & | aArgs, | |||
const TIpcArgs * | aIpcArgs = NULL | |||
) | [private] |
TInt | CreateInstance | ( | TInt32 & | aHandle, |
const MWsClientClass & | aDevice, | |||
TInt | aType, | |||
const TDesC8 & | aArgs, | |||
TInt | aOpcode, | |||
const TIpcArgs * | aIpcArgs | |||
) | [private] |
IMPORT_C TInt | Load | ( | const TDesC & | aFileName | ) |
Instructs the server to load an animation DLL.
Use this function to pass the name of a polymorphic DLL, the animation DLL, for loading on the server side. Loading is in accordance with the RLibrary mechanism. The DLL must conform to the interface defined by the window server, otherwise an error will result. For requirements, see the description of CAnimDll.
Load() and Close() are symmetrical operations. A DLL can be re-loaded after a close has been called on it.
This function always causes a flush of the window server buffer.
const TDesC & aFileName | Filename of the DLL to load. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.