git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@708
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual ~wxSocketOutputStream();
wxOutputStream& Write(const void *buffer, size_t size);
virtual ~wxSocketOutputStream();
wxOutputStream& Write(const void *buffer, size_t size);
- off_t SeekO(off_t pos, wxSeekMode mode) { return -1; }
- off_t TellO() { return -1; }
+ off_t SeekO( off_t WXUNUSED(pos), wxSeekMode WXUNUSED(mode) )
+ { return -1; }
+ off_t TellO()
+ { return -1; }
bool Bad() { return m_o_socket->IsDisconnected(); }
size_t LastWrite() { return m_o_socket->LastCount(); }
bool Bad() { return m_o_socket->IsDisconnected(); }
size_t LastWrite() { return m_o_socket->LastCount(); }
~wxSocketInputStream();
wxInputStream& Read(void *buffer, size_t size);
~wxSocketInputStream();
wxInputStream& Read(void *buffer, size_t size);
- off_t SeekI(off_t pos, wxSeekMode mode) { return -1; }
- off_t TellI() { return -1; }
+ off_t SeekI( off_t WXUNUSED(pos), wxSeekMode WXUNUSED(mode) )
+ { return -1; }
+ off_t TellI()
+ { return -1; }
bool Eof() { return m_i_socket->IsDisconnected(); }
size_t LastRead() { return m_i_socket->LastCount(); }
bool Eof() { return m_i_socket->IsDisconnected(); }
size_t LastRead() { return m_i_socket->LastCount(); }
wxInputStream(wxStreamBuffer *buffer);
wxInputStream(wxStreamBuffer *buffer);
- virtual size_t DoRead(void *buffer, size_t size) { return 0; }
- virtual off_t DoSeekInput(off_t pos, wxSeekMode mode)
+ virtual size_t DoRead(void *WXUNUSED(buffer), size_t WXUNUSED(size) )
+ { return 0; }
+ virtual off_t DoSeekInput( off_t WXUNUSED(pos), wxSeekMode WXUNUSED(mode) )
{ return wxInvalidOffset; }
virtual off_t DoTellInput() const
{ return wxInvalidOffset; }
{ return wxInvalidOffset; }
virtual off_t DoTellInput() const
{ return wxInvalidOffset; }
wxOutputStream(wxStreamBuffer *buffer);
wxOutputStream(wxStreamBuffer *buffer);
- virtual size_t DoWrite(const void *buffer, size_t size) { return 0; }
- virtual off_t DoSeekOutput(off_t pos, wxSeekMode mode)
+ virtual size_t DoWrite( const void *WXUNUSED(buffer), size_t WXUNUSED(size) )
+ { return 0; }
+ virtual off_t DoSeekOutput( off_t WXUNUSED(pos), wxSeekMode WXUNUSED(mode) )
{ return wxInvalidOffset; }
virtual off_t DoTellOutput() const
{ return wxInvalidOffset; }
{ return wxInvalidOffset; }
virtual off_t DoTellOutput() const
{ return wxInvalidOffset; }
-wxTCPServer::~wxTCPServer (void)
+wxTCPServer::~wxTCPServer(void)
-wxConnectionBase *wxTCPServer::OnAcceptConnection(const wxString& topic)
+wxConnectionBase *wxTCPServer::OnAcceptConnection( const wxString& WXUNUSED(topic) )
{
return new wxTCPConnection();
}
{
return new wxTCPConnection();
}
void wxSocketBase::WantSpeedBuffer(char *buffer, size_t nbytes,
wxRequestEvent evt)
{
void wxSocketBase::WantSpeedBuffer(char *buffer, size_t nbytes,
wxRequestEvent evt)
{
switch (evt) {
case EVT_PEEK:
switch (evt) {
case EVT_PEEK:
// --------------------------------------------------------------
// --------- wxSocketClient Connect functions -------------------
// --------------------------------------------------------------
// --------------------------------------------------------------
// --------- wxSocketClient Connect functions -------------------
// --------------------------------------------------------------
-bool wxSocketClient::Connect(wxSockAddress& addr_man, bool wait)
+bool wxSocketClient::Connect(wxSockAddress& addr_man, bool WXUNUSED(wait) )