2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QSTATEMACHINE_H
|
|
|
|
#define MIQT_QT_GEN_QSTATEMACHINE_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QAbstractAnimation;
|
|
|
|
class QAbstractState;
|
|
|
|
class QEvent;
|
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QState;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QStateMachine;
|
2024-08-29 07:01:51 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QStateMachine__SignalEvent)
|
|
|
|
typedef QStateMachine::SignalEvent QStateMachine__SignalEvent;
|
|
|
|
#else
|
|
|
|
class QStateMachine__SignalEvent;
|
|
|
|
#endif
|
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QStateMachine__WrappedEvent)
|
|
|
|
typedef QStateMachine::WrappedEvent QStateMachine__WrappedEvent;
|
|
|
|
#else
|
|
|
|
class QStateMachine__WrappedEvent;
|
|
|
|
#endif
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QAbstractAnimation QAbstractAnimation;
|
|
|
|
typedef struct QAbstractState QAbstractState;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QState QState;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QStateMachine QStateMachine;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QStateMachine__SignalEvent QStateMachine__SignalEvent;
|
|
|
|
typedef struct QStateMachine__WrappedEvent QStateMachine__WrappedEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStateMachine_new(QStateMachine** outptr_QStateMachine, QState** outptr_QState, QAbstractState** outptr_QAbstractState, QObject** outptr_QObject);
|
|
|
|
void QStateMachine_new2(int childMode, QStateMachine** outptr_QStateMachine, QState** outptr_QState, QAbstractState** outptr_QAbstractState, QObject** outptr_QObject);
|
|
|
|
void QStateMachine_new3(QObject* parent, QStateMachine** outptr_QStateMachine, QState** outptr_QState, QAbstractState** outptr_QAbstractState, QObject** outptr_QObject);
|
|
|
|
void QStateMachine_new4(int childMode, QObject* parent, QStateMachine** outptr_QStateMachine, QState** outptr_QState, QAbstractState** outptr_QAbstractState, QObject** outptr_QObject);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QStateMachine_MetaObject(const QStateMachine* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QStateMachine_Metacast(QStateMachine* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QStateMachine_Tr(const char* s);
|
|
|
|
struct miqt_string QStateMachine_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStateMachine_AddState(QStateMachine* self, QAbstractState* state);
|
|
|
|
void QStateMachine_RemoveState(QStateMachine* self, QAbstractState* state);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QStateMachine_Error(const QStateMachine* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QStateMachine_ErrorString(const QStateMachine* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStateMachine_ClearError(QStateMachine* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QStateMachine_IsRunning(const QStateMachine* self);
|
|
|
|
bool QStateMachine_IsAnimated(const QStateMachine* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStateMachine_SetAnimated(QStateMachine* self, bool enabled);
|
|
|
|
void QStateMachine_AddDefaultAnimation(QStateMachine* self, QAbstractAnimation* animation);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QAbstractAnimation* */ QStateMachine_DefaultAnimations(const QStateMachine* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStateMachine_RemoveDefaultAnimation(QStateMachine* self, QAbstractAnimation* animation);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QStateMachine_GlobalRestorePolicy(const QStateMachine* self);
|
|
|
|
void QStateMachine_SetGlobalRestorePolicy(QStateMachine* self, int restorePolicy);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QStateMachine_PostEvent(QStateMachine* self, QEvent* event);
|
2024-08-25 04:08:24 +00:00
|
|
|
int QStateMachine_PostDelayedEvent(QStateMachine* self, QEvent* event, int delay);
|
|
|
|
bool QStateMachine_CancelDelayedEvent(QStateMachine* self, int id);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* set of QAbstractState* */ QStateMachine_Configuration(const QStateMachine* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QStateMachine_EventFilter(QStateMachine* self, QObject* watched, QEvent* event);
|
|
|
|
void QStateMachine_Start(QStateMachine* self);
|
|
|
|
void QStateMachine_Stop(QStateMachine* self);
|
|
|
|
void QStateMachine_SetRunning(QStateMachine* self, bool running);
|
|
|
|
void QStateMachine_RunningChanged(QStateMachine* self, bool running);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QStateMachine_connect_RunningChanged(QStateMachine* self, intptr_t slot);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStateMachine_OnEntry(QStateMachine* self, QEvent* event);
|
|
|
|
void QStateMachine_OnExit(QStateMachine* self, QEvent* event);
|
|
|
|
void QStateMachine_BeginSelectTransitions(QStateMachine* self, QEvent* event);
|
|
|
|
void QStateMachine_EndSelectTransitions(QStateMachine* self, QEvent* event);
|
|
|
|
void QStateMachine_BeginMicrostep(QStateMachine* self, QEvent* event);
|
|
|
|
void QStateMachine_EndMicrostep(QStateMachine* self, QEvent* event);
|
|
|
|
bool QStateMachine_Event(QStateMachine* self, QEvent* e);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QStateMachine_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QStateMachine_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QStateMachine_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QStateMachine_TrUtf83(const char* s, const char* c, int n);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QStateMachine_PostEvent2(QStateMachine* self, QEvent* event, int priority);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStateMachine_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QStateMachine_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QStateMachine_override_virtual_OnEntry(void* self, intptr_t slot);
|
|
|
|
void QStateMachine_virtualbase_OnEntry(void* self, QEvent* event);
|
|
|
|
void QStateMachine_override_virtual_OnExit(void* self, intptr_t slot);
|
|
|
|
void QStateMachine_virtualbase_OnExit(void* self, QEvent* event);
|
|
|
|
void QStateMachine_override_virtual_BeginSelectTransitions(void* self, intptr_t slot);
|
|
|
|
void QStateMachine_virtualbase_BeginSelectTransitions(void* self, QEvent* event);
|
|
|
|
void QStateMachine_override_virtual_EndSelectTransitions(void* self, intptr_t slot);
|
|
|
|
void QStateMachine_virtualbase_EndSelectTransitions(void* self, QEvent* event);
|
|
|
|
void QStateMachine_override_virtual_BeginMicrostep(void* self, intptr_t slot);
|
|
|
|
void QStateMachine_virtualbase_BeginMicrostep(void* self, QEvent* event);
|
|
|
|
void QStateMachine_override_virtual_EndMicrostep(void* self, intptr_t slot);
|
|
|
|
void QStateMachine_virtualbase_EndMicrostep(void* self, QEvent* event);
|
|
|
|
void QStateMachine_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QStateMachine_virtualbase_Event(void* self, QEvent* e);
|
|
|
|
void QStateMachine_Delete(QStateMachine* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStateMachine__SignalEvent_new(QStateMachine__SignalEvent* param1, QStateMachine__SignalEvent** outptr_QStateMachine__SignalEvent, QEvent** outptr_QEvent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QObject* QStateMachine__SignalEvent_Sender(const QStateMachine__SignalEvent* self);
|
|
|
|
int QStateMachine__SignalEvent_SignalIndex(const QStateMachine__SignalEvent* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStateMachine__SignalEvent_Delete(QStateMachine__SignalEvent* self, bool isSubclass);
|
2024-08-29 07:01:51 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStateMachine__WrappedEvent_new(QObject* object, QEvent* event, QStateMachine__WrappedEvent** outptr_QStateMachine__WrappedEvent, QEvent** outptr_QEvent);
|
|
|
|
void QStateMachine__WrappedEvent_new2(QStateMachine__WrappedEvent* param1, QStateMachine__WrappedEvent** outptr_QStateMachine__WrappedEvent, QEvent** outptr_QEvent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QObject* QStateMachine__WrappedEvent_Object(const QStateMachine__WrappedEvent* self);
|
|
|
|
QEvent* QStateMachine__WrappedEvent_Event(const QStateMachine__WrappedEvent* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStateMachine__WrappedEvent_Delete(QStateMachine__WrappedEvent* self, bool isSubclass);
|
2024-08-29 07:01:51 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|