#include <w32std.h>
class RAnimDll : public MWsClientClass |
Public Member Functions | |
---|---|
RAnimDll() | |
RAnimDll(RWsSession &) | |
virtual | ~RAnimDll() |
virtual IMPORT_C void | Close() |
IMPORT_C void | Destroy() |
IMPORT_C TInt | Load(const TDesC &) |
Inherited Attributes | |
---|---|
MWsClientClass::iBuffer | |
MWsClientClass::iWsHandle |
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.
See also: CreateCAnimDllL() CAnimDll
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.
Parameter | Description |
---|---|
aWs | Window server session to use. |
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().
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.
Parameter | Description |
---|---|
aFileName | Filename of the DLL to load. |
Returns: KErrNone if successful, otherwise one of the system-wide error codes.