]> git.saurik.com Git - wxWidgets.git/blame - src/mac/utilsexc.cpp
Added helper functions for string -> XmString conversion.
[wxWidgets.git] / src / mac / utilsexc.cpp
CommitLineData
e9576ca5
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: utilsexec.cpp
3// Purpose: Execution-related utilities
a31a5f85 4// Author: Stefan Csomor
e9576ca5 5// Modified by:
a31a5f85 6// Created: 1998-01-01
e9576ca5 7// RCS-ID: $Id$
a31a5f85 8// Copyright: (c) Stefan Csomor
e40298d5 9// Licence: wxWindows licence
e9576ca5
SC
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation
14#endif
15
16#include "wx/utils.h"
f5c6eb5c 17#ifdef __DARWIN__
5fde6fcc
GD
18#include "wx/unix/execute.h"
19#endif
e9576ca5
SC
20
21#include <stdio.h>
22#include <stdlib.h>
23#include <string.h>
24
f5c6eb5c 25#ifndef __DARWIN__
e9576ca5
SC
26#define wxEXECUTE_WIN_MESSAGE 10000
27
171d29f9 28long wxExecute(const wxString& command, int flags, wxProcess *handler)
e9576ca5
SC
29{
30 // TODO
31d560bf 31 wxFAIL_MSG( _T("wxExecute() not yet implemented") );
e9576ca5
SC
32 return 0;
33}
5fde6fcc
GD
34#endif
35
f5c6eb5c 36#ifdef __DARWIN__
5fde6fcc
GD
37int wxAddProcessCallback(wxEndProcessData *proc_data, int fd)
38{
31d560bf 39 wxFAIL_MSG( _T("wxAddProcessCallback() not yet implemented") );
5fde6fcc
GD
40 return 0;
41}
f5c6eb5c 42#endif