no changes, just removed the unnecessary inline keywords
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -110,14 +110,14 @@ public:
|
|||||||
bool Destroy();
|
bool Destroy();
|
||||||
|
|
||||||
// state
|
// state
|
||||||
inline bool Ok() const { return IsOk(); }
|
bool Ok() const { return IsOk(); }
|
||||||
inline bool IsOk() const { return (m_socket != NULL); }
|
bool IsOk() const { return (m_socket != NULL); }
|
||||||
inline bool Error() const { return m_error; }
|
bool Error() const { return m_error; }
|
||||||
inline bool IsConnected() const { return m_connected; }
|
bool IsConnected() const { return m_connected; }
|
||||||
inline bool IsData() { return WaitForRead(0, 0); }
|
bool IsData() { return WaitForRead(0, 0); }
|
||||||
inline bool IsDisconnected() const { return !IsConnected(); }
|
bool IsDisconnected() const { return !IsConnected(); }
|
||||||
inline wxUint32 LastCount() const { return m_lcount; }
|
wxUint32 LastCount() const { return m_lcount; }
|
||||||
inline wxSocketError LastError() const { return (wxSocketError)m_socket->GetError(); }
|
wxSocketError LastError() const { return (wxSocketError)m_socket->GetError(); }
|
||||||
void SaveState();
|
void SaveState();
|
||||||
void RestoreState();
|
void RestoreState();
|
||||||
|
|
||||||
@@ -142,13 +142,13 @@ public:
|
|||||||
bool WaitForWrite(long seconds = -1, long milliseconds = 0);
|
bool WaitForWrite(long seconds = -1, long milliseconds = 0);
|
||||||
bool WaitForLost(long seconds = -1, long milliseconds = 0);
|
bool WaitForLost(long seconds = -1, long milliseconds = 0);
|
||||||
|
|
||||||
inline wxSocketFlags GetFlags() const { return m_flags; }
|
wxSocketFlags GetFlags() const { return m_flags; }
|
||||||
void SetFlags(wxSocketFlags flags);
|
void SetFlags(wxSocketFlags flags);
|
||||||
void SetTimeout(long seconds);
|
void SetTimeout(long seconds);
|
||||||
|
|
||||||
bool GetOption(int level, int optname, void *optval, int *optlen);
|
bool GetOption(int level, int optname, void *optval, int *optlen);
|
||||||
bool SetOption(int level, int optname, const void *optval, int optlen);
|
bool SetOption(int level, int optname, const void *optval, int optlen);
|
||||||
inline wxUint32 GetLastIOSize() const { return m_lcount; }
|
wxUint32 GetLastIOSize() const { return m_lcount; }
|
||||||
|
|
||||||
// event handling
|
// event handling
|
||||||
void *GetClientData() const { return m_clientData; }
|
void *GetClientData() const { return m_clientData; }
|
||||||
@@ -170,8 +170,8 @@ public:
|
|||||||
void OnRequest(wxSocketNotify notify);
|
void OnRequest(wxSocketNotify notify);
|
||||||
|
|
||||||
// do not use, not documented nor supported
|
// do not use, not documented nor supported
|
||||||
inline bool IsNoWait() const { return ((m_flags & wxSOCKET_NOWAIT) != 0); }
|
bool IsNoWait() const { return ((m_flags & wxSOCKET_NOWAIT) != 0); }
|
||||||
inline wxSocketType GetType() const { return m_type; }
|
wxSocketType GetType() const { return m_type; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class wxSocketClient;
|
friend class wxSocketClient;
|
||||||
|
Reference in New Issue
Block a user