diff --git a/qt6/gen_qguiapplication_platform.cpp b/qt6/gen_qguiapplication_platform.cpp deleted file mode 100644 index 5b9e2152..00000000 --- a/qt6/gen_qguiapplication_platform.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#define WORKAROUND_INNER_CLASS_DEFINITION_QNativeInterface__QX11Application -#include -#include "gen_qguiapplication_platform.h" -#include "_cgo_export.h" - diff --git a/qt6/gen_qguiapplication_platform.go b/qt6/gen_qguiapplication_platform.go deleted file mode 100644 index d0b5b14d..00000000 --- a/qt6/gen_qguiapplication_platform.go +++ /dev/null @@ -1,42 +0,0 @@ -package qt6 - -/* - -#include "gen_qguiapplication_platform.h" -#include - -*/ -import "C" - -import ( - "unsafe" -) - -type QNativeInterface__QX11Application struct { - h *C.QNativeInterface__QX11Application -} - -func (this *QNativeInterface__QX11Application) cPointer() *C.QNativeInterface__QX11Application { - if this == nil { - return nil - } - return this.h -} - -func (this *QNativeInterface__QX11Application) UnsafePointer() unsafe.Pointer { - if this == nil { - return nil - } - return unsafe.Pointer(this.h) -} - -func newQNativeInterface__QX11Application(h *C.QNativeInterface__QX11Application) *QNativeInterface__QX11Application { - if h == nil { - return nil - } - return &QNativeInterface__QX11Application{h: h} -} - -func UnsafeNewQNativeInterface__QX11Application(h unsafe.Pointer) *QNativeInterface__QX11Application { - return newQNativeInterface__QX11Application((*C.QNativeInterface__QX11Application)(h)) -} diff --git a/qt6/gen_qguiapplication_platform.h b/qt6/gen_qguiapplication_platform.h deleted file mode 100644 index a188da7a..00000000 --- a/qt6/gen_qguiapplication_platform.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef GEN_QGUIAPPLICATION_PLATFORM_H -#define GEN_QGUIAPPLICATION_PLATFORM_H - -#include -#include -#include - -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" - -#include "../libmiqt/libmiqt.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef __cplusplus -#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QNativeInterface__QX11Application) -typedef QNativeInterface::QX11Application QNativeInterface__QX11Application; -#else -class QNativeInterface__QX11Application; -#endif -#else -typedef struct QNativeInterface__QX11Application QNativeInterface__QX11Application; -#endif - - -#ifdef __cplusplus -} /* extern C */ -#endif - -#endif