|
@@ -201,6 +201,7 @@ class TTunnelUI : public TSessionUI
|
|
{
|
|
{
|
|
public:
|
|
public:
|
|
__fastcall TTunnelUI(TTerminal * Terminal);
|
|
__fastcall TTunnelUI(TTerminal * Terminal);
|
|
|
|
+ virtual __fastcall ~TTunnelUI();
|
|
virtual void __fastcall Information(const UnicodeString & Str);
|
|
virtual void __fastcall Information(const UnicodeString & Str);
|
|
virtual unsigned int __fastcall QueryUser(const UnicodeString Query,
|
|
virtual unsigned int __fastcall QueryUser(const UnicodeString Query,
|
|
TStrings * MoreMessages, unsigned int Answers, const TQueryParams * Params,
|
|
TStrings * MoreMessages, unsigned int Answers, const TQueryParams * Params,
|
|
@@ -228,6 +229,10 @@ __fastcall TTunnelUI::TTunnelUI(TTerminal * Terminal)
|
|
FTerminalThread = GetCurrentThreadId();
|
|
FTerminalThread = GetCurrentThreadId();
|
|
}
|
|
}
|
|
//---------------------------------------------------------------------------
|
|
//---------------------------------------------------------------------------
|
|
|
|
+__fastcall TTunnelUI::~TTunnelUI()
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+//---------------------------------------------------------------------------
|
|
void __fastcall TTunnelUI::Information(const UnicodeString & Str)
|
|
void __fastcall TTunnelUI::Information(const UnicodeString & Str)
|
|
{
|
|
{
|
|
if (GetCurrentThreadId() == FTerminalThread)
|
|
if (GetCurrentThreadId() == FTerminalThread)
|