X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e1400ac6a9e5388abe63b3f00ff5c8091fef304..d8f2f99ff72b7aa656765799936f0a1038cf3a8b:/include/wx/gsocket.h diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h index aa85493415..ffd70673d6 100644 --- a/include/wx/gsocket.h +++ b/include/wx/gsocket.h @@ -1,10 +1,12 @@ /* ------------------------------------------------------------------------- - * Project: GSocket (Generic Socket) - * Name: gsocket.h - * Author: Guilhem Lavaux - * Guillermo Rodriguez Garcia (maintainer) - * Purpose: GSocket include file (system independent) - * CVSID: $Id$ + * Project: GSocket (Generic Socket) + * Name: gsocket.h + * Author: Guilhem Lavaux + * Guillermo Rodriguez Garcia (maintainer) + * Copyright: (c) Guilhem Lavaux + * Licence: wxWindows Licence + * Purpose: GSocket include file (system independent) + * CVSID: $Id$ * ------------------------------------------------------------------------- */ @@ -12,8 +14,7 @@ #define __GSOCKET_H #ifndef __GSOCKET_STANDALONE__ -#include "wx/setup.h" -#include "wx/platform.h" +#include "wx/defs.h" #include "wx/dlimpexp.h" /* for WXDLLIMPEXP_NET */ @@ -67,7 +68,7 @@ typedef enum { GSOCK_WOULDBLOCK, GSOCK_TIMEDOUT, GSOCK_MEMERR, - GSOCK_OPTERR, + GSOCK_OPTERR } GSocketError; /* See below for an explanation on how events work. @@ -100,6 +101,8 @@ typedef void (*GSocketCallback)(GSocket *socket, GSocketEvent event, class GSocketGUIFunctionsTable { public: + // needed since this class declares virtual members + virtual ~GSocketGUIFunctionsTable() { } virtual bool OnInit() = 0; virtual void OnExit() = 0; virtual bool CanUseEventLoop() = 0;