Location:
W32STD.H
Link against: ws32.lib
class RSoundPlugIn : public MWsClientClass;
Client interface to the key or pointer click plug-in DLL.
The plug-in DLL implements the CClickMaker
class.
MWsClientClass
- Base class for all classes whose objects are clients of the window server
RSoundPlugIn
- Client interface to the key or pointer click plug-in DLL
Defined in RSoundPlugIn
:
Close()
, CommandReply()
, Construct()
, Destroy()
, ESoundWrongPlugIn
, IsLoaded()
, KeyClickEnabled()
, Load()
, PenClickEnabled()
, RSoundPlugIn()
, RSoundPlugIn()
, Unload()
, anonymous
Inherited from MWsClientClass
:
WsHandle()
IMPORT_C RSoundPlugIn(RWsSession &aWs);
C++ constructor.
After calling this function, Construct()
must be called to complete construction.
|
IMPORT_C TInt Construct(TUid aUid=TUid::Null());
Second phase constructor.
Creates the server side resource and initialises the client's handle to it.
This function always causes a flush of the window server buffer.
|
|
IMPORT_C void Close();
Sets the handle to zero and frees the resource owned by the server.
IMPORT_C TBool IsLoaded(TBool &aIsChangeable);
Tests whether a key or pointer click plug-in DLL is currently loaded.
If one is currently loaded, aIsChangeAble returns whether or not it can be unloaded.
This function always causes a flush of the window server buffer.
|
|
Capability: | WriteDeviceData |
IMPORT_C TInt Unload();
Unloads the plug-in if one is currently loaded and if it can be unloaded.
This function always causes a flush of the window server buffer.
|
Capability: | WriteDeviceData |
IMPORT_C TInt Load(const TDesC &aFileName);
Loads a new plug-in, replacing the existing one, if any.
This function always causes a flush of the window server buffer.
|
|
IMPORT_C TBool KeyClickEnabled();
Tests whether key clicks are enabled, as set by SetKeyClick()
.
This function always causes a flush of the window server buffer.
|
IMPORT_C TBool PenClickEnabled();
Tests whether pointer clicks are enabled, as set by SetPenClick()
.
This function always causes a flush of the window server buffer.
|
IMPORT_C TInt CommandReply(TInt aOpcode, const TPtrC8 &aArgs);
Sends a command to the plug-in DLL and may receive a response.
If the correct plug-in is loaded, its implementation of CommandReplyL() is called and its return code is returned by this function.
Specify an opcode of zero if you just want the identity of the plug-in DLL being used.
This function always causes a flush of the window server buffer.
|
|
n/a
A possible return value for CommandReply()
.
|