/***************************************************************************
                            qt_QProcess.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QPROCESS
#define QT_QPROCESS

#include <qtc/qtc_types.h>

#define QPROCESS_Stdin	0x01
#define QPROCESS_Stdout	0x02
#define QPROCESS_Stderr	0x04
#define QPROCESS_DupStderr	0x08
qt_QProcess * qt_new_QProcess(qt_QObject * parent, char* name);
qt_QProcess * qt_new_QProcess1(qt_QString * arg0, qt_QObject * parent, char* name);
qt_QProcess * qt_new_QProcess2(qt_QStringList* args, qt_QObject * parent, char* name);
void qt_del_QProcess( qt_QProcess* p );
qt_QStringList* qt_QProcess_arguments(qt_QProcess* instPointer);
void qt_QProcess_clearArguments(qt_QProcess* instPointer);
void qt_QProcess_setArguments(qt_QProcess* instPointer,qt_QStringList* args);
void qt_QProcess_addArgument(qt_QProcess* instPointer,qt_QString * arg);
qt_QDir * qt_QProcess_workingDirectory(qt_QProcess* instPointer);
void qt_QProcess_setWorkingDirectory(qt_QProcess* instPointer,qt_QDir * dir);
void qt_QProcess_setCommunication(qt_QProcess* instPointer,int c);
int qt_QProcess_communication(qt_QProcess* instPointer);
int qt_QProcess_start(qt_QProcess* instPointer,qt_QStringList* env);
int qt_QProcess_launch(qt_QProcess* instPointer,qt_QString * buf, qt_QStringList* env);
int qt_QProcess_launch1(qt_QProcess* instPointer,qt_QByteArray* buf, qt_QStringList* env);
int qt_QProcess_isRunning(qt_QProcess* instPointer);
int qt_QProcess_normalExit(qt_QProcess* instPointer);
int qt_QProcess_exitStatus(qt_QProcess* instPointer);
qt_QByteArray* qt_QProcess_readStdout(qt_QProcess* instPointer);
qt_QByteArray* qt_QProcess_readStderr(qt_QProcess* instPointer);
int qt_QProcess_canReadLineStdout(qt_QProcess* instPointer);
int qt_QProcess_canReadLineStderr(qt_QProcess* instPointer);
qt_QString * qt_QProcess_readLineStdout(qt_QProcess* instPointer);
qt_QString * qt_QProcess_readLineStderr(qt_QProcess* instPointer);
long qt_QProcess_processIdentifier(qt_QProcess* instPointer);
void qt_QProcess_flushStdin(qt_QProcess* instPointer);
void qt_QProcess_tryTerminate(qt_QProcess* instPointer);
void qt_QProcess_kill(qt_QProcess* instPointer);
void qt_QProcess_writeToStdin(qt_QProcess* instPointer,qt_QByteArray* buf);
void qt_QProcess_writeToStdin1(qt_QProcess* instPointer,qt_QString * buf);
void qt_QProcess_closeStdin(qt_QProcess* instPointer);
void qt_QProcess_connectNotify(qt_QProcess* instPointer,char* signal);
void qt_QProcess_disconnectNotify(qt_QProcess* instPointer,char* signal);

#endif
