};
class wxSocketInternal;
+
+#if wxUSE_THREADS
class SocketWaiter: public wxThread {
public:
SocketWaiter(wxSocketBase *socket, wxSocketInternal *internal);
wxSocketInternal *m_internal;
int m_fd;
};
+#endif
+ // wxUSE_THREADS
class wxSocketInternal {
public:
SockRequest *WaitForReq();
void EndRequest(SockRequest *req);
public:
+ wxSocketBase *m_socket;
+#if wxUSE_THREADS
wxMutex m_socket_locker, m_fd_locker, m_request_locker, m_end_requester;
wxCondition m_socket_cond;
- wxSocketBase *m_socket;
SocketWaiter *m_thread_waiter;
SocketRequester *m_thread_requester;
+#endif
wxList m_requests;
int m_fd;
bool m_invalid_requester;
--- /dev/null
+#
+# File: makefile.unx
+# Author: Julian Smart
+# Created: 1999
+# Updated:
+# Copyright: (c) 1999
+#
+#
+# Makefile for OGL library, Unix
+
+include ../make.env
+
+JPEGLIB=$(WXDIR)/lib/libjpeg$(GUISUFFIX).a
+
+all: $(JPEGLIB)
+
+# Define library objects
+OBJECTS=\
+ jcomapi.o jutils.o jerror.o jmemmgr.o jmemnobs.o \
+ jcapimin.o jcapistd.o jctrans.o jcparam.o jdatadst.o \
+ jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o \
+ jccoefct.o jccolor.o jcsample.o jchuff.o jcphuff.o \
+ jcdctmgr.o jfdctfst.o jfdctflt.o jfdctint.o \
+ jdapimin.o jdapistd.o jdtrans.o jdatasrc.o \
+ jdmaster.o jdinput.o jdmarker.o jdhuff.o jdphuff.o \
+ jdmainct.o jdcoefct.o jdpostct.o jddctmgr.o jidctfst.o \
+ jidctflt.o jidctint.o jidctred.o jdsample.o jdcolor.o \
+ jquant1.o jquant2.o jdmerge.o
+
+$(JPEGLIB) : $(OBJECTS)
+ ar $(AROPTIONS) $@ $(OBJECTS)
+ $(RANLIB) $@
+
+clean:
+ rm -f $(OBJECTS) $(JPEGLIB)
+
{
if ( m_windowValidator )
delete m_windowValidator;
- m_windowValidator = validator.Clone();
+ m_windowValidator = (wxValidator*) validator.Clone();
if ( m_windowValidator )
m_windowValidator->SetWindow(this) ;