miqt/binding.h

26 lines
438 B
C
Raw Normal View History

2023-10-22 22:00:00 +00:00
typedef void* PQApplication;
typedef void* PQPushButton;
typedef void* PQWidget;
#ifdef __cplusplus
extern "C" {
#endif
PQApplication QApplication_new(int argc, char** argv);
PQWidget QWidget_new();
void QWidget_show(PQWidget self);
PQPushButton QPushButton_new(const char* label, PQWidget parent);
void QPushButton_show(PQPushButton self);
int QApplication_exec(PQApplication self);
#ifdef __cplusplus
} /* extern C */
#endif