#include <puttyengine.h>
Inheritance diagram for MPuttyEngine:
Public Methods | |
virtual void | Init (MPuttyClient *aClient, const TDesC &aDataPath)=0 |
Initializes the engine. | |
virtual void | Close ()=0 |
Closes the engine. | |
virtual Config * | GetConfig ()=0 |
Gets a pointer to the PuTTY configuration structure. | |
virtual TInt | Connect ()=0 |
Opens a new connection. | |
virtual void | GetErrorMessage (TDes &aTarget)=0 |
Gets the most recent error message. | |
virtual void | Disconnect ()=0 |
Closes the current connection. | |
virtual void | SetTerminalSize (TInt aWidth, TInt aHeight)=0 |
Sets the terminal window size in characters. | |
virtual void | RePaintWindow ()=0 |
Re-paints the whole terminal window. | |
virtual void | SendKeypress (TKeyCode aCode, TUint aModifiers)=0 |
Sends a keypress to the backend. | |
virtual void | AddRandomNoise (const TDesC8 &aNoise)=0 |
Adds noise to the random number pool. |
The engine interface is implemented in the engine EXE, and used by the user-interface application. The application gets a pointer to the engine interface in its command-line arguments.
|
Adds noise to the random number pool.
Implemented in CPuttyEngineImp. |
|
Opens a new connection.
Implemented in CPuttyEngineImp. |
|
Gets a pointer to the PuTTY configuration structure. The configuration can be modified before a connection is opened.
Implemented in CPuttyEngineImp. |
|
Gets the most recent error message.
Implemented in CPuttyEngineImp. |
|
Initializes the engine. This method must be called before any other engine methods are used.
Implemented in CPuttyEngineImp. |
|
Re-paints the whole terminal window. Drawing is done by calling MPuttyClient::DrawText(). Implemented in CPuttyEngineImp. |
|
Sends a keypress to the backend.
Implemented in CPuttyEngineImp. |
|
Sets the terminal window size in characters. The size must match the terminal control size in the user interface.
Implemented in CPuttyEngineImp. |