#include <IArchConsole.h>
Inherits IInterface.
Inherited by CArch, CArchConsoleUnix, and CArchConsoleWindows.
Inheritance diagram for IArchConsole:
Public Member Functions | |
manipulators | |
virtual void | openConsole (const char *title)=0 |
Open the console. | |
virtual void | closeConsole ()=0 |
Close the console. | |
virtual void | showConsole (bool showIfEmpty)=0 |
Show the console. | |
virtual void | writeConsole (const char *)=0 |
Write to the console. | |
virtual const char * | getNewlineForConsole ()=0 |
Returns the newline sequence for the console. |
This interface defines the console operations required by synergy. Each architecture must implement this interface.
Definition at line 25 of file IArchConsole.h.
|
Close the console. Close the console. Calling this method on an already closed console must have no effect. Implemented in CArch, CArchConsoleUnix, and CArchConsoleWindows. Referenced by CArch::closeConsole(). |
|
Returns the newline sequence for the console. Different consoles use different character sequences for newlines. This method returns the appropriate newline sequence for the console. Implemented in CArch, CArchConsoleUnix, and CArchConsoleWindows. Referenced by CArch::getNewlineForConsole(). |
|
Open the console.
Opens the console for writing. The console is opened automatically on the first write so calling this method is optional. Uses Implemented in CArch, CArchConsoleUnix, and CArchConsoleWindows. Referenced by CArch::openConsole(). |
|
Show the console.
Causes the console to become visible. This generally only makes sense for a console in a graphical user interface. Other implementations will do nothing. Iff Implemented in CArch, CArchConsoleUnix, and CArchConsoleWindows. Referenced by CArch::showConsole(). |
|
Write to the console. Writes the given string to the console, opening it if necessary. Implemented in CArch, CArchConsoleUnix, and CArchConsoleWindows. Referenced by CArch::writeConsole(). |