miqt/qt6/gen_qprocess.h

171 lines
9.7 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QPROCESS_H
#define MIQT_QT6_GEN_QPROCESS_H
2024-10-20 05:21:03 +00:00
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
2024-11-19 06:29:06 +00:00
class QIODevice;
class QIODeviceBase;
2024-10-20 05:21:03 +00:00
class QMetaObject;
class QObject;
class QProcess;
class QProcessEnvironment;
#else
2024-11-19 06:29:06 +00:00
typedef struct QIODevice QIODevice;
typedef struct QIODeviceBase QIODeviceBase;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
typedef struct QProcess QProcess;
typedef struct QProcessEnvironment QProcessEnvironment;
#endif
2024-12-07 04:15:57 +00:00
QProcessEnvironment* QProcessEnvironment_new();
QProcessEnvironment* QProcessEnvironment_new2(int param1);
QProcessEnvironment* QProcessEnvironment_new3(QProcessEnvironment* other);
2024-10-20 05:21:03 +00:00
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);
bool QProcessEnvironment_InheritsFromParent(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 /* of struct miqt_string */ QProcessEnvironment_ToStringList(const QProcessEnvironment* self);
struct miqt_array /* of struct miqt_string */ QProcessEnvironment_Keys(const QProcessEnvironment* self);
2024-10-20 05:21:03 +00:00
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);
2024-11-19 06:29:06 +00:00
void QProcessEnvironment_Delete(QProcessEnvironment* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
2024-12-07 04:15:57 +00:00
QProcess* QProcess_new();
QProcess* QProcess_new2(QObject* parent);
void QProcess_virtbase(QProcess* src, QIODevice** outptr_QIODevice);
2024-10-20 05:21:03 +00:00
QMetaObject* QProcess_MetaObject(const QProcess* self);
void* QProcess_Metacast(QProcess* self, const char* param1);
struct miqt_string QProcess_Tr(const char* s);
void QProcess_Start(QProcess* self, struct miqt_string program);
void QProcess_Start2(QProcess* self);
void QProcess_StartCommand(QProcess* self, struct miqt_string command);
bool QProcess_StartDetached(QProcess* self);
2024-11-19 06:29:06 +00:00
bool QProcess_Open(QProcess* self, int mode);
2024-10-20 05:21:03 +00:00
struct miqt_string QProcess_Program(const QProcess* self);
void QProcess_SetProgram(QProcess* self, struct miqt_string program);
struct miqt_array /* of struct miqt_string */ QProcess_Arguments(const QProcess* self);
void QProcess_SetArguments(QProcess* self, struct miqt_array /* of struct miqt_string */ arguments);
2024-10-20 05:21:03 +00:00
int QProcess_ProcessChannelMode(const QProcess* self);
void QProcess_SetProcessChannelMode(QProcess* self, int mode);
int QProcess_InputChannelMode(const QProcess* self);
void QProcess_SetInputChannelMode(QProcess* self, int mode);
int QProcess_ReadChannel(const QProcess* self);
void QProcess_SetReadChannel(QProcess* self, int channel);
void QProcess_CloseReadChannel(QProcess* self, int 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 struct miqt_string */ environment);
struct miqt_array /* of struct miqt_string */ QProcess_Environment(const QProcess* self);
2024-10-20 05:21:03 +00:00
void QProcess_SetProcessEnvironment(QProcess* self, QProcessEnvironment* environment);
QProcessEnvironment* QProcess_ProcessEnvironment(const QProcess* self);
int QProcess_Error(const QProcess* self);
int QProcess_State(const QProcess* self);
long long QProcess_ProcessId(const QProcess* self);
bool QProcess_WaitForStarted(QProcess* self);
2024-11-19 06:29:06 +00:00
bool QProcess_WaitForReadyRead(QProcess* self, int msecs);
bool QProcess_WaitForBytesWritten(QProcess* self, int msecs);
2024-10-20 05:21:03 +00:00
bool QProcess_WaitForFinished(QProcess* self);
struct miqt_string QProcess_ReadAllStandardOutput(QProcess* self);
struct miqt_string QProcess_ReadAllStandardError(QProcess* self);
int QProcess_ExitCode(const QProcess* self);
int QProcess_ExitStatus(const QProcess* self);
long long QProcess_BytesToWrite(const QProcess* self);
bool QProcess_IsSequential(const QProcess* self);
void QProcess_Close(QProcess* self);
int QProcess_Execute(struct miqt_string program);
bool QProcess_StartDetachedWithProgram(struct miqt_string program);
struct miqt_array /* of struct miqt_string */ QProcess_SystemEnvironment();
2024-10-20 05:21:03 +00:00
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, intptr_t slot);
void QProcess_ErrorOccurred(QProcess* self, int error);
void QProcess_connect_ErrorOccurred(QProcess* self, intptr_t slot);
2024-11-19 06:29:06 +00:00
long long QProcess_ReadData(QProcess* self, char* data, long long maxlen);
long long QProcess_WriteData(QProcess* self, const char* data, long long lenVal);
2024-10-20 05:21:03 +00:00
struct miqt_string QProcess_Tr2(const char* s, const char* c);
struct miqt_string QProcess_Tr3(const char* s, const char* c, int n);
void QProcess_Start22(QProcess* self, struct miqt_string program, struct miqt_array /* of struct miqt_string */ arguments);
void QProcess_Start3(QProcess* self, struct miqt_string program, struct miqt_array /* of struct miqt_string */ arguments, int mode);
2024-10-20 05:21:03 +00:00
void QProcess_Start1(QProcess* self, int mode);
void QProcess_StartCommand2(QProcess* self, struct miqt_string command, int mode);
bool QProcess_StartDetached1(QProcess* self, long long* pid);
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_WaitForFinished1(QProcess* self, int msecs);
int QProcess_Execute2(struct miqt_string program, struct miqt_array /* of struct miqt_string */ arguments);
bool QProcess_StartDetached2(struct miqt_string program, struct miqt_array /* of struct miqt_string */ arguments);
bool QProcess_StartDetached3(struct miqt_string program, struct miqt_array /* of struct miqt_string */ arguments, struct miqt_string workingDirectory);
bool QProcess_StartDetached4(struct miqt_string program, struct miqt_array /* of struct miqt_string */ arguments, struct miqt_string workingDirectory, long long* pid);
2024-10-20 05:21:03 +00:00
void QProcess_Finished2(QProcess* self, int exitCode, int exitStatus);
void QProcess_connect_Finished2(QProcess* self, intptr_t slot);
2024-11-19 06:29:06 +00:00
void QProcess_override_virtual_Open(void* self, intptr_t slot);
bool QProcess_virtualbase_Open(void* self, int mode);
void QProcess_override_virtual_WaitForReadyRead(void* self, intptr_t slot);
bool QProcess_virtualbase_WaitForReadyRead(void* self, int msecs);
void QProcess_override_virtual_WaitForBytesWritten(void* self, intptr_t slot);
bool QProcess_virtualbase_WaitForBytesWritten(void* self, int msecs);
void QProcess_override_virtual_BytesToWrite(void* self, intptr_t slot);
long long QProcess_virtualbase_BytesToWrite(const void* self);
void QProcess_override_virtual_IsSequential(void* self, intptr_t slot);
bool QProcess_virtualbase_IsSequential(const void* self);
void QProcess_override_virtual_Close(void* self, intptr_t slot);
void QProcess_virtualbase_Close(void* self);
void QProcess_override_virtual_ReadData(void* self, intptr_t slot);
long long QProcess_virtualbase_ReadData(void* self, char* data, long long maxlen);
void QProcess_override_virtual_WriteData(void* self, intptr_t slot);
long long QProcess_virtualbase_WriteData(void* self, const char* data, long long lenVal);
void QProcess_override_virtual_Pos(void* self, intptr_t slot);
long long QProcess_virtualbase_Pos(const void* self);
void QProcess_override_virtual_Size(void* self, intptr_t slot);
long long QProcess_virtualbase_Size(const void* self);
void QProcess_override_virtual_Seek(void* self, intptr_t slot);
bool QProcess_virtualbase_Seek(void* self, long long pos);
void QProcess_override_virtual_AtEnd(void* self, intptr_t slot);
bool QProcess_virtualbase_AtEnd(const void* self);
void QProcess_override_virtual_Reset(void* self, intptr_t slot);
bool QProcess_virtualbase_Reset(void* self);
void QProcess_override_virtual_BytesAvailable(void* self, intptr_t slot);
long long QProcess_virtualbase_BytesAvailable(const void* self);
void QProcess_override_virtual_CanReadLine(void* self, intptr_t slot);
bool QProcess_virtualbase_CanReadLine(const void* self);
void QProcess_override_virtual_ReadLineData(void* self, intptr_t slot);
long long QProcess_virtualbase_ReadLineData(void* self, char* data, long long maxlen);
void QProcess_override_virtual_SkipData(void* self, intptr_t slot);
long long QProcess_virtualbase_SkipData(void* self, long long maxSize);
void QProcess_Delete(QProcess* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif