#include <puttyengineimp.h>
Inheritance diagram for CPuttyEngineImp:
Public Methods | |
virtual void | Init (MPuttyClient *aClient, const TDesC &aDataPath) |
Initializes the engine. | |
virtual void | Close () |
Closes the engine. | |
virtual Config * | GetConfig () |
Gets a pointer to the PuTTY configuration structure. | |
virtual TInt | Connect () |
Opens a new connection. | |
virtual void | GetErrorMessage (TDes &aTarget) |
Gets the most recent error message. | |
virtual void | Disconnect () |
Closes the current connection. | |
virtual void | SetTerminalSize (TInt aWidth, TInt aHeight) |
Sets the terminal window size in characters. | |
virtual void | RePaintWindow () |
Re-paints the whole terminal window. | |
virtual void | SendKeypress (TKeyCode aCode, TUint aModifiers) |
Sends a keypress to the backend. | |
virtual void | AddRandomNoise (const TDesC8 &aNoise) |
Adds noise to the random number pool. | |
virtual void | SocketOpened () |
Called when a socket is opened. | |
virtual void | SocketClosed () |
Called when a socket is closed. |
Takes care of implementing the MPuttyEngine interface on top of the core PuTTY software.
|
Adds noise to the random number pool.
Implements MPuttyEngine. |
|
Opens a new connection.
Implements MPuttyEngine. |
|
Gets a pointer to the PuTTY configuration structure. The configuration can be modified before a connection is opened.
Implements MPuttyEngine. |
|
Gets the most recent error message.
Implements MPuttyEngine. |
|
Initializes the engine. This method must be called before any other engine methods are used.
Implements MPuttyEngine. |
|
Re-paints the whole terminal window. Drawing is done by calling MPuttyClient::DrawText(). Implements MPuttyEngine. |
|
Sends a keypress to the backend.
Implements MPuttyEngine. |
|
Sets the terminal window size in characters. The size must match the terminal control size in the user interface.
Implements MPuttyEngine. |