miqt/qt/gen_qprocess.h

141 lines
7.5 KiB
C
Raw Normal View History

#ifndef GEN_QPROCESS_H
#define GEN_QPROCESS_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "binding.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QByteArray;
class QMetaObject;
class QObject;
class QProcess;
class QProcessEnvironment;
#else
typedef struct QByteArray QByteArray;
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
typedef struct QProcess QProcess;
typedef struct QProcessEnvironment QProcessEnvironment;
#endif
QProcessEnvironment* QProcessEnvironment_new();
QProcessEnvironment* QProcessEnvironment_new2(QProcessEnvironment* other);
void QProcessEnvironment_OperatorAssign(QProcessEnvironment* self, QProcessEnvironment* other);
void QProcessEnvironment_Swap(QProcessEnvironment* self, QProcessEnvironment* other);
bool QProcessEnvironment_OperatorEqual(const QProcessEnvironment* self, QProcessEnvironment* other);
bool QProcessEnvironment_OperatorNotEqual(const QProcessEnvironment* self, QProcessEnvironment* other);
bool QProcessEnvironment_IsEmpty(const QProcessEnvironment* self);
void QProcessEnvironment_Clear(QProcessEnvironment* self);
bool QProcessEnvironment_Contains(const QProcessEnvironment* self, struct miqt_string* name);
void QProcessEnvironment_Insert(QProcessEnvironment* self, struct miqt_string* name, struct miqt_string* value);
void QProcessEnvironment_Remove(QProcessEnvironment* self, struct miqt_string* name);
struct miqt_string* QProcessEnvironment_Value(const QProcessEnvironment* self, struct miqt_string* name);
struct miqt_array* QProcessEnvironment_ToStringList(const QProcessEnvironment* self);
struct miqt_array* QProcessEnvironment_Keys(const QProcessEnvironment* self);
void QProcessEnvironment_InsertWithQProcessEnvironment(QProcessEnvironment* self, QProcessEnvironment* e);
QProcessEnvironment* QProcessEnvironment_SystemEnvironment();
struct miqt_string* QProcessEnvironment_Value2(const QProcessEnvironment* self, struct miqt_string* name, struct miqt_string* defaultValue);
void QProcessEnvironment_Delete(QProcessEnvironment* self);
QProcess* QProcess_new();
QProcess* QProcess_new2(QObject* parent);
QMetaObject* QProcess_MetaObject(const QProcess* self);
struct miqt_string* QProcess_Tr(const char* s);
struct miqt_string* QProcess_TrUtf8(const char* s);
void QProcess_Start(QProcess* self, struct miqt_string* program, struct miqt_array* /* of QString */ arguments);
void QProcess_StartWithCommand(QProcess* self, struct miqt_string* command);
2024-08-29 07:01:51 +00:00
void QProcess_Start2(QProcess* self);
bool QProcess_StartDetached(QProcess* self);
2024-08-29 07:01:51 +00:00
bool QProcess_Open(QProcess* self);
struct miqt_string* QProcess_Program(const QProcess* self);
void QProcess_SetProgram(QProcess* self, struct miqt_string* program);
struct miqt_array* QProcess_Arguments(const QProcess* self);
void QProcess_SetArguments(QProcess* self, struct miqt_array* /* of QString */ arguments);
uintptr_t QProcess_ReadChannelMode(const QProcess* self);
2024-08-29 07:01:51 +00:00
void QProcess_SetReadChannelMode(QProcess* self, uintptr_t mode);
uintptr_t QProcess_ProcessChannelMode(const QProcess* self);
2024-08-29 07:01:51 +00:00
void QProcess_SetProcessChannelMode(QProcess* self, uintptr_t mode);
uintptr_t QProcess_InputChannelMode(const QProcess* self);
2024-08-29 07:01:51 +00:00
void QProcess_SetInputChannelMode(QProcess* self, uintptr_t mode);
uintptr_t QProcess_ReadChannel(const QProcess* self);
2024-08-29 07:01:51 +00:00
void QProcess_SetReadChannel(QProcess* self, uintptr_t channel);
void QProcess_CloseReadChannel(QProcess* self, uintptr_t channel);
void QProcess_CloseWriteChannel(QProcess* self);
void QProcess_SetStandardInputFile(QProcess* self, struct miqt_string* fileName);
void QProcess_SetStandardOutputFile(QProcess* self, struct miqt_string* fileName);
void QProcess_SetStandardErrorFile(QProcess* self, struct miqt_string* fileName);
void QProcess_SetStandardOutputProcess(QProcess* self, QProcess* destination);
struct miqt_string* QProcess_WorkingDirectory(const QProcess* self);
void QProcess_SetWorkingDirectory(QProcess* self, struct miqt_string* dir);
void QProcess_SetEnvironment(QProcess* self, struct miqt_array* /* of QString */ environment);
struct miqt_array* QProcess_Environment(const QProcess* self);
void QProcess_SetProcessEnvironment(QProcess* self, QProcessEnvironment* environment);
QProcessEnvironment* QProcess_ProcessEnvironment(const QProcess* self);
uintptr_t QProcess_Error(const QProcess* self);
uintptr_t QProcess_State(const QProcess* self);
int64_t QProcess_Pid(const QProcess* self);
long long QProcess_ProcessId(const QProcess* self);
bool QProcess_WaitForStarted(QProcess* self);
bool QProcess_WaitForReadyRead(QProcess* self);
bool QProcess_WaitForBytesWritten(QProcess* self);
bool QProcess_WaitForFinished(QProcess* self);
QByteArray* QProcess_ReadAllStandardOutput(QProcess* self);
QByteArray* QProcess_ReadAllStandardError(QProcess* self);
int QProcess_ExitCode(const QProcess* self);
uintptr_t QProcess_ExitStatus(const QProcess* self);
long long QProcess_BytesAvailable(const QProcess* self);
long long QProcess_BytesToWrite(const QProcess* self);
bool QProcess_IsSequential(const QProcess* self);
bool QProcess_CanReadLine(const QProcess* self);
void QProcess_Close(QProcess* self);
bool QProcess_AtEnd(const QProcess* self);
int QProcess_Execute(struct miqt_string* program, struct miqt_array* /* of QString */ arguments);
int QProcess_ExecuteWithCommand(struct miqt_string* command);
bool QProcess_StartDetached2(struct miqt_string* program, struct miqt_array* /* of QString */ arguments, struct miqt_string* workingDirectory);
bool QProcess_StartDetached3(struct miqt_string* program, struct miqt_array* /* of QString */ arguments);
bool QProcess_StartDetachedWithCommand(struct miqt_string* command);
struct miqt_array* QProcess_SystemEnvironment();
struct miqt_string* QProcess_NullDevice();
void QProcess_Terminate(QProcess* self);
void QProcess_Kill(QProcess* self);
void QProcess_Finished(QProcess* self, int exitCode);
void QProcess_connect_Finished(QProcess* self, void* slot);
2024-08-29 07:01:51 +00:00
void QProcess_Finished2(QProcess* self, int exitCode, uintptr_t exitStatus);
void QProcess_connect_Finished2(QProcess* self, void* slot);
void QProcess_ErrorWithError(QProcess* self, uintptr_t error);
void QProcess_connect_ErrorWithError(QProcess* self, void* slot);
void QProcess_ErrorOccurred(QProcess* self, uintptr_t error);
void QProcess_connect_ErrorOccurred(QProcess* self, void* slot);
struct miqt_string* QProcess_Tr2(const char* s, const char* c);
struct miqt_string* QProcess_Tr3(const char* s, const char* c, int n);
struct miqt_string* QProcess_TrUtf82(const char* s, const char* c);
struct miqt_string* QProcess_TrUtf83(const char* s, const char* c, int n);
void QProcess_Start3(QProcess* self, struct miqt_string* program, struct miqt_array* /* of QString */ arguments, int mode);
void QProcess_Start22(QProcess* self, struct miqt_string* command, int mode);
2024-08-29 07:01:51 +00:00
void QProcess_Start1(QProcess* self, int mode);
bool QProcess_StartDetached1(QProcess* self, long long* pid);
bool QProcess_Open1(QProcess* self, int mode);
void QProcess_SetStandardOutputFile2(QProcess* self, struct miqt_string* fileName, int mode);
void QProcess_SetStandardErrorFile2(QProcess* self, struct miqt_string* fileName, int mode);
bool QProcess_WaitForStarted1(QProcess* self, int msecs);
bool QProcess_WaitForReadyRead1(QProcess* self, int msecs);
bool QProcess_WaitForBytesWritten1(QProcess* self, int msecs);
bool QProcess_WaitForFinished1(QProcess* self, int msecs);
bool QProcess_StartDetached4(struct miqt_string* program, struct miqt_array* /* of QString */ arguments, struct miqt_string* workingDirectory, long long* pid);
void QProcess_Delete(QProcess* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif