]> git.saurik.com Git - wxWidgets.git/blame - include/wx/unix/apptrait.h
added support for POST method and alternate ports (part of patch 649438)
[wxWidgets.git] / include / wx / unix / apptrait.h
CommitLineData
e2478fde
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/unix/apptrait.h
3// Purpose: standard implementations of wxAppTraits for Unix
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 23.06.2003
7// RCS-ID: $Id$
8// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_UNIX_APPTRAIT_H_
13#define _WX_UNIX_APPTRAIT_H_
14
15// ----------------------------------------------------------------------------
16// wxGUI/ConsoleAppTraits: must derive from wxAppTraits, not wxAppTraitsBase
17// ----------------------------------------------------------------------------
18
19class WXDLLEXPORT wxConsoleAppTraits : public wxConsoleAppTraitsBase
20{
21public:
46446cc2 22 virtual bool CreateEndProcessPipe(wxExecuteData& execData);
e2478fde
VZ
23 virtual bool IsWriteFDOfEndProcessPipe(wxExecuteData& execData, int fd);
24 virtual void DetachWriteFDOfEndProcessPipe(wxExecuteData& execData);
25 virtual int WaitForChild(wxExecuteData& execData);
26
27 virtual int GetOSVersion(int *verMaj, int *verMin);
28};
29
30#if wxUSE_GUI
31
32class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase
33{
34public:
35 virtual bool CreateEndProcessPipe(wxExecuteData& execData);
36 virtual bool IsWriteFDOfEndProcessPipe(wxExecuteData& execData, int fd);
37 virtual void DetachWriteFDOfEndProcessPipe(wxExecuteData& execData);
38 virtual int WaitForChild(wxExecuteData& execData);
39
40 virtual int GetOSVersion(int *verMaj, int *verMin);
41};
42
43#endif // wxUSE_GUI
44
45#endif // _WX_UNIX_APPTRAIT_H_
46