~ubuntu-dev/wxwidgets2.6/upstream-debian

« back to all changes in this revision

Viewing changes to include/wx/unix/apptrait.h

  • Committer: Daniel T Chen
  • Date: 2006-06-26 10:15:11 UTC
  • Revision ID: crimsun@ubuntu.com-20060626101511-a4436cec4c6d9b35
ImportĀ DebianĀ 2.6.3.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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: apptrait.h,v 1.7 2004/11/12 21:20:46 DE Exp $
 
8
// Copyright:   (c) 2003 Vadim Zeitlin <vadim@wxwidgets.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
 
 
19
class WXDLLEXPORT wxConsoleAppTraits : public wxConsoleAppTraitsBase
 
20
{
 
21
public:
 
22
    virtual bool CreateEndProcessPipe(wxExecuteData& execData);
 
23
    virtual bool IsWriteFDOfEndProcessPipe(wxExecuteData& execData, int fd);
 
24
    virtual void DetachWriteFDOfEndProcessPipe(wxExecuteData& execData);
 
25
    virtual int WaitForChild(wxExecuteData& execData);
 
26
 
 
27
    virtual wxToolkitInfo& GetToolkitInfo();
 
28
};
 
29
 
 
30
#if wxUSE_GUI
 
31
 
 
32
class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase
 
33
{
 
34
public:
 
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
#if defined(__WXMAC__) || defined(__WXCOCOA__)
 
41
    virtual wxStandardPathsBase& GetStandardPaths();
 
42
#endif
 
43
    virtual wxToolkitInfo& GetToolkitInfo();
 
44
};
 
45
 
 
46
#endif // wxUSE_GUI
 
47
 
 
48
#endif // _WX_UNIX_APPTRAIT_H_
 
49