1 //---------------------------------------------------------------------------
4 #include "ChatClientWnd.h"
5 #include "ReceiverImpl.h"
6 //---------------------------------------------------------------------------
7 TReceiverImplementation::TReceiverImplementation ()
11 //---------------------------------------------------------------------------
12 TReceiverImplementation::~TReceiverImplementation ()
15 //---------------------------------------------------------------------------
16 void TReceiverImplementation::message (const char* msg
)
18 ::PostMessage (ChatClientWindow
->Handle
,
20 (WPARAM
) new String (msg
),
23 //---------------------------------------------------------------------------
24 void TReceiverImplementation::shutdown ()
26 // Instruct the ORB to shutdown.
27 orb_
->shutdown (false);
29 //---------------------------------------------------------------------------
30 void TReceiverImplementation::orb (CORBA::ORB_ptr o
)
32 orb_
= CORBA::ORB::_duplicate (o
);
34 //---------------------------------------------------------------------------