]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/apptbase.h
fixed incorrect use of wxVector<> in wxXRC
[wxWidgets.git] / include / wx / unix / apptbase.h
index 5615eb5353030d69f20993e51058c21c92a607c9..50f30040f8e3cd594cdac5e1a6ef6ce261751384 100644 (file)
@@ -6,20 +6,20 @@
 // Created:     23.06.2003
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_UNIX_APPTBASE_H_
 #define _WX_UNIX_APPTBASE_H_
 
-class wxExecuteData;
+struct wxExecuteData;
 class wxPipe;
 
 // ----------------------------------------------------------------------------
 // wxAppTraits: the Unix version adds extra hooks needed by Unix code
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxAppTraits : public wxAppTraitsBase
+class WXDLLIMPEXP_BASE wxAppTraits : public wxAppTraitsBase
 {
 public:
     // wxExecute() support methods
@@ -48,6 +48,13 @@ public:
     // ----------------
 
     // TODO
+
+#if wxUSE_SOCKETS
+    // returns the select()-based socket manager for console applications which
+    // is also used by some ports (wxX11, wxDFB) in the GUI build (hence it is
+    // here and not in wxConsoleAppTraits)
+    virtual GSocketManager *GetSocketManager();
+#endif
 };
 
 #endif // _WX_UNIX_APPTBASE_H_