| 1 |
#ifndef CLCONSOLEGNOMETERMINAL_H |
| 2 |
#define CLCONSOLEGNOMETERMINAL_H |
| 3 |
|
| 4 |
#include "clConsoleBash.h" |
| 5 |
|
| 6 |
class WXDLLIMPEXP_CL clConsoleGnomeTerminal : public clConsoleBash |
| 7 |
{ |
| 8 |
wxString m_terminalCommand; |
| 9 |
wxString m_emptyTerminalCommand; |
| 10 |
|
| 11 |
protected: |
| 12 |
void SetTerminalCommand(const wxString& terminalCommand) { this->m_terminalCommand = terminalCommand; } |
| 13 |
const wxString& GetTerminalCommand() const { return m_terminalCommand; } |
| 14 |
|
| 15 |
void SetEmptyTerminalCommand(const wxString& emptyTerminalCommand) |
| 16 |
{ |
| 17 |
this->m_emptyTerminalCommand = emptyTerminalCommand; |
| 18 |
} |
| 19 |
const wxString& GetEmptyTerminalCommand() const { return m_emptyTerminalCommand; } |
| 20 |
bool FindProcessByCommand(const wxString& name, wxString& tty, long& pid); |
| 21 |
|
| 22 |
public: |
| 23 |
clConsoleGnomeTerminal(); |
| 24 |
virtual ~clConsoleGnomeTerminal(); |
| 25 |
|
| 26 |
public: |
| 27 |
virtual bool Start(); |
| 28 |
virtual bool StartForDebugger(); |
| 29 |
virtual wxString PrepareCommand(); |
| 30 |
}; |
| 31 |
|
| 32 |
#endif // CLCONSOLEGNOMETERMINAL_H |