|
|
| version 1.11.2.6.2.2, 2003/03/21 13:42:29 | version 1.16, 2004/05/11 15:03:49 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: program executing for different OS-es decls. | 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 <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| */ | */ |
| #ifndef PA_EXEC_H | #ifndef PA_EXEC_H |
| #define PA_EXEC_H | #define PA_EXEC_H |
| static const char* IDENT_EXEC_H="$Date$"; | static const char * const IDENT_EXEC_H="$Date$"; |
| #include "pa_string.h" | #include "pa_string.h" |
| #include "pa_hash.h" | #include "pa_hash.h" |
| #include "pa_array.h" | #include "pa_array.h" |
| #include "pa_value.h" | #include "pa_value.h" |
| #include "pa_charset.h" | |
| typedef Hash<String* , String*> HashStringString; | |
| struct PA_exec_result { | struct PA_exec_result { |
| int status; ///< exit code | int status; ///< exit code |
| const String& out; | String& out; |
| const String& err; | String& err; |
| PA_exec_result(): status(0), out(*new String), err(*new String) {} | |
| }; | }; |
| PA_exec_result pa_exec( | PA_exec_result pa_exec( |