corrected wxKill signature, added Env methods (returning false)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-01-20 16:34:36 +00:00
parent 218f97d382
commit 5dbb17e27f
2 changed files with 38 additions and 2 deletions

View File

@@ -111,12 +111,25 @@ bool wxGetUserName(char *buf, int maxSize)
return TRUE;
}
int wxKill(long pid, wxSignal sig)
int wxKill(long pid, wxSignal sig , wxKillError *rc )
{
// TODO
return 0;
}
WXDLLEXPORT bool wxGetEnv(const wxString& var, wxString *value)
{
// TODO : under classic there is no environement support, under X yes
return false ;
}
// set the env var name to the given value, return TRUE on success
WXDLLEXPORT bool wxSetEnv(const wxString& var, const wxChar *value)
{
// TODO : under classic there is no environement support, under X yes
return false ;
}
//
// Execute a program in an Interactive Shell
//
@@ -470,3 +483,8 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
{
return wxGenericFindWindowAtPoint(pt);
}
wxString wxGetOsDescription()
{
return "MacOS" ; //TODO:define further
}

View File

@@ -111,12 +111,25 @@ bool wxGetUserName(char *buf, int maxSize)
return TRUE;
}
int wxKill(long pid, wxSignal sig)
int wxKill(long pid, wxSignal sig , wxKillError *rc )
{
// TODO
return 0;
}
WXDLLEXPORT bool wxGetEnv(const wxString& var, wxString *value)
{
// TODO : under classic there is no environement support, under X yes
return false ;
}
// set the env var name to the given value, return TRUE on success
WXDLLEXPORT bool wxSetEnv(const wxString& var, const wxChar *value)
{
// TODO : under classic there is no environement support, under X yes
return false ;
}
//
// Execute a program in an Interactive Shell
//
@@ -470,3 +483,8 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
{
return wxGenericFindWindowAtPoint(pt);
}
wxString wxGetOsDescription()
{
return "MacOS" ; //TODO:define further
}