Add virtual methods to GSocketBSD for calling the event loop handler

instead of the GUI event functions table.  Also added a compatibility class
to gsocket.cpp until we can update all of the GUIs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2004-01-18 19:34:16 +00:00
parent 2a9d84d006
commit 444cb1fdcb
2 changed files with 97 additions and 57 deletions

View File

@@ -34,7 +34,7 @@ class GSocketBSD
{
public:
GSocketBSD();
~GSocketBSD();
virtual ~GSocketBSD();
bool IsOk() { return m_ok; }
void Close();
void Shutdown();
@@ -70,6 +70,10 @@ protected:
void Detected_Read();
void Detected_Write();
bool m_ok;
virtual void EventLoop_Enable_Events() = 0;
virtual void EventLoop_Disable_Events() = 0;
virtual void EventLoop_Install_Callback(GSocketEvent event) = 0;
virtual void EventLoop_Uninstall_Callback(GSocketEvent event) = 0;
public:
//DFE: We can't protect these data member until the GUI code is updated
//protected: