]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/utilsexc.cpp
use correct colour for the toolbar initially (patch 1150657)
[wxWidgets.git] / src / palmos / utilsexc.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/utilsexec.cpp
3 // Purpose: wxExecute implementation for PalmOS
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #pragma implementation
22 #endif
23
24 // For compilers that support precompilation, includes "wx.h".
25 #include "wx/wxprec.h"
26
27 #ifdef __BORLANDC__
28 #pragma hdrstop
29 #endif
30
31 #ifndef WX_PRECOMP
32 #include "wx/utils.h"
33 #include "wx/app.h"
34 #include "wx/intl.h"
35 #include "wx/log.h"
36 #endif
37
38 #include "wx/stream.h"
39 #include "wx/process.h"
40
41 #include "wx/apptrait.h"
42
43 #include "wx/module.h"
44
45 #include <ctype.h>
46
47 #include <stdio.h>
48 #include <stdlib.h>
49 #include <string.h>
50
51 #if wxUSE_IPC
52 #include "wx/dde.h" // for WX_DDE hack in wxExecute
53 #endif // wxUSE_IPC
54
55 // ----------------------------------------------------------------------------
56 // constants
57 // ----------------------------------------------------------------------------
58
59 // ----------------------------------------------------------------------------
60 // this module globals
61 // ----------------------------------------------------------------------------
62
63 // we need to create a hidden window to receive the process termination
64 // notifications and for this we need a (Win) class name for it which we will
65 // register the first time it's needed
66 static const wxChar *wxMSWEXEC_WNDCLASSNAME = wxT("_wxExecute_Internal_Class");
67 static const wxChar *gs_classForHiddenWindow = NULL;
68
69 // ----------------------------------------------------------------------------
70 // private types
71 // ----------------------------------------------------------------------------
72
73 // ============================================================================
74 // implementation
75 // ============================================================================
76
77 // ============================================================================
78 // wxExecute functions family
79 // ============================================================================
80
81 #if wxUSE_IPC
82
83 // connect to the given server via DDE and ask it to execute the command
84 static bool wxExecuteDDE(const wxString& ddeServer,
85 const wxString& ddeTopic,
86 const wxString& ddeCommand)
87 {
88 return false;
89 }
90
91 #endif // wxUSE_IPC
92
93 long wxExecute(const wxString& cmd, int flags, wxProcess *handler)
94 {
95 return 0;
96 }
97
98 long wxExecute(wxChar **argv, int flags, wxProcess *handler)
99 {
100 return 0;
101 }
102