~ubuntu-branches/ubuntu/quantal/texmacs/quantal

« back to all changes in this revision

Viewing changes to src/Plugins/Qt/qt_sys_utils.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Atsuhito KOHDA
  • Date: 2010-04-23 07:09:40 UTC
  • mfrom: (4.1.8 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100423070940-72mjdmdepfgrvo8f
Tags: 1:1.0.7.4-2
Re-upload, former upload failed with wrong diff.gz perhaps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/******************************************************************************
 
3
* MODULE     : qt_sys_utils.hpp
 
4
* DESCRIPTION: external command handling
 
5
* COPYRIGHT  : (C) 2009  David MICHEL
 
6
*******************************************************************************
 
7
* This software falls under the GNU general public license version 3 or later.
 
8
* It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
 
9
* in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
 
10
******************************************************************************/
 
11
 
 
12
#ifndef QT_SYS_UTILS_H
 
13
#define QT_SYS_UTILS_H
 
14
 
 
15
#include "string.hpp"
 
16
 
 
17
/* exitcode= qt_system (command, result);
 
18
 *
 
19
 * Execute /command/ in the local command interpreter. Return all
 
20
 * data sent to stdout-stderr in /result/. We get the exit code of
 
21
 * the command in /exitcode/.
 
22
 */
 
23
int qt_system (string);
 
24
int qt_system (string, string&);
 
25
 
 
26
#endif // defined QT_SYS_UTILS_H
 
27