--- parser3/src/include/pa_exec.h 2003/03/18 15:14:16 1.11.2.6.2.1 +++ parser3/src/include/pa_exec.h 2004/05/11 15:03:49 1.16 @@ -1,26 +1,27 @@ /** @file Parser: program executing for different OS-es decls. - Copyright (c) 2000,2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2000,2001-2004 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_EXEC_H #define PA_EXEC_H -static const char* IDENT_EXEC_H="$Date: 2003/03/18 15:14:16 $"; +static const char * const IDENT_EXEC_H="$Date: 2004/05/11 15:03:49 $"; #include "pa_string.h" #include "pa_hash.h" #include "pa_array.h" #include "pa_value.h" - -typedef Hash HashStringString; +#include "pa_charset.h" struct PA_exec_result { int status; ///< exit code - const String& out; - const String& err; + String& out; + String& err; + + PA_exec_result(): status(0), out(*new String), err(*new String) {} }; PA_exec_result pa_exec(