flutter: Add bindings for Layout

This commit is contained in:
Sergio Martins
2022-07-26 17:28:01 +01:00
parent 02e591fc52
commit f7c3dea53f
35 changed files with 3174 additions and 974 deletions

View File

@@ -269,17 +269,6 @@ void c_KDDockWidgets__Controller__customEvent_QEvent(void *thisObj, void *event_
fromWrapperPtr(thisObj)->customEvent_nocallback(event);
}
// tag=1079
void c_KDDockWidgets__Controller__onDestroyed_QObject(void *thisObj, void *contextQObject, void *callback)
{
auto instance = reinterpret_cast<Controller *>(thisObj);
auto context = reinterpret_cast<QObject *>(contextQObject);
QObject::connect(instance, &Controller::destroyed, context ? context : instance, [thisObj, callback] {
typedef void (*SignalHandler_callback)(void *);
auto dartCallback = reinterpret_cast<SignalHandler_callback>(callback);
dartCallback(thisObj); });
}
// tag=1050
// event(QEvent * event)
bool c_KDDockWidgets__Controller__event_QEvent(void *thisObj, void *event_)
@@ -360,17 +349,6 @@ void c_KDDockWidgets__Controller__parentViewChanged_View(void *thisObj, void *pa
fromPtr(thisObj)->parentViewChanged(parent);
}
// tag=1079
void c_KDDockWidgets__Controller__onParentViewChanged_View(void *thisObj, void *contextQObject, void *callback)
{
auto instance = reinterpret_cast<Controller *>(thisObj);
auto context = reinterpret_cast<QObject *>(contextQObject);
QObject::connect(instance, &Controller::parentViewChanged, context ? context : instance, [thisObj, callback] {
typedef void (*SignalHandler_callback)(void *);
auto dartCallback = reinterpret_cast<SignalHandler_callback>(callback);
dartCallback(thisObj); });
}
// tag=1050
// pos() const
void *c_KDDockWidgets__Controller__pos(void *thisObj)
@@ -506,7 +484,7 @@ void c_KDDockWidgets__Controller__registerVirtualMethodCallback(void *ptr, void
case 306:
wrapper->m_eventFilterCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Controller_wrapper::Callback_eventFilter>(callback);
break;
case 690:
case 692:
wrapper->m_setParentView_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Controller_wrapper::Callback_setParentView_impl>(callback);
break;
}

View File

@@ -18,9 +18,9 @@
#include <qpoint.h>
#include <qsize.h>
#include <qobject.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qbytearray.h>
#include <qcoreevent.h>
namespace KDDockWidgetsBindings_wrappersNS {
// tag=1017

View File

@@ -0,0 +1,303 @@
/*
This file is part of KDDockWidgets.
SPDX-FileCopyrightText: 2019-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
Author: Sérgio Martins <sergio.martins@kdab.com>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
Contact KDAB at <info@kdab.com> for commercial licensing options.
*/
#include "DropArea_wrapper.h"
#include <QDebug>
namespace Dartagnan {
typedef int (*CleanupCallback)(void *thisPtr);
static CleanupCallback s_cleanupCallback = nullptr;
template<typename T>
struct ValueWrapper
{
T value;
};
}
namespace KDDockWidgetsBindings_wrappersNS {
// tag=1006
DropArea_wrapper::DropArea_wrapper(KDDockWidgets::View *parent, QFlags<KDDockWidgets::MainWindowOption> options, bool isMDIWrapper)
: ::KDDockWidgets::Controllers::DropArea(parent, options, isMDIWrapper)
{
}
void DropArea_wrapper::customEvent(QEvent *event)
{
// tag=1000
if (m_customEventCallback) {
// tag=1001
const void *thisPtr = this;
m_customEventCallback(const_cast<void *>(thisPtr), event);
} else {
// tag=1002
::KDDockWidgets::Controllers::DropArea::customEvent(event);
}
}
// tag=1009
void DropArea_wrapper::customEvent_nocallback(QEvent *event)
{
// tag=1003
::KDDockWidgets::Controllers::DropArea::customEvent(event);
}
bool DropArea_wrapper::event(QEvent *event)
{
// tag=1000
if (m_eventCallback) {
// tag=1001
const void *thisPtr = this;
return m_eventCallback(const_cast<void *>(thisPtr), event);
} else {
// tag=1002
return ::KDDockWidgets::Controllers::DropArea::event(event);
}
}
// tag=1009
bool DropArea_wrapper::event_nocallback(QEvent *event)
{
// tag=1003
return ::KDDockWidgets::Controllers::DropArea::event(event);
}
bool DropArea_wrapper::eventFilter(QObject *watched, QEvent *event)
{
// tag=1000
if (m_eventFilterCallback) {
// tag=1001
const void *thisPtr = this;
return m_eventFilterCallback(const_cast<void *>(thisPtr), watched, event);
} else {
// tag=1002
return ::KDDockWidgets::Controllers::DropArea::eventFilter(watched, event);
}
}
// tag=1009
bool DropArea_wrapper::eventFilter_nocallback(QObject *watched, QEvent *event)
{
// tag=1003
return ::KDDockWidgets::Controllers::DropArea::eventFilter(watched, event);
}
bool DropArea_wrapper::hasSingleFloatingFrame() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::DropArea::hasSingleFloatingFrame();
}
bool DropArea_wrapper::hasSingleFrame() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::DropArea::hasSingleFrame();
}
bool DropArea_wrapper::isMDIWrapper() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::DropArea::isMDIWrapper();
}
void DropArea_wrapper::layoutEqually()
{
// tag=1000
// tag=1004
::KDDockWidgets::Controllers::DropArea::layoutEqually();
}
void DropArea_wrapper::removeHover()
{
// tag=1000
// tag=1004
::KDDockWidgets::Controllers::DropArea::removeHover();
}
void DropArea_wrapper::setParentView_impl(KDDockWidgets::View *parent)
{
// tag=1000
if (m_setParentView_implCallback) {
// tag=1001
const void *thisPtr = this;
m_setParentView_implCallback(const_cast<void *>(thisPtr), parent);
} else {
// tag=1002
::KDDockWidgets::Controllers::DropArea::setParentView_impl(parent);
}
}
// tag=1009
void DropArea_wrapper::setParentView_impl_nocallback(KDDockWidgets::View *parent)
{
// tag=1003
::KDDockWidgets::Controllers::DropArea::setParentView_impl(parent);
}
QString DropArea_wrapper::tr(const char *s, const char *c, int n)
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::DropArea::tr(s, c, n);
}
// tag=1005
DropArea_wrapper::~DropArea_wrapper()
{
}
}
// tag=1013
static KDDockWidgets::Controllers::DropArea *fromPtr(void *ptr)
{
return reinterpret_cast<KDDockWidgets::Controllers::DropArea *>(ptr);
}
// tag=1014
static KDDockWidgetsBindings_wrappersNS::DropArea_wrapper *fromWrapperPtr(void *ptr)
{
return reinterpret_cast<KDDockWidgetsBindings_wrappersNS::DropArea_wrapper *>(ptr);
}
extern "C" {
// tag=1049
void c_KDDockWidgets__Controllers__DropArea_Finalizer(void *, void *cppObj, void *)
{
delete reinterpret_cast<KDDockWidgetsBindings_wrappersNS::DropArea_wrapper *>(cppObj);
}
void *c_KDDockWidgets__Controllers__DropArea__constructor_View_MainWindowOptions_bool(void *parent_, int options_, bool isMDIWrapper)
{
auto parent = reinterpret_cast<KDDockWidgets::View *>(parent_);
auto options = static_cast<QFlags<KDDockWidgets::MainWindowOption>>(options_);
// tag=1056
auto ptr = new KDDockWidgetsBindings_wrappersNS::DropArea_wrapper(parent, options, isMDIWrapper);
return reinterpret_cast<void *>(ptr);
}
// tag=1050
// customEvent(QEvent * event)
void c_KDDockWidgets__Controllers__DropArea__customEvent_QEvent(void *thisObj, void *event_)
{
auto event = reinterpret_cast<QEvent *>(event_);
// tag=1011
// tag=1074
fromWrapperPtr(thisObj)->customEvent_nocallback(event);
}
// tag=1050
// event(QEvent * event)
bool c_KDDockWidgets__Controllers__DropArea__event_QEvent(void *thisObj, void *event_)
{
auto event = reinterpret_cast<QEvent *>(event_);
return
// tag=1016
[&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::DropArea_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->event_nocallback(event);} else { return targetPtr->event(event);} }();
}
// tag=1050
// eventFilter(QObject * watched, QEvent * event)
bool c_KDDockWidgets__Controllers__DropArea__eventFilter_QObject_QEvent(void *thisObj, void *watched_, void *event_)
{
auto watched = reinterpret_cast<QObject *>(watched_);
auto event = reinterpret_cast<QEvent *>(event_);
return
// tag=1016
[&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::DropArea_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->eventFilter_nocallback(watched,event);} else { return targetPtr->eventFilter(watched,event);} }();
}
// tag=1050
// hasSingleFloatingFrame() const
bool c_KDDockWidgets__Controllers__DropArea__hasSingleFloatingFrame(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->hasSingleFloatingFrame();
}
// tag=1050
// hasSingleFrame() const
bool c_KDDockWidgets__Controllers__DropArea__hasSingleFrame(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->hasSingleFrame();
}
// tag=1050
// isMDIWrapper() const
bool c_KDDockWidgets__Controllers__DropArea__isMDIWrapper(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->isMDIWrapper();
}
// tag=1050
// layoutEqually()
void c_KDDockWidgets__Controllers__DropArea__layoutEqually(void *thisObj)
{
// tag=1010
fromPtr(thisObj)->layoutEqually();
}
// tag=1050
// removeHover()
void c_KDDockWidgets__Controllers__DropArea__removeHover(void *thisObj)
{
// tag=1010
fromPtr(thisObj)->removeHover();
}
// tag=1050
// setParentView_impl(KDDockWidgets::View * parent)
void c_KDDockWidgets__Controllers__DropArea__setParentView_impl_View(void *thisObj, void *parent_)
{
auto parent = reinterpret_cast<KDDockWidgets::View *>(parent_);
// tag=1011
// tag=1074
fromWrapperPtr(thisObj)->setParentView_impl_nocallback(parent);
}
// tag=1050
// tr(const char * s, const char * c, int n)
void *c_static_KDDockWidgets__Controllers__DropArea__tr_char_char_int(const char *s, const char *c, int n)
{
return
// tag=1068
// tag=1072
new Dartagnan::ValueWrapper<QString> { KDDockWidgetsBindings_wrappersNS::DropArea_wrapper::tr(s, c, n) };
}
void c_KDDockWidgets__Controllers__DropArea__destructor(void *thisObj)
{
// tag=1055
delete fromPtr(thisObj);
}
void c_KDDockWidgets__Controllers__DropArea__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
{
// tag=1048
auto wrapper = fromWrapperPtr(ptr);
switch (methodId) {
case 294:
wrapper->m_customEventCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::DropArea_wrapper::Callback_customEvent>(callback);
break;
case 305:
wrapper->m_eventCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::DropArea_wrapper::Callback_event>(callback);
break;
case 306:
wrapper->m_eventFilterCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::DropArea_wrapper::Callback_eventFilter>(callback);
break;
case 692:
wrapper->m_setParentView_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::DropArea_wrapper::Callback_setParentView_impl>(callback);
break;
}
}
}

View File

@@ -0,0 +1,124 @@
/*
This file is part of KDDockWidgets.
SPDX-FileCopyrightText: 2019-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
Author: Sérgio Martins <sergio.martins@kdab.com>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
Contact KDAB at <info@kdab.com> for commercial licensing options.
*/
// tag=1040
#include "KDDockWidgetsBindings_exports.h"
#include <DropArea.h>
#include <qstring.h>
#include <View.h>
#include <qsize.h>
#include <qcoreevent.h>
#include <qobject.h>
namespace KDDockWidgetsBindings_wrappersNS {
// tag=1017
class DropArea_wrapper : public ::KDDockWidgets::Controllers::DropArea
{
public:
~DropArea_wrapper();
// tag=1041
DropArea_wrapper(KDDockWidgets::View *parent, QFlags<KDDockWidgets::MainWindowOption> options, bool isMDIWrapper = false);
// tag=1041
virtual void customEvent(QEvent *event);
// tag=1008
virtual void customEvent_nocallback(QEvent *event);
// tag=1041
virtual bool event(QEvent *event);
// tag=1008
virtual bool event_nocallback(QEvent *event);
// tag=1041
virtual bool eventFilter(QObject *watched, QEvent *event);
// tag=1008
virtual bool eventFilter_nocallback(QObject *watched, QEvent *event);
// tag=1041
bool hasSingleFloatingFrame() const;
// tag=1041
bool hasSingleFrame() const;
// tag=1041
bool isMDIWrapper() const;
// tag=1041
void layoutEqually();
// tag=1041
void removeHover();
// tag=1041
virtual void setParentView_impl(KDDockWidgets::View *parent);
// tag=1008
virtual void setParentView_impl_nocallback(KDDockWidgets::View *parent);
// tag=1041
static QString tr(const char *s, const char *c, int n);
// tag=1042
typedef void (*Callback_customEvent)(void *, QEvent *event);
Callback_customEvent m_customEventCallback = nullptr;
// tag=1042
typedef bool (*Callback_event)(void *, QEvent *event);
Callback_event m_eventCallback = nullptr;
// tag=1042
typedef bool (*Callback_eventFilter)(void *, QObject *watched, QEvent *event);
Callback_eventFilter m_eventFilterCallback = nullptr;
// tag=1042
typedef void (*Callback_setParentView_impl)(void *, KDDockWidgets::View *parent);
Callback_setParentView_impl m_setParentView_implCallback = nullptr;
};
}
extern "C" {
// tag=1067
// KDDockWidgets::Controllers::DropArea::DropArea(KDDockWidgets::View * parent, QFlags<KDDockWidgets::MainWindowOption> options, bool isMDIWrapper)
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__Controllers__DropArea__constructor_View_MainWindowOptions_bool(void *parent_, int options_, bool isMDIWrapper);
// tag=1067
// KDDockWidgets::Controllers::DropArea::customEvent(QEvent * event)
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__DropArea__customEvent_QEvent(void *thisObj, void *event_);
// tag=1067
// KDDockWidgets::Controllers::DropArea::event(QEvent * event)
KDDockWidgetsBindings_EXPORT bool c_KDDockWidgets__Controllers__DropArea__event_QEvent(void *thisObj, void *event_);
// tag=1067
// KDDockWidgets::Controllers::DropArea::eventFilter(QObject * watched, QEvent * event)
KDDockWidgetsBindings_EXPORT bool c_KDDockWidgets__Controllers__DropArea__eventFilter_QObject_QEvent(void *thisObj, void *watched_, void *event_);
// tag=1067
// KDDockWidgets::Controllers::DropArea::hasSingleFloatingFrame() const
KDDockWidgetsBindings_EXPORT bool c_KDDockWidgets__Controllers__DropArea__hasSingleFloatingFrame(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::DropArea::hasSingleFrame() const
KDDockWidgetsBindings_EXPORT bool c_KDDockWidgets__Controllers__DropArea__hasSingleFrame(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::DropArea::isMDIWrapper() const
KDDockWidgetsBindings_EXPORT bool c_KDDockWidgets__Controllers__DropArea__isMDIWrapper(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::DropArea::layoutEqually()
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__DropArea__layoutEqually(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::DropArea::removeHover()
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__DropArea__removeHover(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::DropArea::setParentView_impl(KDDockWidgets::View * parent)
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__DropArea__setParentView_impl_View(void *thisObj, void *parent_);
// tag=1067
// KDDockWidgets::Controllers::DropArea::tr(const char * s, const char * c, int n)
KDDockWidgetsBindings_EXPORT void *c_static_KDDockWidgets__Controllers__DropArea__tr_char_char_int(const char *s, const char *c, int n);
// tag=1066
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__DropArea__destructor(void *thisObj);
// tag=1046
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__DropArea__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
// tag=1047
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__DropArea_Finalizer(void *, void *cppObj, void *);
}

View File

@@ -27,4 +27,14 @@ struct ValueWrapper
}
extern "C" {
// tag=1050
// qt_getEnumName(QFlags<KDDockWidgets::MainWindowOption> arg__1)
const char *c_static_KDDockWidgets__qt_getEnumName_MainWindowOptions(int arg__1_)
{
auto arg__1 = static_cast<QFlags<KDDockWidgets::MainWindowOption>>(arg__1_);
return
// tag=1068
KDDockWidgets::qt_getEnumName(arg__1);
}
}

View File

@@ -15,6 +15,10 @@
extern "C" {
// tag=1067
// KDDockWidgets::qt_getEnumName(QFlags<KDDockWidgets::MainWindowOption> arg__1)
KDDockWidgetsBindings_EXPORT const char *c_static_KDDockWidgets__qt_getEnumName_MainWindowOptions(int arg__1_);
// tag=1047
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets_Finalizer(void *, void *cppObj, void *);
}

View File

@@ -0,0 +1,469 @@
/*
This file is part of KDDockWidgets.
SPDX-FileCopyrightText: 2019-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
Author: Sérgio Martins <sergio.martins@kdab.com>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
Contact KDAB at <info@kdab.com> for commercial licensing options.
*/
#include "Layout_wrapper.h"
#include <QDebug>
namespace Dartagnan {
typedef int (*CleanupCallback)(void *thisPtr);
static CleanupCallback s_cleanupCallback = nullptr;
template<typename T>
struct ValueWrapper
{
T value;
};
}
namespace KDDockWidgetsBindings_wrappersNS {
KDDockWidgets::Controllers::DropArea *Layout_wrapper::asDropArea() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::Layout::asDropArea();
}
bool Layout_wrapper::checkSanity() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::Layout::checkSanity();
}
void Layout_wrapper::clearLayout()
{
// tag=1000
// tag=1004
::KDDockWidgets::Controllers::Layout::clearLayout();
}
int Layout_wrapper::count() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::Layout::count();
}
void Layout_wrapper::customEvent(QEvent *event)
{
// tag=1000
if (m_customEventCallback) {
// tag=1001
const void *thisPtr = this;
m_customEventCallback(const_cast<void *>(thisPtr), event);
} else {
// tag=1002
::KDDockWidgets::Controllers::Layout::customEvent(event);
}
}
// tag=1009
void Layout_wrapper::customEvent_nocallback(QEvent *event)
{
// tag=1003
::KDDockWidgets::Controllers::Layout::customEvent(event);
}
void Layout_wrapper::dumpLayout() const
{
// tag=1000
// tag=1004
::KDDockWidgets::Controllers::Layout::dumpLayout();
}
bool Layout_wrapper::event(QEvent *event)
{
// tag=1000
if (m_eventCallback) {
// tag=1001
const void *thisPtr = this;
return m_eventCallback(const_cast<void *>(thisPtr), event);
} else {
// tag=1002
return ::KDDockWidgets::Controllers::Layout::event(event);
}
}
// tag=1009
bool Layout_wrapper::event_nocallback(QEvent *event)
{
// tag=1003
return ::KDDockWidgets::Controllers::Layout::event(event);
}
bool Layout_wrapper::eventFilter(QObject *watched, QEvent *event)
{
// tag=1000
if (m_eventFilterCallback) {
// tag=1001
const void *thisPtr = this;
return m_eventFilterCallback(const_cast<void *>(thisPtr), watched, event);
} else {
// tag=1002
return ::KDDockWidgets::Controllers::Layout::eventFilter(watched, event);
}
}
// tag=1009
bool Layout_wrapper::eventFilter_nocallback(QObject *watched, QEvent *event)
{
// tag=1003
return ::KDDockWidgets::Controllers::Layout::eventFilter(watched, event);
}
bool Layout_wrapper::isInMainWindow(bool honourNesting) const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::Layout::isInMainWindow(honourNesting);
}
int Layout_wrapper::layoutHeight() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::Layout::layoutHeight();
}
QSize Layout_wrapper::layoutMaximumSizeHint() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::Layout::layoutMaximumSizeHint();
}
QSize Layout_wrapper::layoutMinimumSize() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::Layout::layoutMinimumSize();
}
QSize Layout_wrapper::layoutSize() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::Layout::layoutSize();
}
int Layout_wrapper::layoutWidth() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::Layout::layoutWidth();
}
int Layout_wrapper::placeholderCount() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::Layout::placeholderCount();
}
void Layout_wrapper::setLayoutMinimumSize(QSize arg__1)
{
// tag=1000
// tag=1004
::KDDockWidgets::Controllers::Layout::setLayoutMinimumSize(arg__1);
}
void Layout_wrapper::setLayoutSize(QSize arg__1)
{
// tag=1000
// tag=1004
::KDDockWidgets::Controllers::Layout::setLayoutSize(arg__1);
}
void Layout_wrapper::setParentView_impl(KDDockWidgets::View *parent)
{
// tag=1000
if (m_setParentView_implCallback) {
// tag=1001
const void *thisPtr = this;
m_setParentView_implCallback(const_cast<void *>(thisPtr), parent);
} else {
// tag=1002
::KDDockWidgets::Controllers::Layout::setParentView_impl(parent);
}
}
// tag=1009
void Layout_wrapper::setParentView_impl_nocallback(KDDockWidgets::View *parent)
{
// tag=1003
::KDDockWidgets::Controllers::Layout::setParentView_impl(parent);
}
void Layout_wrapper::updateSizeConstraints()
{
// tag=1000
// tag=1004
::KDDockWidgets::Controllers::Layout::updateSizeConstraints();
}
void Layout_wrapper::viewAboutToBeDeleted()
{
// tag=1000
// tag=1004
::KDDockWidgets::Controllers::Layout::viewAboutToBeDeleted();
}
int Layout_wrapper::visibleCount() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::Controllers::Layout::visibleCount();
}
// tag=1005
Layout_wrapper::~Layout_wrapper()
{
}
}
// tag=1013
static KDDockWidgets::Controllers::Layout *fromPtr(void *ptr)
{
return reinterpret_cast<KDDockWidgets::Controllers::Layout *>(ptr);
}
// tag=1014
static KDDockWidgetsBindings_wrappersNS::Layout_wrapper *fromWrapperPtr(void *ptr)
{
return reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Layout_wrapper *>(ptr);
}
extern "C" {
// tag=1049
void c_KDDockWidgets__Controllers__Layout_Finalizer(void *, void *cppObj, void *)
{
delete reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Layout_wrapper *>(cppObj);
}
// tag=1050
// asDropArea() const
void *c_KDDockWidgets__Controllers__Layout__asDropArea(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->asDropArea();
}
// tag=1050
// checkSanity() const
bool c_KDDockWidgets__Controllers__Layout__checkSanity(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->checkSanity();
}
// tag=1050
// clearLayout()
void c_KDDockWidgets__Controllers__Layout__clearLayout(void *thisObj)
{
// tag=1010
fromPtr(thisObj)->clearLayout();
}
// tag=1050
// count() const
int c_KDDockWidgets__Controllers__Layout__count(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->count();
}
// tag=1050
// customEvent(QEvent * event)
void c_KDDockWidgets__Controllers__Layout__customEvent_QEvent(void *thisObj, void *event_)
{
auto event = reinterpret_cast<QEvent *>(event_);
// tag=1011
// tag=1074
fromWrapperPtr(thisObj)->customEvent_nocallback(event);
}
// tag=1050
// dumpLayout() const
void c_KDDockWidgets__Controllers__Layout__dumpLayout(void *thisObj)
{
// tag=1010
fromPtr(thisObj)->dumpLayout();
}
// tag=1050
// event(QEvent * event)
bool c_KDDockWidgets__Controllers__Layout__event_QEvent(void *thisObj, void *event_)
{
auto event = reinterpret_cast<QEvent *>(event_);
return
// tag=1016
[&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Layout_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->event_nocallback(event);} else { return targetPtr->event(event);} }();
}
// tag=1050
// eventFilter(QObject * watched, QEvent * event)
bool c_KDDockWidgets__Controllers__Layout__eventFilter_QObject_QEvent(void *thisObj, void *watched_, void *event_)
{
auto watched = reinterpret_cast<QObject *>(watched_);
auto event = reinterpret_cast<QEvent *>(event_);
return
// tag=1016
[&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Layout_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->eventFilter_nocallback(watched,event);} else { return targetPtr->eventFilter(watched,event);} }();
}
// tag=1050
// isInMainWindow(bool honourNesting) const
bool c_KDDockWidgets__Controllers__Layout__isInMainWindow_bool(void *thisObj, bool honourNesting)
{
return
// tag=1010
fromPtr(thisObj)->isInMainWindow(honourNesting);
}
// tag=1050
// layoutHeight() const
int c_KDDockWidgets__Controllers__Layout__layoutHeight(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->layoutHeight();
}
// tag=1050
// layoutMaximumSizeHint() const
void *c_KDDockWidgets__Controllers__Layout__layoutMaximumSizeHint(void *thisObj)
{
return
// tag=1010
// tag=1072
new Dartagnan::ValueWrapper<QSize> { fromPtr(thisObj)->layoutMaximumSizeHint() };
}
// tag=1050
// layoutMinimumSize() const
void *c_KDDockWidgets__Controllers__Layout__layoutMinimumSize(void *thisObj)
{
return
// tag=1010
// tag=1072
new Dartagnan::ValueWrapper<QSize> { fromPtr(thisObj)->layoutMinimumSize() };
}
// tag=1050
// layoutSize() const
void *c_KDDockWidgets__Controllers__Layout__layoutSize(void *thisObj)
{
return
// tag=1010
// tag=1072
new Dartagnan::ValueWrapper<QSize> { fromPtr(thisObj)->layoutSize() };
}
// tag=1050
// layoutWidth() const
int c_KDDockWidgets__Controllers__Layout__layoutWidth(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->layoutWidth();
}
// tag=1050
// placeholderCount() const
int c_KDDockWidgets__Controllers__Layout__placeholderCount(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->placeholderCount();
}
// tag=1050
// setLayoutMinimumSize(QSize arg__1)
void c_KDDockWidgets__Controllers__Layout__setLayoutMinimumSize_QSize(void *thisObj, void *arg__1_)
{
auto &arg__1 = *reinterpret_cast<QSize *>(arg__1_);
// tag=1011
// tag=1073
fromWrapperPtr(thisObj)->setLayoutMinimumSize(arg__1);
}
// tag=1050
// setLayoutSize(QSize arg__1)
void c_KDDockWidgets__Controllers__Layout__setLayoutSize_QSize(void *thisObj, void *arg__1_)
{
auto &arg__1 = *reinterpret_cast<QSize *>(arg__1_);
// tag=1010
fromPtr(thisObj)->setLayoutSize(arg__1);
}
// tag=1050
// setParentView_impl(KDDockWidgets::View * parent)
void c_KDDockWidgets__Controllers__Layout__setParentView_impl_View(void *thisObj, void *parent_)
{
auto parent = reinterpret_cast<KDDockWidgets::View *>(parent_);
// tag=1011
// tag=1074
fromWrapperPtr(thisObj)->setParentView_impl_nocallback(parent);
}
// tag=1050
// updateSizeConstraints()
void c_KDDockWidgets__Controllers__Layout__updateSizeConstraints(void *thisObj)
{
// tag=1010
fromPtr(thisObj)->updateSizeConstraints();
}
// tag=1050
// viewAboutToBeDeleted()
void c_KDDockWidgets__Controllers__Layout__viewAboutToBeDeleted(void *thisObj)
{
// tag=1010
fromPtr(thisObj)->viewAboutToBeDeleted();
}
// tag=1050
// visibleCount() const
int c_KDDockWidgets__Controllers__Layout__visibleCount(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->visibleCount();
}
void c_KDDockWidgets__Controllers__Layout__destructor(void *thisObj)
{
// tag=1055
delete fromPtr(thisObj);
}
void c_KDDockWidgets__Controllers__Layout__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
{
// tag=1048
auto wrapper = fromWrapperPtr(ptr);
switch (methodId) {
case 294:
wrapper->m_customEventCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Layout_wrapper::Callback_customEvent>(callback);
break;
case 305:
wrapper->m_eventCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Layout_wrapper::Callback_event>(callback);
break;
case 306:
wrapper->m_eventFilterCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Layout_wrapper::Callback_eventFilter>(callback);
break;
case 692:
wrapper->m_setParentView_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Layout_wrapper::Callback_setParentView_impl>(callback);
break;
}
}
}

View File

@@ -0,0 +1,187 @@
/*
This file is part of KDDockWidgets.
SPDX-FileCopyrightText: 2019-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
Author: Sérgio Martins <sergio.martins@kdab.com>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
Contact KDAB at <info@kdab.com> for commercial licensing options.
*/
// tag=1040
#include "KDDockWidgetsBindings_exports.h"
#include <controllers/Layout.h>
#include <qsize.h>
#include <DropArea.h>
#include <qcoreevent.h>
#include <View.h>
#include <qrect.h>
#include <qpoint.h>
#include <qstring.h>
#include <qobject.h>
namespace KDDockWidgetsBindings_wrappersNS {
// tag=1017
class Layout_wrapper : public ::KDDockWidgets::Controllers::Layout
{
public:
~Layout_wrapper();
// tag=1041
KDDockWidgets::Controllers::DropArea *asDropArea() const;
// tag=1041
bool checkSanity() const;
// tag=1041
void clearLayout();
// tag=1041
int count() const;
// tag=1041
virtual void customEvent(QEvent *event);
// tag=1008
virtual void customEvent_nocallback(QEvent *event);
// tag=1041
void dumpLayout() const;
// tag=1041
virtual bool event(QEvent *event);
// tag=1008
virtual bool event_nocallback(QEvent *event);
// tag=1041
virtual bool eventFilter(QObject *watched, QEvent *event);
// tag=1008
virtual bool eventFilter_nocallback(QObject *watched, QEvent *event);
// tag=1041
bool isInMainWindow(bool honourNesting = false) const;
// tag=1041
int layoutHeight() const;
// tag=1041
QSize layoutMaximumSizeHint() const;
// tag=1041
QSize layoutMinimumSize() const;
// tag=1041
QSize layoutSize() const;
// tag=1041
int layoutWidth() const;
// tag=1041
int placeholderCount() const;
// tag=1041
void setLayoutMinimumSize(QSize arg__1);
// tag=1041
void setLayoutSize(QSize arg__1);
// tag=1041
virtual void setParentView_impl(KDDockWidgets::View *parent);
// tag=1008
virtual void setParentView_impl_nocallback(KDDockWidgets::View *parent);
// tag=1041
void updateSizeConstraints();
// tag=1041
void viewAboutToBeDeleted();
// tag=1041
int visibleCount() const;
// tag=1042
typedef void (*Callback_customEvent)(void *, QEvent *event);
Callback_customEvent m_customEventCallback = nullptr;
// tag=1042
typedef bool (*Callback_event)(void *, QEvent *event);
Callback_event m_eventCallback = nullptr;
// tag=1042
typedef bool (*Callback_eventFilter)(void *, QObject *watched, QEvent *event);
Callback_eventFilter m_eventFilterCallback = nullptr;
// tag=1042
typedef void (*Callback_setParentView_impl)(void *, KDDockWidgets::View *parent);
Callback_setParentView_impl m_setParentView_implCallback = nullptr;
};
}
extern "C" {
// tag=1067
// KDDockWidgets::Controllers::Layout::asDropArea() const
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__Controllers__Layout__asDropArea(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::checkSanity() const
KDDockWidgetsBindings_EXPORT bool c_KDDockWidgets__Controllers__Layout__checkSanity(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::clearLayout()
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__Layout__clearLayout(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::count() const
KDDockWidgetsBindings_EXPORT int c_KDDockWidgets__Controllers__Layout__count(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::customEvent(QEvent * event)
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__Layout__customEvent_QEvent(void *thisObj, void *event_);
// tag=1067
// KDDockWidgets::Controllers::Layout::dumpLayout() const
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__Layout__dumpLayout(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::event(QEvent * event)
KDDockWidgetsBindings_EXPORT bool c_KDDockWidgets__Controllers__Layout__event_QEvent(void *thisObj, void *event_);
// tag=1067
// KDDockWidgets::Controllers::Layout::eventFilter(QObject * watched, QEvent * event)
KDDockWidgetsBindings_EXPORT bool c_KDDockWidgets__Controllers__Layout__eventFilter_QObject_QEvent(void *thisObj, void *watched_, void *event_);
// tag=1067
// KDDockWidgets::Controllers::Layout::isInMainWindow(bool honourNesting) const
KDDockWidgetsBindings_EXPORT bool c_KDDockWidgets__Controllers__Layout__isInMainWindow_bool(void *thisObj, bool honourNesting);
// tag=1067
// KDDockWidgets::Controllers::Layout::layoutHeight() const
KDDockWidgetsBindings_EXPORT int c_KDDockWidgets__Controllers__Layout__layoutHeight(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::layoutMaximumSizeHint() const
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__Controllers__Layout__layoutMaximumSizeHint(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::layoutMinimumSize() const
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__Controllers__Layout__layoutMinimumSize(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::layoutSize() const
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__Controllers__Layout__layoutSize(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::layoutWidth() const
KDDockWidgetsBindings_EXPORT int c_KDDockWidgets__Controllers__Layout__layoutWidth(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::placeholderCount() const
KDDockWidgetsBindings_EXPORT int c_KDDockWidgets__Controllers__Layout__placeholderCount(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::setLayoutMinimumSize(QSize arg__1)
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__Layout__setLayoutMinimumSize_QSize(void *thisObj, void *arg__1_);
// tag=1067
// KDDockWidgets::Controllers::Layout::setLayoutSize(QSize arg__1)
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__Layout__setLayoutSize_QSize(void *thisObj, void *arg__1_);
// tag=1067
// KDDockWidgets::Controllers::Layout::setParentView_impl(KDDockWidgets::View * parent)
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__Layout__setParentView_impl_View(void *thisObj, void *parent_);
// tag=1067
// KDDockWidgets::Controllers::Layout::updateSizeConstraints()
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__Layout__updateSizeConstraints(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::viewAboutToBeDeleted()
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__Layout__viewAboutToBeDeleted(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::visibleCount() const
KDDockWidgetsBindings_EXPORT int c_KDDockWidgets__Controllers__Layout__visibleCount(void *thisObj);
// tag=1066
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__Layout__destructor(void *thisObj);
// tag=1046
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__Layout__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
// tag=1047
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__Controllers__Layout_Finalizer(void *, void *cppObj, void *);
}

View File

@@ -916,94 +916,94 @@ void c_KDDockWidgets__Platform_flutter__registerVirtualMethodCallback(void *ptr,
// tag=1048
auto wrapper = fromWrapperPtr(ptr);
switch (methodId) {
case 622:
case 624:
wrapper->m_applicationNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_applicationName>(callback);
break;
case 623:
case 625:
wrapper->m_createDefaultViewFactoryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_createDefaultViewFactory>(callback);
break;
case 624:
case 626:
wrapper->m_createViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_createView>(callback);
break;
case 625:
case 627:
wrapper->m_hasActivePopupCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_hasActivePopup>(callback);
break;
case 626:
case 628:
wrapper->m_inDisallowedDragViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_inDisallowedDragView>(callback);
break;
case 628:
case 630:
wrapper->m_installMessageHandlerCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_installMessageHandler>(callback);
break;
case 629:
case 631:
wrapper->m_isLeftMouseButtonPressedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_isLeftMouseButtonPressed>(callback);
break;
case 630:
case 632:
wrapper->m_isProcessingAppQuitEventCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_isProcessingAppQuitEvent>(callback);
break;
case 631:
case 633:
wrapper->m_nameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_name>(callback);
break;
case 632:
case 634:
wrapper->m_organizationNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_organizationName>(callback);
break;
case 633:
case 635:
wrapper->m_restoreMouseCursorCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_restoreMouseCursor>(callback);
break;
case 634:
case 636:
wrapper->m_screenNumberForCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_screenNumberFor>(callback);
break;
case 635:
case 637:
wrapper->m_screenSizeForCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_screenSizeFor>(callback);
break;
case 636:
case 638:
wrapper->m_sendEventCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_sendEvent>(callback);
break;
case 637:
case 639:
wrapper->m_setMouseCursorCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_setMouseCursor>(callback);
break;
case 638:
case 640:
wrapper->m_tests_createFocusableViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_createFocusableView>(callback);
break;
case 639:
case 641:
wrapper->m_tests_createNonClosableViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_createNonClosableView>(callback);
break;
case 640:
case 642:
wrapper->m_tests_createViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_createView>(callback);
break;
case 641:
case 643:
wrapper->m_tests_deinitPlatform_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_deinitPlatform_impl>(callback);
break;
case 642:
case 644:
wrapper->m_tests_initPlatform_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_initPlatform_impl>(callback);
break;
case 643:
case 645:
wrapper->m_tests_waitCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_wait>(callback);
break;
case 644:
case 646:
wrapper->m_tests_waitForDeletedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_waitForDeleted>(callback);
break;
case 645:
case 647:
wrapper->m_tests_waitForDeleted_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_waitForDeleted_2>(callback);
break;
case 646:
case 648:
wrapper->m_tests_waitForEventCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_waitForEvent>(callback);
break;
case 647:
case 649:
wrapper->m_tests_waitForEvent_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_waitForEvent_2>(callback);
break;
case 648:
case 650:
wrapper->m_tests_waitForResizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_waitForResize>(callback);
break;
case 649:
case 651:
wrapper->m_tests_waitForResize_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_tests_waitForResize_2>(callback);
break;
case 650:
case 652:
wrapper->m_ungrabMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_ungrabMouse>(callback);
break;
case 651:
case 653:
wrapper->m_uninstallMessageHandlerCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_uninstallMessageHandler>(callback);
break;
case 652:
case 654:
wrapper->m_usesFallbackMouseGrabberCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Platform_flutter_wrapper::Callback_usesFallbackMouseGrabber>(callback);
break;
}

View File

@@ -348,17 +348,6 @@ void c_QObject__destroyed_QObject(void *thisObj, void *arg__1_)
fromPtr(thisObj)->destroyed(arg__1);
}
// tag=1079
void c_QObject__onDestroyed_QObject(void *thisObj, void *contextQObject, void *callback)
{
auto instance = reinterpret_cast<QObject *>(thisObj);
auto context = reinterpret_cast<QObject *>(contextQObject);
QObject::connect(instance, &QObject::destroyed, context ? context : instance, [thisObj, callback] {
typedef void (*SignalHandler_callback)(void *);
auto dartCallback = reinterpret_cast<SignalHandler_callback>(callback);
dartCallback(thisObj); });
}
// tag=1050
// disconnect(const QObject * receiver, const char * member) const
bool c_QObject__disconnect_QObject_char(void *thisObj, void *receiver_, const char *member)

View File

@@ -32,6 +32,24 @@ ViewFactory_flutter_wrapper::ViewFactory_flutter_wrapper()
: ::KDDockWidgets::ViewFactory_flutter()
{
}
KDDockWidgets::View *ViewFactory_flutter_wrapper::createDropArea(KDDockWidgets::Controllers::DropArea *arg__1, KDDockWidgets::View *parent) const
{
// tag=1000
if (m_createDropAreaCallback) {
// tag=1001
const void *thisPtr = this;
return m_createDropAreaCallback(const_cast<void *>(thisPtr), arg__1, parent);
} else {
// tag=1002
return ::KDDockWidgets::ViewFactory_flutter::createDropArea(arg__1, parent);
}
}
// tag=1009
KDDockWidgets::View *ViewFactory_flutter_wrapper::createDropArea_nocallback(KDDockWidgets::Controllers::DropArea *arg__1, KDDockWidgets::View *parent) const
{
// tag=1003
return ::KDDockWidgets::ViewFactory_flutter::createDropArea(arg__1, parent);
}
KDDockWidgets::View *ViewFactory_flutter_wrapper::createRubberBand(KDDockWidgets::View *parent) const
{
// tag=1000
@@ -143,6 +161,17 @@ void *c_KDDockWidgets__ViewFactory_flutter__constructor()
return reinterpret_cast<void *>(ptr);
}
// tag=1050
// createDropArea(KDDockWidgets::Controllers::DropArea * arg__1, KDDockWidgets::View * parent) const
void *c_KDDockWidgets__ViewFactory_flutter__createDropArea_DropArea_View(void *thisObj, void *arg__1_, void *parent_)
{
auto arg__1 = reinterpret_cast<KDDockWidgets::Controllers::DropArea *>(arg__1_);
auto parent = reinterpret_cast<KDDockWidgets::View *>(parent_);
return
// tag=1016
[&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::ViewFactory_flutter_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createDropArea_nocallback(arg__1,parent);} else { return targetPtr->createDropArea(arg__1,parent);} }();
}
// tag=1050
// createRubberBand(KDDockWidgets::View * parent) const
void *c_KDDockWidgets__ViewFactory_flutter__createRubberBand_View(void *thisObj, void *parent_)
@@ -206,7 +235,10 @@ void c_KDDockWidgets__ViewFactory_flutter__registerVirtualMethodCallback(void *p
// tag=1048
auto wrapper = fromWrapperPtr(ptr);
switch (methodId) {
case 591:
case 592:
wrapper->m_createDropAreaCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::ViewFactory_flutter_wrapper::Callback_createDropArea>(callback);
break;
case 593:
wrapper->m_createRubberBandCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::ViewFactory_flutter_wrapper::Callback_createRubberBand>(callback);
break;
case 294:

View File

@@ -14,6 +14,7 @@
#include <ViewFactory_flutter.h>
#include <qstring.h>
#include <View.h>
#include <DropArea.h>
#include <qcoreevent.h>
#include <qobject.h>
@@ -26,6 +27,10 @@ public:
// tag=1041
ViewFactory_flutter_wrapper();
// tag=1041
virtual KDDockWidgets::View *createDropArea(KDDockWidgets::Controllers::DropArea *arg__1, KDDockWidgets::View *parent) const;
// tag=1008
virtual KDDockWidgets::View *createDropArea_nocallback(KDDockWidgets::Controllers::DropArea *arg__1, KDDockWidgets::View *parent) const;
// tag=1041
virtual KDDockWidgets::View *createRubberBand(KDDockWidgets::View *parent) const;
// tag=1008
virtual KDDockWidgets::View *createRubberBand_nocallback(KDDockWidgets::View *parent) const;
@@ -44,6 +49,9 @@ public:
// tag=1041
static QString tr(const char *s, const char *c, int n);
// tag=1042
typedef KDDockWidgets::View *(*Callback_createDropArea)(void *, KDDockWidgets::Controllers::DropArea *arg__1, KDDockWidgets::View *parent);
Callback_createDropArea m_createDropAreaCallback = nullptr;
// tag=1042
typedef KDDockWidgets::View *(*Callback_createRubberBand)(void *, KDDockWidgets::View *parent);
Callback_createRubberBand m_createRubberBandCallback = nullptr;
// tag=1042
@@ -63,6 +71,10 @@ extern "C" {
// KDDockWidgets::ViewFactory_flutter::ViewFactory_flutter()
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__ViewFactory_flutter__constructor();
// tag=1067
// KDDockWidgets::ViewFactory_flutter::createDropArea(KDDockWidgets::Controllers::DropArea * arg__1, KDDockWidgets::View * parent) const
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__ViewFactory_flutter__createDropArea_DropArea_View(void *thisObj, void *arg__1_, void *parent_);
// tag=1067
// KDDockWidgets::ViewFactory_flutter::createRubberBand(KDDockWidgets::View * parent) const
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__ViewFactory_flutter__createRubberBand_View(void *thisObj, void *parent_);

View File

@@ -32,6 +32,28 @@ ViewFactory_wrapper::ViewFactory_wrapper()
: ::KDDockWidgets::ViewFactory()
{
}
KDDockWidgets::View *ViewFactory_wrapper::createDropArea(KDDockWidgets::Controllers::DropArea *arg__1, KDDockWidgets::View *parent) const
{
// tag=1000
if (m_createDropAreaCallback) {
// tag=1001
const void *thisPtr = this;
return m_createDropAreaCallback(const_cast<void *>(thisPtr), arg__1, parent);
} else {
// tag=1015
qWarning() << Q_FUNC_INFO << "Warning: Calling pure-virtual";
return {};
}
}
// tag=1009
KDDockWidgets::View *ViewFactory_wrapper::createDropArea_nocallback(KDDockWidgets::Controllers::DropArea *arg__1, KDDockWidgets::View *parent) const
{
// tag=1003
// tag=1007
qWarning() << Q_FUNC_INFO << "Warning: Calling pure-virtual";
return {};
}
KDDockWidgets::View *ViewFactory_wrapper::createRubberBand(KDDockWidgets::View *parent) const
{
// tag=1000
@@ -147,6 +169,17 @@ void *c_KDDockWidgets__ViewFactory__constructor()
return reinterpret_cast<void *>(ptr);
}
// tag=1050
// createDropArea(KDDockWidgets::Controllers::DropArea * arg__1, KDDockWidgets::View * parent) const
void *c_KDDockWidgets__ViewFactory__createDropArea_DropArea_View(void *thisObj, void *arg__1_, void *parent_)
{
auto arg__1 = reinterpret_cast<KDDockWidgets::Controllers::DropArea *>(arg__1_);
auto parent = reinterpret_cast<KDDockWidgets::View *>(parent_);
return
// tag=1016
[&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createDropArea_nocallback(arg__1,parent);} else { return targetPtr->createDropArea(arg__1,parent);} }();
}
// tag=1050
// createRubberBand(KDDockWidgets::View * parent) const
void *c_KDDockWidgets__ViewFactory__createRubberBand_View(void *thisObj, void *parent_)
@@ -168,17 +201,6 @@ void c_KDDockWidgets__ViewFactory__customEvent_QEvent(void *thisObj, void *event
fromWrapperPtr(thisObj)->customEvent_nocallback(event);
}
// tag=1079
void c_KDDockWidgets__ViewFactory__onDestroyed_QObject(void *thisObj, void *contextQObject, void *callback)
{
auto instance = reinterpret_cast<ViewFactory *>(thisObj);
auto context = reinterpret_cast<QObject *>(contextQObject);
QObject::connect(instance, &ViewFactory::destroyed, context ? context : instance, [thisObj, callback] {
typedef void (*SignalHandler_callback)(void *);
auto dartCallback = reinterpret_cast<SignalHandler_callback>(callback);
dartCallback(thisObj); });
}
// tag=1050
// event(QEvent * event)
bool c_KDDockWidgets__ViewFactory__event_QEvent(void *thisObj, void *event_)
@@ -221,7 +243,10 @@ void c_KDDockWidgets__ViewFactory__registerVirtualMethodCallback(void *ptr, void
// tag=1048
auto wrapper = fromWrapperPtr(ptr);
switch (methodId) {
case 591:
case 592:
wrapper->m_createDropAreaCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::ViewFactory_wrapper::Callback_createDropArea>(callback);
break;
case 593:
wrapper->m_createRubberBandCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::ViewFactory_wrapper::Callback_createRubberBand>(callback);
break;
case 294:

View File

@@ -14,10 +14,11 @@
#include <ViewFactory.h>
#include <qstring.h>
#include <View.h>
#include <DropArea.h>
#include <qobject.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qbytearray.h>
#include <qcoreevent.h>
namespace KDDockWidgetsBindings_wrappersNS {
// tag=1017
@@ -28,6 +29,10 @@ public:
// tag=1041
ViewFactory_wrapper();
// tag=1041
virtual KDDockWidgets::View *createDropArea(KDDockWidgets::Controllers::DropArea *arg__1, KDDockWidgets::View *parent) const;
// tag=1008
virtual KDDockWidgets::View *createDropArea_nocallback(KDDockWidgets::Controllers::DropArea *arg__1, KDDockWidgets::View *parent) const;
// tag=1041
virtual KDDockWidgets::View *createRubberBand(KDDockWidgets::View *parent) const;
// tag=1008
virtual KDDockWidgets::View *createRubberBand_nocallback(KDDockWidgets::View *parent) const;
@@ -46,6 +51,9 @@ public:
// tag=1041
static QString tr(const char *s, const char *c, int n);
// tag=1042
typedef KDDockWidgets::View *(*Callback_createDropArea)(void *, KDDockWidgets::Controllers::DropArea *arg__1, KDDockWidgets::View *parent);
Callback_createDropArea m_createDropAreaCallback = nullptr;
// tag=1042
typedef KDDockWidgets::View *(*Callback_createRubberBand)(void *, KDDockWidgets::View *parent);
Callback_createRubberBand m_createRubberBandCallback = nullptr;
// tag=1042
@@ -65,6 +73,10 @@ extern "C" {
// KDDockWidgets::ViewFactory::ViewFactory()
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__ViewFactory__constructor();
// tag=1067
// KDDockWidgets::ViewFactory::createDropArea(KDDockWidgets::Controllers::DropArea * arg__1, KDDockWidgets::View * parent) const
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__ViewFactory__createDropArea_DropArea_View(void *thisObj, void *arg__1_, void *parent_);
// tag=1067
// KDDockWidgets::ViewFactory::createRubberBand(KDDockWidgets::View * parent) const
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__ViewFactory__createRubberBand_View(void *thisObj, void *parent_);

View File

@@ -1522,163 +1522,163 @@ void c_KDDockWidgets__Views__View_flutter__registerVirtualMethodCallback(void *p
// tag=1048
auto wrapper = fromWrapperPtr(ptr);
switch (methodId) {
case 702:
case 704:
wrapper->m_activateWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_activateWindow>(callback);
break;
case 704:
case 708:
wrapper->m_closeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_close>(callback);
break;
case 707:
case 711:
wrapper->m_createPlatformWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_createPlatformWindow>(callback);
break;
case 711:
case 715:
wrapper->m_free_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_free_impl>(callback);
break;
case 713:
case 717:
wrapper->m_geometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_geometry>(callback);
break;
case 715:
case 719:
wrapper->m_grabMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_grabMouse>(callback);
break;
case 718:
case 722:
wrapper->m_hasFocusCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_hasFocus>(callback);
break;
case 720:
case 724:
wrapper->m_hideCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_hide>(callback);
break;
case 723:
case 727:
wrapper->m_initCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_init>(callback);
break;
case 724:
case 728:
wrapper->m_isActiveWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_isActiveWindow>(callback);
break;
case 725:
case 729:
wrapper->m_isMaximizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_isMaximized>(callback);
break;
case 726:
case 730:
wrapper->m_isMinimizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_isMinimized>(callback);
break;
case 727:
case 731:
wrapper->m_isNullCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_isNull>(callback);
break;
case 728:
case 732:
wrapper->m_isRootViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_isRootView>(callback);
break;
case 729:
case 733:
wrapper->m_isVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_isVisible>(callback);
break;
case 730:
case 734:
wrapper->m_mapFromGlobalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_mapFromGlobal>(callback);
break;
case 731:
case 735:
wrapper->m_mapToCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_mapTo>(callback);
break;
case 732:
case 736:
wrapper->m_mapToGlobalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_mapToGlobal>(callback);
break;
case 733:
case 737:
wrapper->m_maxSizeHintCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_maxSizeHint>(callback);
break;
case 734:
case 738:
wrapper->m_maximumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_maximumSize>(callback);
break;
case 735:
case 739:
wrapper->m_minSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_minSize>(callback);
break;
case 736:
case 740:
wrapper->m_minimumHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_minimumHeight>(callback);
break;
case 737:
case 741:
wrapper->m_minimumWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_minimumWidth>(callback);
break;
case 739:
case 743:
wrapper->m_move_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_move_2>(callback);
break;
case 740:
case 744:
wrapper->m_normalGeometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_normalGeometry>(callback);
break;
case 741:
case 745:
wrapper->m_objectNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_objectName>(callback);
break;
case 742:
case 746:
wrapper->m_onResizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_onResize>(callback);
break;
case 745:
case 749:
wrapper->m_raiseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_raise>(callback);
break;
case 746:
case 750:
wrapper->m_raiseAndActivateCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_raiseAndActivate>(callback);
break;
case 748:
case 752:
wrapper->m_releaseKeyboardCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_releaseKeyboard>(callback);
break;
case 749:
case 753:
wrapper->m_releaseMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_releaseMouse>(callback);
break;
case 753:
case 757:
wrapper->m_setCursorCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setCursor>(callback);
break;
case 754:
case 758:
wrapper->m_setFixedHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setFixedHeight>(callback);
break;
case 755:
case 759:
wrapper->m_setFixedWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setFixedWidth>(callback);
break;
case 756:
case 760:
wrapper->m_setGeometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setGeometry>(callback);
break;
case 757:
case 761:
wrapper->m_setHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setHeight>(callback);
break;
case 758:
case 762:
wrapper->m_setMaximumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setMaximumSize>(callback);
break;
case 759:
case 763:
wrapper->m_setMinimumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setMinimumSize>(callback);
break;
case 760:
case 764:
wrapper->m_setMouseTrackingCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setMouseTracking>(callback);
break;
case 761:
case 765:
wrapper->m_setObjectNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setObjectName>(callback);
break;
case 762:
case 766:
wrapper->m_setParentCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setParent>(callback);
break;
case 764:
case 768:
wrapper->m_setSize_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setSize_2>(callback);
break;
case 765:
case 769:
wrapper->m_setVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setVisible>(callback);
break;
case 766:
case 770:
wrapper->m_setWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setWidth>(callback);
break;
case 767:
case 771:
wrapper->m_setWindowOpacityCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setWindowOpacity>(callback);
break;
case 768:
case 772:
wrapper->m_setWindowTitleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setWindowTitle>(callback);
break;
case 769:
case 773:
wrapper->m_setZOrderCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_setZOrder>(callback);
break;
case 770:
case 774:
wrapper->m_showCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_show>(callback);
break;
case 771:
case 775:
wrapper->m_showMaximizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_showMaximized>(callback);
break;
case 772:
case 776:
wrapper->m_showMinimizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_showMinimized>(callback);
break;
case 773:
case 777:
wrapper->m_showNormalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_showNormal>(callback);
break;
case 775:
case 779:
wrapper->m_sizeHintCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_sizeHint>(callback);
break;
case 776:
case 780:
wrapper->m_updateCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_flutter_wrapper::Callback_update>(callback);
break;
}

View File

@@ -17,6 +17,8 @@
#include <View.h>
#include <qpoint.h>
#include <qstring.h>
#include <DropArea.h>
#include <controllers/Layout.h>
#include <Controller.h>
namespace KDDockWidgetsBindings_wrappersNS {

View File

@@ -56,6 +56,20 @@ void View_wrapper::activateWindow_nocallback()
qWarning() << Q_FUNC_INFO << "Warning: Calling pure-virtual";
return;
}
KDDockWidgets::Controllers::DropArea *View_wrapper::asDropAreaController() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::View::asDropAreaController();
}
KDDockWidgets::Controllers::Layout *View_wrapper::asLayout() const
{
// tag=1000
// tag=1004
return ::KDDockWidgets::View::asLayout();
}
QSize View_wrapper::boundedMaxSize(QSize min, QSize max)
{
// tag=1000
@@ -1380,6 +1394,24 @@ void c_KDDockWidgets__View__activateWindow(void *thisObj)
[&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->activateWindow_nocallback();} else { return targetPtr->activateWindow();} }();
}
// tag=1050
// asDropAreaController() const
void *c_KDDockWidgets__View__asDropAreaController(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->asDropAreaController();
}
// tag=1050
// asLayout() const
void *c_KDDockWidgets__View__asLayout(void *thisObj)
{
return
// tag=1010
fromPtr(thisObj)->asLayout();
}
// tag=1050
// boundedMaxSize(QSize min, QSize max)
void *c_static_KDDockWidgets__View__boundedMaxSize_QSize_QSize(void *min_, void *max_)
@@ -2104,163 +2136,163 @@ void c_KDDockWidgets__View__registerVirtualMethodCallback(void *ptr, void *callb
// tag=1048
auto wrapper = fromWrapperPtr(ptr);
switch (methodId) {
case 702:
case 704:
wrapper->m_activateWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_activateWindow>(callback);
break;
case 704:
case 708:
wrapper->m_closeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_close>(callback);
break;
case 707:
case 711:
wrapper->m_createPlatformWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_createPlatformWindow>(callback);
break;
case 711:
case 715:
wrapper->m_free_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_free_impl>(callback);
break;
case 713:
case 717:
wrapper->m_geometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_geometry>(callback);
break;
case 715:
case 719:
wrapper->m_grabMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_grabMouse>(callback);
break;
case 718:
case 722:
wrapper->m_hasFocusCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_hasFocus>(callback);
break;
case 720:
case 724:
wrapper->m_hideCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_hide>(callback);
break;
case 723:
case 727:
wrapper->m_initCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_init>(callback);
break;
case 724:
case 728:
wrapper->m_isActiveWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_isActiveWindow>(callback);
break;
case 725:
case 729:
wrapper->m_isMaximizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_isMaximized>(callback);
break;
case 726:
case 730:
wrapper->m_isMinimizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_isMinimized>(callback);
break;
case 727:
case 731:
wrapper->m_isNullCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_isNull>(callback);
break;
case 728:
case 732:
wrapper->m_isRootViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_isRootView>(callback);
break;
case 729:
case 733:
wrapper->m_isVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_isVisible>(callback);
break;
case 730:
case 734:
wrapper->m_mapFromGlobalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_mapFromGlobal>(callback);
break;
case 731:
case 735:
wrapper->m_mapToCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_mapTo>(callback);
break;
case 732:
case 736:
wrapper->m_mapToGlobalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_mapToGlobal>(callback);
break;
case 733:
case 737:
wrapper->m_maxSizeHintCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_maxSizeHint>(callback);
break;
case 734:
case 738:
wrapper->m_maximumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_maximumSize>(callback);
break;
case 735:
case 739:
wrapper->m_minSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_minSize>(callback);
break;
case 736:
case 740:
wrapper->m_minimumHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_minimumHeight>(callback);
break;
case 737:
case 741:
wrapper->m_minimumWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_minimumWidth>(callback);
break;
case 739:
case 743:
wrapper->m_move_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_move_2>(callback);
break;
case 740:
case 744:
wrapper->m_normalGeometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_normalGeometry>(callback);
break;
case 741:
case 745:
wrapper->m_objectNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_objectName>(callback);
break;
case 742:
case 746:
wrapper->m_onResizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_onResize>(callback);
break;
case 745:
case 749:
wrapper->m_raiseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_raise>(callback);
break;
case 746:
case 750:
wrapper->m_raiseAndActivateCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_raiseAndActivate>(callback);
break;
case 748:
case 752:
wrapper->m_releaseKeyboardCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_releaseKeyboard>(callback);
break;
case 749:
case 753:
wrapper->m_releaseMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_releaseMouse>(callback);
break;
case 753:
case 757:
wrapper->m_setCursorCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setCursor>(callback);
break;
case 754:
case 758:
wrapper->m_setFixedHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setFixedHeight>(callback);
break;
case 755:
case 759:
wrapper->m_setFixedWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setFixedWidth>(callback);
break;
case 756:
case 760:
wrapper->m_setGeometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setGeometry>(callback);
break;
case 757:
case 761:
wrapper->m_setHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setHeight>(callback);
break;
case 758:
case 762:
wrapper->m_setMaximumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setMaximumSize>(callback);
break;
case 759:
case 763:
wrapper->m_setMinimumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setMinimumSize>(callback);
break;
case 760:
case 764:
wrapper->m_setMouseTrackingCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setMouseTracking>(callback);
break;
case 761:
case 765:
wrapper->m_setObjectNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setObjectName>(callback);
break;
case 762:
case 766:
wrapper->m_setParentCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setParent>(callback);
break;
case 764:
case 768:
wrapper->m_setSize_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setSize_2>(callback);
break;
case 765:
case 769:
wrapper->m_setVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setVisible>(callback);
break;
case 766:
case 770:
wrapper->m_setWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setWidth>(callback);
break;
case 767:
case 771:
wrapper->m_setWindowOpacityCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setWindowOpacity>(callback);
break;
case 768:
case 772:
wrapper->m_setWindowTitleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setWindowTitle>(callback);
break;
case 769:
case 773:
wrapper->m_setZOrderCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_setZOrder>(callback);
break;
case 770:
case 774:
wrapper->m_showCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_show>(callback);
break;
case 771:
case 775:
wrapper->m_showMaximizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_showMaximized>(callback);
break;
case 772:
case 776:
wrapper->m_showMinimizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_showMinimized>(callback);
break;
case 773:
case 777:
wrapper->m_showNormalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_showNormal>(callback);
break;
case 775:
case 779:
wrapper->m_sizeHintCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_sizeHint>(callback);
break;
case 776:
case 780:
wrapper->m_updateCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::View_wrapper::Callback_update>(callback);
break;
}

View File

@@ -17,6 +17,8 @@
#include <qpoint.h>
#include <qstring.h>
#include <Controller.h>
#include <DropArea.h>
#include <controllers/Layout.h>
namespace KDDockWidgetsBindings_wrappersNS {
// tag=1017
@@ -31,6 +33,10 @@ public:
// tag=1008
virtual void activateWindow_nocallback();
// tag=1041
KDDockWidgets::Controllers::DropArea *asDropAreaController() const;
// tag=1041
KDDockWidgets::Controllers::Layout *asLayout() const;
// tag=1041
static QSize boundedMaxSize(QSize min, QSize max);
// tag=1041
virtual bool close();
@@ -459,6 +465,14 @@ KDDockWidgetsBindings_EXPORT bool c_KDDockWidgets__View__aboutToBeDestroyed(void
// KDDockWidgets::View::activateWindow()
KDDockWidgetsBindings_EXPORT void c_KDDockWidgets__View__activateWindow(void *thisObj);
// tag=1067
// KDDockWidgets::View::asDropAreaController() const
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__View__asDropAreaController(void *thisObj);
// tag=1067
// KDDockWidgets::View::asLayout() const
KDDockWidgetsBindings_EXPORT void *c_KDDockWidgets__View__asLayout(void *thisObj);
// tag=1067
// KDDockWidgets::View::boundedMaxSize(QSize min, QSize max)
KDDockWidgetsBindings_EXPORT void *c_static_KDDockWidgets__View__boundedMaxSize_QSize_QSize(void *min_, void *max_);

View File

@@ -1629,6 +1629,10 @@ void c_QByteArray__destructor(void *thisObj);
// tag=1047
void c_QByteArray_Finalizer(void *, void *cppObj, void *);
// tag=1067
// KDDockWidgets::qt_getEnumName(QFlags<KDDockWidgets::MainWindowOption> arg__1)
const char *c_static_KDDockWidgets__qt_getEnumName_MainWindowOptions(int arg__1_);
// tag=1047
void c_KDDockWidgets_Finalizer(void *, void *cppObj, void *);
// tag=1067
@@ -1645,6 +1649,10 @@ void c_KDDockWidgets__Views_Finalizer(void *, void *cppObj, void *);
// KDDockWidgets::ViewFactory::ViewFactory()
void *c_KDDockWidgets__ViewFactory__constructor();
// tag=1067
// KDDockWidgets::ViewFactory::createDropArea(KDDockWidgets::Controllers::DropArea * arg__1, KDDockWidgets::View * parent) const
void *c_KDDockWidgets__ViewFactory__createDropArea_DropArea_View(void *thisObj, void *arg__1_, void *parent_);
// tag=1067
// KDDockWidgets::ViewFactory::createRubberBand(KDDockWidgets::View * parent) const
void *c_KDDockWidgets__ViewFactory__createRubberBand_View(void *thisObj, void *parent_);
@@ -1676,6 +1684,10 @@ void c_KDDockWidgets__ViewFactory_Finalizer(void *, void *cppObj, void *);
// KDDockWidgets::ViewFactory_flutter::ViewFactory_flutter()
void *c_KDDockWidgets__ViewFactory_flutter__constructor();
// tag=1067
// KDDockWidgets::ViewFactory_flutter::createDropArea(KDDockWidgets::Controllers::DropArea * arg__1, KDDockWidgets::View * parent) const
void *c_KDDockWidgets__ViewFactory_flutter__createDropArea_DropArea_View(void *thisObj, void *arg__1_, void *parent_);
// tag=1067
// KDDockWidgets::ViewFactory_flutter::createRubberBand(KDDockWidgets::View * parent) const
void *c_KDDockWidgets__ViewFactory_flutter__createRubberBand_View(void *thisObj, void *parent_);
@@ -1859,6 +1871,8 @@ void c_KDDockWidgets__CreateViewOptions___set_createWindow_bool(void *thisObj, b
// tag=1047
void c_KDDockWidgets__CreateViewOptions_Finalizer(void *, void *cppObj, void *);
// tag=1047
void c_KDDockWidgets__Controllers_Finalizer(void *, void *cppObj, void *);
// tag=1067
// KDDockWidgets::Controller::close()
bool c_KDDockWidgets__Controller__close(void *thisObj);
@@ -1964,6 +1978,14 @@ bool c_KDDockWidgets__View__aboutToBeDestroyed(void *thisObj);
// KDDockWidgets::View::activateWindow()
void c_KDDockWidgets__View__activateWindow(void *thisObj);
// tag=1067
// KDDockWidgets::View::asDropAreaController() const
void *c_KDDockWidgets__View__asDropAreaController(void *thisObj);
// tag=1067
// KDDockWidgets::View::asLayout() const
void *c_KDDockWidgets__View__asLayout(void *thisObj);
// tag=1067
// KDDockWidgets::View::boundedMaxSize(QSize min, QSize max)
void *c_static_KDDockWidgets__View__boundedMaxSize_QSize_QSize(void *min_, void *max_);
@@ -2507,6 +2529,148 @@ void c_KDDockWidgets__Views__View_flutter__registerVirtualMethodCallback(void *p
// tag=1047
void c_KDDockWidgets__Views__View_flutter_Finalizer(void *, void *cppObj, void *);
// tag=1067
// KDDockWidgets::Controllers::Layout::asDropArea() const
void *c_KDDockWidgets__Controllers__Layout__asDropArea(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::checkSanity() const
bool c_KDDockWidgets__Controllers__Layout__checkSanity(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::clearLayout()
void c_KDDockWidgets__Controllers__Layout__clearLayout(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::count() const
int c_KDDockWidgets__Controllers__Layout__count(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::customEvent(QEvent * event)
void c_KDDockWidgets__Controllers__Layout__customEvent_QEvent(void *thisObj, void *event_);
// tag=1067
// KDDockWidgets::Controllers::Layout::dumpLayout() const
void c_KDDockWidgets__Controllers__Layout__dumpLayout(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::event(QEvent * event)
bool c_KDDockWidgets__Controllers__Layout__event_QEvent(void *thisObj, void *event_);
// tag=1067
// KDDockWidgets::Controllers::Layout::eventFilter(QObject * watched, QEvent * event)
bool c_KDDockWidgets__Controllers__Layout__eventFilter_QObject_QEvent(void *thisObj, void *watched_, void *event_);
// tag=1067
// KDDockWidgets::Controllers::Layout::isInMainWindow(bool honourNesting) const
bool c_KDDockWidgets__Controllers__Layout__isInMainWindow_bool(void *thisObj, bool honourNesting);
// tag=1067
// KDDockWidgets::Controllers::Layout::layoutHeight() const
int c_KDDockWidgets__Controllers__Layout__layoutHeight(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::layoutMaximumSizeHint() const
void *c_KDDockWidgets__Controllers__Layout__layoutMaximumSizeHint(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::layoutMinimumSize() const
void *c_KDDockWidgets__Controllers__Layout__layoutMinimumSize(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::layoutSize() const
void *c_KDDockWidgets__Controllers__Layout__layoutSize(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::layoutWidth() const
int c_KDDockWidgets__Controllers__Layout__layoutWidth(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::placeholderCount() const
int c_KDDockWidgets__Controllers__Layout__placeholderCount(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::setLayoutMinimumSize(QSize arg__1)
void c_KDDockWidgets__Controllers__Layout__setLayoutMinimumSize_QSize(void *thisObj, void *arg__1_);
// tag=1067
// KDDockWidgets::Controllers::Layout::setLayoutSize(QSize arg__1)
void c_KDDockWidgets__Controllers__Layout__setLayoutSize_QSize(void *thisObj, void *arg__1_);
// tag=1067
// KDDockWidgets::Controllers::Layout::setParentView_impl(KDDockWidgets::View * parent)
void c_KDDockWidgets__Controllers__Layout__setParentView_impl_View(void *thisObj, void *parent_);
// tag=1067
// KDDockWidgets::Controllers::Layout::updateSizeConstraints()
void c_KDDockWidgets__Controllers__Layout__updateSizeConstraints(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::viewAboutToBeDeleted()
void c_KDDockWidgets__Controllers__Layout__viewAboutToBeDeleted(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::Layout::visibleCount() const
int c_KDDockWidgets__Controllers__Layout__visibleCount(void *thisObj);
// tag=1066
void c_KDDockWidgets__Controllers__Layout__destructor(void *thisObj);
// tag=1046
void c_KDDockWidgets__Controllers__Layout__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
// tag=1047
void c_KDDockWidgets__Controllers__Layout_Finalizer(void *, void *cppObj, void *);
// tag=1067
// KDDockWidgets::Controllers::DropArea::DropArea(KDDockWidgets::View * parent, QFlags<KDDockWidgets::MainWindowOption> options, bool isMDIWrapper)
void *c_KDDockWidgets__Controllers__DropArea__constructor_View_MainWindowOptions_bool(void *parent_, int options_, bool isMDIWrapper);
// tag=1067
// KDDockWidgets::Controllers::DropArea::customEvent(QEvent * event)
void c_KDDockWidgets__Controllers__DropArea__customEvent_QEvent(void *thisObj, void *event_);
// tag=1067
// KDDockWidgets::Controllers::DropArea::event(QEvent * event)
bool c_KDDockWidgets__Controllers__DropArea__event_QEvent(void *thisObj, void *event_);
// tag=1067
// KDDockWidgets::Controllers::DropArea::eventFilter(QObject * watched, QEvent * event)
bool c_KDDockWidgets__Controllers__DropArea__eventFilter_QObject_QEvent(void *thisObj, void *watched_, void *event_);
// tag=1067
// KDDockWidgets::Controllers::DropArea::hasSingleFloatingFrame() const
bool c_KDDockWidgets__Controllers__DropArea__hasSingleFloatingFrame(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::DropArea::hasSingleFrame() const
bool c_KDDockWidgets__Controllers__DropArea__hasSingleFrame(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::DropArea::isMDIWrapper() const
bool c_KDDockWidgets__Controllers__DropArea__isMDIWrapper(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::DropArea::layoutEqually()
void c_KDDockWidgets__Controllers__DropArea__layoutEqually(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::DropArea::removeHover()
void c_KDDockWidgets__Controllers__DropArea__removeHover(void *thisObj);
// tag=1067
// KDDockWidgets::Controllers::DropArea::setParentView_impl(KDDockWidgets::View * parent)
void c_KDDockWidgets__Controllers__DropArea__setParentView_impl_View(void *thisObj, void *parent_);
// tag=1067
// KDDockWidgets::Controllers::DropArea::tr(const char * s, const char * c, int n)
void *c_static_KDDockWidgets__Controllers__DropArea__tr_char_char_int(const char *s, const char *c, int n);
// tag=1066
void c_KDDockWidgets__Controllers__DropArea__destructor(void *thisObj);
// tag=1046
void c_KDDockWidgets__Controllers__DropArea__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
// tag=1047
void c_KDDockWidgets__Controllers__DropArea_Finalizer(void *, void *cppObj, void *);
// tag=1067
// KDDockWidgets::Config::absoluteWidgetMaxSize() const
void *c_KDDockWidgets__Config__absoluteWidgetMaxSize(void *thisObj);
@@ -2578,4 +2742,4 @@ void *c_KDDockWidgets__Config__viewFactory(void *thisObj);
void c_KDDockWidgets__Config__destructor(void *thisObj);
// tag=1047
void c_KDDockWidgets__Config_Finalizer(void *, void *cppObj, void *);
void c_KDDockWidgets__Config_Finalizer(void *, void *cppObj, void *);

View File

@@ -9,6 +9,8 @@
Contact KDAB at <info@kdab.com> for commercial licensing options.
*/
export 'src/Config.dart' show Config;
export 'src/DropArea.dart' show DropArea;
export 'src/Layout.dart' show Layout;
export 'src/View_flutter.dart' show View_flutter;
export 'src/View.dart' show View;
export 'src/Controller.dart' show Controller;
@@ -17,6 +19,8 @@ export 'src/Platform_flutter.dart' show Platform_flutter;
export 'src/ViewFactory_flutter.dart' show ViewFactory_flutter;
export 'src/ViewFactory.dart' show ViewFactory;
export 'src/Views.dart' show asView_flutter, asView_flutter;
export 'src/KDDockWidgets.dart'
show qt_getEnumName, KDDockWidgets_MainWindowOption;
export 'src/QByteArray.dart' show QByteArray;
export 'src/QEvent.dart' show QEvent, QEvent_Type;
export 'src/QList.dart' show QList;

View File

@@ -252,7 +252,7 @@ class Controller extends QObject {
//tag=1028
final void_Func_voidstar_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_voidstar_FFI>>(
cFunctionSymbolName(690))
cFunctionSymbolName(692))
.asFunction();
//tag=1030
func(thisCpp, parent == null ? ffi.nullptr : parent.thisCpp);
@@ -399,7 +399,7 @@ class Controller extends QObject {
return "c_KDDockWidgets__Controller__event_QEvent";
case 306:
return "c_KDDockWidgets__Controller__eventFilter_QObject_QEvent";
case 690:
case 692:
return "c_KDDockWidgets__Controller__setParentView_impl_View";
}
return super.cFunctionSymbolName(methodId);
@@ -413,7 +413,7 @@ class Controller extends QObject {
return "event";
case 306:
return "eventFilter";
case 690:
case 692:
return "setParentView_impl";
}
throw Error();
@@ -445,9 +445,9 @@ class Controller extends QObject {
QObject.eventFilter_calledFromC, callbackExcept306);
registerCallback(thisCpp, callback306, 306);
//tag=1021
final callback690 =
final callback692 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
Controller.setParentView_impl_calledFromC);
registerCallback(thisCpp, callback690, 690);
registerCallback(thisCpp, callback692, 692);
}
}

View File

@@ -0,0 +1,292 @@
/*
This file is part of KDDockWidgets.
SPDX-FileCopyrightText: 2019-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
Author: Sérgio Martins <sergio.martins@kdab.com>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
Contact KDAB at <info@kdab.com> for commercial licensing options.
*/
//tag=1052
import 'dart:ffi' as ffi;
import 'package:ffi/ffi.dart';
import 'TypeHelpers.dart';
import '../Bindings.dart';
import '../FinalizerHelpers.dart';
//tag=1051
var _dylib = Library.instance().dylib;
class DropArea extends Layout {
//tag=1064
DropArea.fromCppPointer(var cppPointer, [var needsAutoDelete = false])
: super.fromCppPointer(cppPointer, needsAutoDelete) {}
DropArea.init() : super.init() {}
//tag=1062
factory DropArea.fromCache(var cppPointer, [needsAutoDelete = false]) {
if (QObject.isCached(cppPointer)) {
var instance = QObject.s_dartInstanceByCppPtr[cppPointer.address];
if (instance != null) return instance as DropArea;
}
return DropArea.fromCppPointer(cppPointer, needsAutoDelete);
}
//tag=1023
//DropArea(KDDockWidgets::View * parent, QFlags<KDDockWidgets::MainWindowOption> options, bool isMDIWrapper)
DropArea(View? parent, int options, {bool isMDIWrapper = false})
: super.init() {
//tag=1075
final voidstar_Func_voidstar_int_bool func = _dylib
.lookup<
ffi.NativeFunction<
voidstar_Func_voidstar_ffi_Int32_ffi_Int8_FFI>>(
'c_KDDockWidgets__Controllers__DropArea__constructor_View_MainWindowOptions_bool')
.asFunction();
thisCpp = func(parent == null ? ffi.nullptr : parent.thisCpp, options,
isMDIWrapper ? 1 : 0);
QObject.s_dartInstanceByCppPtr[thisCpp.address] = this;
registerCallbacks();
}
//tag=1024
//tag=1027
// availableSize() const
QSize availableSize() {
//tag=1028
final voidstar_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__DropArea__availableSize')
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(thisCpp);
return QSize.fromCppPointer(result, true);
}
//tag=1024
//tag=1035
static void customEvent_calledFromC(
ffi.Pointer<void> thisCpp, ffi.Pointer<void>? event) {
var dartInstance =
QObject.s_dartInstanceByCppPtr[thisCpp.address] as DropArea;
if (dartInstance == null) {
print(
"Dart instance not found for DropArea::customEvent(QEvent * event)! (${thisCpp.address})");
throw Error();
}
//tag=1036
dartInstance.customEvent(QEvent.fromCppPointer(event));
}
//tag=1024
//tag=1035
static int event_calledFromC(
ffi.Pointer<void> thisCpp, ffi.Pointer<void>? event) {
var dartInstance =
QObject.s_dartInstanceByCppPtr[thisCpp.address] as DropArea;
if (dartInstance == null) {
print(
"Dart instance not found for DropArea::event(QEvent * event)! (${thisCpp.address})");
throw Error();
}
//tag=1037
final result = dartInstance.event(QEvent.fromCppPointer(event));
return result ? 1 : 0;
}
//tag=1024
//tag=1035
static int eventFilter_calledFromC(ffi.Pointer<void> thisCpp,
ffi.Pointer<void>? watched, ffi.Pointer<void>? event) {
var dartInstance =
QObject.s_dartInstanceByCppPtr[thisCpp.address] as DropArea;
if (dartInstance == null) {
print(
"Dart instance not found for DropArea::eventFilter(QObject * watched, QEvent * event)! (${thisCpp.address})");
throw Error();
}
//tag=1037
final result = dartInstance.eventFilter(
QObject.fromCppPointer(watched), QEvent.fromCppPointer(event));
return result ? 1 : 0;
}
//tag=1024
//tag=1027
// hasSingleFloatingFrame() const
bool hasSingleFloatingFrame() {
//tag=1028
final bool_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__DropArea__hasSingleFloatingFrame')
.asFunction();
//tag=1029
return func(thisCpp) != 0;
}
//tag=1024
//tag=1027
// hasSingleFrame() const
bool hasSingleFrame() {
//tag=1028
final bool_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__DropArea__hasSingleFrame')
.asFunction();
//tag=1029
return func(thisCpp) != 0;
}
//tag=1024
//tag=1027
// isMDIWrapper() const
bool isMDIWrapper() {
//tag=1028
final bool_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__DropArea__isMDIWrapper')
.asFunction();
//tag=1029
return func(thisCpp) != 0;
}
//tag=1024
//tag=1027
// layoutEqually()
layoutEqually() {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__DropArea__layoutEqually')
.asFunction();
//tag=1030
func(thisCpp);
}
//tag=1024
//tag=1027
// removeHover()
removeHover() {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__DropArea__removeHover')
.asFunction();
//tag=1030
func(thisCpp);
}
//tag=1024
//tag=1035
static void setParentView_impl_calledFromC(
ffi.Pointer<void> thisCpp, ffi.Pointer<void>? parent) {
var dartInstance =
QObject.s_dartInstanceByCppPtr[thisCpp.address] as DropArea;
if (dartInstance == null) {
print(
"Dart instance not found for DropArea::setParentView_impl(KDDockWidgets::View * parent)! (${thisCpp.address})");
throw Error();
}
//tag=1036
dartInstance.setParentView_impl(View.fromCppPointer(parent));
}
//tag=1024
static
//tag=1027
// tr(const char * s, const char * c, int n)
QString tr(String? s, String? c, int n) {
//tag=1028
final voidstar_Func_string_string_int func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_string_string_ffi_Int32_FFI>>(
'c_static_KDDockWidgets__Controllers__DropArea__tr_char_char_int')
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(
s?.toNativeUtf8() ?? ffi.nullptr, c?.toNativeUtf8() ?? ffi.nullptr, n);
return QString.fromCppPointer(result, true);
}
//tag=1024
//tag=1027
// updateFloatingActions()
updateFloatingActions() {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__DropArea__updateFloatingActions')
.asFunction();
//tag=1030
func(thisCpp);
}
//tag=1022
void release() {
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__DropArea__destructor')
.asFunction();
func(thisCpp);
}
//tag=1019
String cFunctionSymbolName(int methodId) {
switch (methodId) {
case 294:
return "c_KDDockWidgets__Controllers__DropArea__customEvent_QEvent";
case 305:
return "c_KDDockWidgets__Controllers__DropArea__event_QEvent";
case 306:
return "c_KDDockWidgets__Controllers__DropArea__eventFilter_QObject_QEvent";
case 692:
return "c_KDDockWidgets__Controllers__DropArea__setParentView_impl_View";
}
return super.cFunctionSymbolName(methodId);
}
static String methodNameFromId(int methodId) {
switch (methodId) {
case 294:
return "customEvent";
case 305:
return "event";
case 306:
return "eventFilter";
case 692:
return "setParentView_impl";
}
throw Error();
}
//tag=1020
void registerCallbacks() {
assert(thisCpp != null);
final RegisterMethodIsReimplementedCallback registerCallback = _dylib
.lookup<ffi.NativeFunction<RegisterMethodIsReimplementedCallback_FFI>>(
'c_KDDockWidgets__Controllers__DropArea__registerVirtualMethodCallback')
.asFunction();
//tag=1021
final callback294 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
QObject.customEvent_calledFromC);
registerCallback(thisCpp, callback294, 294);
const callbackExcept305 = 0;
//tag=1021
final callback305 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_FFI>(
QObject.event_calledFromC, callbackExcept305);
registerCallback(thisCpp, callback305, 305);
const callbackExcept306 = 0;
//tag=1021
final callback306 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_voidstar_FFI>(
QObject.eventFilter_calledFromC, callbackExcept306);
registerCallback(thisCpp, callback306, 306);
//tag=1021
final callback692 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
Controller.setParentView_impl_calledFromC);
registerCallback(thisCpp, callback692, 692);
}
}

View File

@@ -18,3 +18,25 @@ import '../FinalizerHelpers.dart';
//tag=1051
var _dylib = Library.instance().dylib;
//tag=1038
class KDDockWidgets_MainWindowOption {
static const MainWindowOption_None = 0;
static const MainWindowOption_HasCentralFrame = 1;
static const MainWindowOption_MDI = 2;
static const MainWindowOption_HasCentralWidget = 5;
}
//tag=1024
//tag=1027
// qt_getEnumName(QFlags<KDDockWidgets::MainWindowOption> arg__1)
String qt_getEnumName(int arg__1) {
//tag=1028
final string_Func_int func = _dylib
.lookup<ffi.NativeFunction<string_Func_ffi_Int32_FFI>>(
'c_static_KDDockWidgets__qt_getEnumName_MainWindowOptions')
.asFunction();
//tag=1032
ffi.Pointer<Utf8> result = func(arg__1);
return result.toDartString();
}

View File

@@ -0,0 +1,406 @@
/*
This file is part of KDDockWidgets.
SPDX-FileCopyrightText: 2019-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
Author: Sérgio Martins <sergio.martins@kdab.com>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
Contact KDAB at <info@kdab.com> for commercial licensing options.
*/
//tag=1052
import 'dart:ffi' as ffi;
import 'package:ffi/ffi.dart';
import 'TypeHelpers.dart';
import '../Bindings.dart';
import '../FinalizerHelpers.dart';
//tag=1051
var _dylib = Library.instance().dylib;
class Layout extends Controller {
//tag=1064
Layout.fromCppPointer(var cppPointer, [var needsAutoDelete = false])
: super.fromCppPointer(cppPointer, needsAutoDelete) {}
Layout.init() : super.init() {}
//tag=1062
factory Layout.fromCache(var cppPointer, [needsAutoDelete = false]) {
if (QObject.isCached(cppPointer)) {
var instance = QObject.s_dartInstanceByCppPtr[cppPointer.address];
if (instance != null) return instance as Layout;
}
return Layout.fromCppPointer(cppPointer, needsAutoDelete);
}
//tag=1024
//tag=1027
// asDropArea() const
DropArea asDropArea() {
//tag=1028
final voidstar_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__asDropArea')
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(thisCpp);
return DropArea.fromCppPointer(result, false);
}
//tag=1024
//tag=1027
// checkSanity() const
bool checkSanity() {
//tag=1028
final bool_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__checkSanity')
.asFunction();
//tag=1029
return func(thisCpp) != 0;
}
//tag=1024
//tag=1027
// clearLayout()
clearLayout() {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__clearLayout')
.asFunction();
//tag=1030
func(thisCpp);
}
//tag=1024
//tag=1027
// count() const
int count() {
//tag=1028
final int_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<int_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__count')
.asFunction();
//tag=1031
return func(thisCpp);
}
//tag=1024
//tag=1035
static void customEvent_calledFromC(
ffi.Pointer<void> thisCpp, ffi.Pointer<void>? event) {
var dartInstance =
QObject.s_dartInstanceByCppPtr[thisCpp.address] as Layout;
if (dartInstance == null) {
print(
"Dart instance not found for Layout::customEvent(QEvent * event)! (${thisCpp.address})");
throw Error();
}
//tag=1036
dartInstance.customEvent(QEvent.fromCppPointer(event));
}
//tag=1024
//tag=1027
// dumpLayout() const
dumpLayout() {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__dumpLayout')
.asFunction();
//tag=1030
func(thisCpp);
}
//tag=1024
//tag=1035
static int event_calledFromC(
ffi.Pointer<void> thisCpp, ffi.Pointer<void>? event) {
var dartInstance =
QObject.s_dartInstanceByCppPtr[thisCpp.address] as Layout;
if (dartInstance == null) {
print(
"Dart instance not found for Layout::event(QEvent * event)! (${thisCpp.address})");
throw Error();
}
//tag=1037
final result = dartInstance.event(QEvent.fromCppPointer(event));
return result ? 1 : 0;
}
//tag=1024
//tag=1035
static int eventFilter_calledFromC(ffi.Pointer<void> thisCpp,
ffi.Pointer<void>? watched, ffi.Pointer<void>? event) {
var dartInstance =
QObject.s_dartInstanceByCppPtr[thisCpp.address] as Layout;
if (dartInstance == null) {
print(
"Dart instance not found for Layout::eventFilter(QObject * watched, QEvent * event)! (${thisCpp.address})");
throw Error();
}
//tag=1037
final result = dartInstance.eventFilter(
QObject.fromCppPointer(watched), QEvent.fromCppPointer(event));
return result ? 1 : 0;
}
//tag=1024
//tag=1027
// isInMainWindow(bool honourNesting) const
bool isInMainWindow({bool honourNesting = false}) {
//tag=1028
final bool_Func_voidstar_bool func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_ffi_Int8_FFI>>(
'c_KDDockWidgets__Controllers__Layout__isInMainWindow_bool')
.asFunction();
//tag=1029
return func(thisCpp, honourNesting ? 1 : 0) != 0;
}
//tag=1024
//tag=1027
// layoutHeight() const
int layoutHeight() {
//tag=1028
final int_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<int_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__layoutHeight')
.asFunction();
//tag=1031
return func(thisCpp);
}
//tag=1024
//tag=1027
// layoutMaximumSizeHint() const
QSize layoutMaximumSizeHint() {
//tag=1028
final voidstar_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__layoutMaximumSizeHint')
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(thisCpp);
return QSize.fromCppPointer(result, true);
}
//tag=1024
//tag=1027
// layoutMinimumSize() const
QSize layoutMinimumSize() {
//tag=1028
final voidstar_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__layoutMinimumSize')
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(thisCpp);
return QSize.fromCppPointer(result, true);
}
//tag=1024
//tag=1027
// layoutSize() const
QSize layoutSize() {
//tag=1028
final voidstar_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__layoutSize')
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(thisCpp);
return QSize.fromCppPointer(result, true);
}
//tag=1024
//tag=1027
// layoutWidth() const
int layoutWidth() {
//tag=1028
final int_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<int_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__layoutWidth')
.asFunction();
//tag=1031
return func(thisCpp);
}
//tag=1024
//tag=1027
// onResize(QSize newSize)
bool onResize(QSize newSize) {
//tag=1028
final bool_Func_voidstar_voidstar func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__onResize_QSize')
.asFunction();
//tag=1029
return func(thisCpp, newSize == null ? ffi.nullptr : newSize.thisCpp) != 0;
}
//tag=1024
//tag=1027
// placeholderCount() const
int placeholderCount() {
//tag=1028
final int_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<int_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__placeholderCount')
.asFunction();
//tag=1031
return func(thisCpp);
}
//tag=1024
//tag=1027
// setLayoutMinimumSize(QSize arg__1)
setLayoutMinimumSize(QSize arg__1) {
//tag=1028
final void_Func_voidstar_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__setLayoutMinimumSize_QSize')
.asFunction();
//tag=1030
func(thisCpp, arg__1 == null ? ffi.nullptr : arg__1.thisCpp);
}
//tag=1024
//tag=1027
// setLayoutSize(QSize arg__1)
setLayoutSize(QSize arg__1) {
//tag=1028
final void_Func_voidstar_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__setLayoutSize_QSize')
.asFunction();
//tag=1030
func(thisCpp, arg__1 == null ? ffi.nullptr : arg__1.thisCpp);
}
//tag=1024
//tag=1035
static void setParentView_impl_calledFromC(
ffi.Pointer<void> thisCpp, ffi.Pointer<void>? parent) {
var dartInstance =
QObject.s_dartInstanceByCppPtr[thisCpp.address] as Layout;
if (dartInstance == null) {
print(
"Dart instance not found for Layout::setParentView_impl(KDDockWidgets::View * parent)! (${thisCpp.address})");
throw Error();
}
//tag=1036
dartInstance.setParentView_impl(View.fromCppPointer(parent));
}
//tag=1024
//tag=1027
// updateSizeConstraints()
updateSizeConstraints() {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__updateSizeConstraints')
.asFunction();
//tag=1030
func(thisCpp);
}
//tag=1024
//tag=1027
// viewAboutToBeDeleted()
viewAboutToBeDeleted() {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__viewAboutToBeDeleted')
.asFunction();
//tag=1030
func(thisCpp);
}
//tag=1024
//tag=1027
// visibleCount() const
int visibleCount() {
//tag=1028
final int_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<int_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__visibleCount')
.asFunction();
//tag=1031
return func(thisCpp);
}
//tag=1022
void release() {
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
'c_KDDockWidgets__Controllers__Layout__destructor')
.asFunction();
func(thisCpp);
}
//tag=1019
String cFunctionSymbolName(int methodId) {
switch (methodId) {
case 294:
return "c_KDDockWidgets__Controllers__Layout__customEvent_QEvent";
case 305:
return "c_KDDockWidgets__Controllers__Layout__event_QEvent";
case 306:
return "c_KDDockWidgets__Controllers__Layout__eventFilter_QObject_QEvent";
case 692:
return "c_KDDockWidgets__Controllers__Layout__setParentView_impl_View";
}
return super.cFunctionSymbolName(methodId);
}
static String methodNameFromId(int methodId) {
switch (methodId) {
case 294:
return "customEvent";
case 305:
return "event";
case 306:
return "eventFilter";
case 692:
return "setParentView_impl";
}
throw Error();
}
//tag=1020
void registerCallbacks() {
assert(thisCpp != null);
final RegisterMethodIsReimplementedCallback registerCallback = _dylib
.lookup<ffi.NativeFunction<RegisterMethodIsReimplementedCallback_FFI>>(
'c_KDDockWidgets__Controllers__Layout__registerVirtualMethodCallback')
.asFunction();
//tag=1021
final callback294 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
QObject.customEvent_calledFromC);
registerCallback(thisCpp, callback294, 294);
const callbackExcept305 = 0;
//tag=1021
final callback305 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_FFI>(
QObject.event_calledFromC, callbackExcept305);
registerCallback(thisCpp, callback305, 305);
const callbackExcept306 = 0;
//tag=1021
final callback306 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_voidstar_FFI>(
QObject.eventFilter_calledFromC, callbackExcept306);
registerCallback(thisCpp, callback306, 306);
//tag=1021
final callback692 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
Controller.setParentView_impl_calledFromC);
registerCallback(thisCpp, callback692, 692);
}
}

View File

@@ -74,7 +74,7 @@ class Platform_flutter {
//tag=1028
final voidstar_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_FFI>>(
cFunctionSymbolName(622))
cFunctionSymbolName(624))
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(thisCpp);
@@ -102,7 +102,7 @@ class Platform_flutter {
//tag=1028
final voidstar_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_FFI>>(
cFunctionSymbolName(623))
cFunctionSymbolName(625))
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(thisCpp);
@@ -132,7 +132,7 @@ class Platform_flutter {
.lookup<
ffi.NativeFunction<
voidstar_Func_voidstar_voidstar_voidstar_FFI>>(
cFunctionSymbolName(624))
cFunctionSymbolName(626))
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(
@@ -165,7 +165,7 @@ class Platform_flutter {
//tag=1028
final bool_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_FFI>>(
cFunctionSymbolName(625))
cFunctionSymbolName(627))
.asFunction();
//tag=1029
return func(thisCpp) != 0;
@@ -191,7 +191,7 @@ class Platform_flutter {
//tag=1028
final bool_Func_voidstar_voidstar func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_voidstar_FFI>>(
cFunctionSymbolName(626))
cFunctionSymbolName(628))
.asFunction();
//tag=1029
return func(thisCpp, globalPos == null ? ffi.nullptr : globalPos.thisCpp) !=
@@ -233,7 +233,7 @@ class Platform_flutter {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
cFunctionSymbolName(628))
cFunctionSymbolName(630))
.asFunction();
//tag=1030
func(thisCpp);
@@ -258,7 +258,7 @@ class Platform_flutter {
//tag=1028
final bool_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_FFI>>(
cFunctionSymbolName(629))
cFunctionSymbolName(631))
.asFunction();
//tag=1029
return func(thisCpp) != 0;
@@ -284,7 +284,7 @@ class Platform_flutter {
//tag=1028
final bool_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_FFI>>(
cFunctionSymbolName(630))
cFunctionSymbolName(632))
.asFunction();
//tag=1029
return func(thisCpp) != 0;
@@ -310,7 +310,7 @@ class Platform_flutter {
//tag=1028
final string_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<string_Func_voidstar_FFI>>(
cFunctionSymbolName(631))
cFunctionSymbolName(633))
.asFunction();
//tag=1032
ffi.Pointer<Utf8> result = func(thisCpp);
@@ -337,7 +337,7 @@ class Platform_flutter {
//tag=1028
final voidstar_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_FFI>>(
cFunctionSymbolName(632))
cFunctionSymbolName(634))
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(thisCpp);
@@ -365,7 +365,7 @@ class Platform_flutter {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
cFunctionSymbolName(633))
cFunctionSymbolName(635))
.asFunction();
//tag=1030
func(thisCpp);
@@ -390,7 +390,7 @@ class Platform_flutter {
//tag=1028
final int_Func_voidstar_voidstar func = _dylib
.lookup<ffi.NativeFunction<int_Func_voidstar_voidstar_FFI>>(
cFunctionSymbolName(634))
cFunctionSymbolName(636))
.asFunction();
//tag=1031
return func(thisCpp, arg__1 == null ? ffi.nullptr : arg__1.thisCpp);
@@ -417,7 +417,7 @@ class Platform_flutter {
//tag=1028
final voidstar_Func_voidstar_voidstar func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_voidstar_FFI>>(
cFunctionSymbolName(635))
cFunctionSymbolName(637))
.asFunction();
//tag=1033
ffi.Pointer<void> result =
@@ -446,7 +446,7 @@ class Platform_flutter {
//tag=1028
final void_Func_voidstar_voidstar_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_voidstar_voidstar_FFI>>(
cFunctionSymbolName(636))
cFunctionSymbolName(638))
.asFunction();
//tag=1030
func(thisCpp, arg__1 == null ? ffi.nullptr : arg__1.thisCpp,
@@ -474,7 +474,7 @@ class Platform_flutter {
//tag=1028
final void_Func_voidstar_int func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_ffi_Int32_FFI>>(
cFunctionSymbolName(637))
cFunctionSymbolName(639))
.asFunction();
//tag=1030
func(thisCpp, arg__1);
@@ -503,7 +503,7 @@ class Platform_flutter {
.lookup<
ffi.NativeFunction<
voidstar_Func_voidstar_voidstar_voidstar_FFI>>(
cFunctionSymbolName(638))
cFunctionSymbolName(640))
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(
@@ -538,7 +538,7 @@ class Platform_flutter {
//tag=1028
final voidstar_Func_voidstar_voidstar func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_voidstar_FFI>>(
cFunctionSymbolName(639))
cFunctionSymbolName(641))
.asFunction();
//tag=1033
ffi.Pointer<void> result =
@@ -570,7 +570,7 @@ class Platform_flutter {
.lookup<
ffi.NativeFunction<
voidstar_Func_voidstar_voidstar_voidstar_FFI>>(
cFunctionSymbolName(640))
cFunctionSymbolName(642))
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(
@@ -605,7 +605,7 @@ class Platform_flutter {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
cFunctionSymbolName(641))
cFunctionSymbolName(643))
.asFunction();
//tag=1030
func(thisCpp);
@@ -630,7 +630,7 @@ class Platform_flutter {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
cFunctionSymbolName(642))
cFunctionSymbolName(644))
.asFunction();
//tag=1030
func(thisCpp);
@@ -655,7 +655,7 @@ class Platform_flutter {
//tag=1028
final void_Func_voidstar_int func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_ffi_Int32_FFI>>(
cFunctionSymbolName(643))
cFunctionSymbolName(645))
.asFunction();
//tag=1030
func(thisCpp, ms);
@@ -680,7 +680,7 @@ class Platform_flutter {
//tag=1028
final bool_Func_voidstar_voidstar_int func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>>(
cFunctionSymbolName(644))
cFunctionSymbolName(646))
.asFunction();
//tag=1029
return func(
@@ -710,7 +710,7 @@ class Platform_flutter {
//tag=1028
final bool_Func_voidstar_voidstar_int func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>>(
cFunctionSymbolName(645))
cFunctionSymbolName(647))
.asFunction();
//tag=1029
return func(
@@ -742,7 +742,7 @@ class Platform_flutter {
.lookup<
ffi.NativeFunction<
bool_Func_voidstar_voidstar_ffi_Int32_ffi_Int32_FFI>>(
cFunctionSymbolName(646))
cFunctionSymbolName(648))
.asFunction();
//tag=1029
return func(thisCpp, arg__1 == null ? ffi.nullptr : arg__1.thisCpp, type,
@@ -774,7 +774,7 @@ class Platform_flutter {
.lookup<
ffi.NativeFunction<
bool_Func_voidstar_voidstar_ffi_Int32_ffi_Int32_FFI>>(
cFunctionSymbolName(647))
cFunctionSymbolName(649))
.asFunction();
//tag=1029
return func(thisCpp, w == null ? ffi.nullptr : w.thisCpp, type, timeout) !=
@@ -803,7 +803,7 @@ class Platform_flutter {
//tag=1028
final bool_Func_voidstar_voidstar_int func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>>(
cFunctionSymbolName(648))
cFunctionSymbolName(650))
.asFunction();
//tag=1029
return func(
@@ -833,7 +833,7 @@ class Platform_flutter {
//tag=1028
final bool_Func_voidstar_voidstar_int func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>>(
cFunctionSymbolName(649))
cFunctionSymbolName(651))
.asFunction();
//tag=1029
return func(
@@ -863,7 +863,7 @@ class Platform_flutter {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
cFunctionSymbolName(650))
cFunctionSymbolName(652))
.asFunction();
//tag=1030
func(thisCpp);
@@ -888,7 +888,7 @@ class Platform_flutter {
//tag=1028
final void_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
cFunctionSymbolName(651))
cFunctionSymbolName(653))
.asFunction();
//tag=1030
func(thisCpp);
@@ -913,7 +913,7 @@ class Platform_flutter {
//tag=1028
final bool_Func_voidstar func = _dylib
.lookup<ffi.NativeFunction<bool_Func_voidstar_FFI>>(
cFunctionSymbolName(652))
cFunctionSymbolName(654))
.asFunction();
//tag=1029
return func(thisCpp) != 0;
@@ -944,65 +944,65 @@ class Platform_flutter {
//tag=1019
String cFunctionSymbolName(int methodId) {
switch (methodId) {
case 622:
return "c_KDDockWidgets__Platform_flutter__applicationName";
case 623:
return "c_KDDockWidgets__Platform_flutter__createDefaultViewFactory";
case 624:
return "c_KDDockWidgets__Platform_flutter__createView_Controller_View";
return "c_KDDockWidgets__Platform_flutter__applicationName";
case 625:
return "c_KDDockWidgets__Platform_flutter__hasActivePopup";
return "c_KDDockWidgets__Platform_flutter__createDefaultViewFactory";
case 626:
return "c_KDDockWidgets__Platform_flutter__inDisallowedDragView_QPoint";
return "c_KDDockWidgets__Platform_flutter__createView_Controller_View";
case 627:
return "c_KDDockWidgets__Platform_flutter__hasActivePopup";
case 628:
return "c_KDDockWidgets__Platform_flutter__installMessageHandler";
case 629:
return "c_KDDockWidgets__Platform_flutter__isLeftMouseButtonPressed";
return "c_KDDockWidgets__Platform_flutter__inDisallowedDragView_QPoint";
case 630:
return "c_KDDockWidgets__Platform_flutter__isProcessingAppQuitEvent";
return "c_KDDockWidgets__Platform_flutter__installMessageHandler";
case 631:
return "c_KDDockWidgets__Platform_flutter__name";
return "c_KDDockWidgets__Platform_flutter__isLeftMouseButtonPressed";
case 632:
return "c_KDDockWidgets__Platform_flutter__organizationName";
return "c_KDDockWidgets__Platform_flutter__isProcessingAppQuitEvent";
case 633:
return "c_KDDockWidgets__Platform_flutter__restoreMouseCursor";
return "c_KDDockWidgets__Platform_flutter__name";
case 634:
return "c_KDDockWidgets__Platform_flutter__screenNumberFor_View";
return "c_KDDockWidgets__Platform_flutter__organizationName";
case 635:
return "c_KDDockWidgets__Platform_flutter__screenSizeFor_View";
return "c_KDDockWidgets__Platform_flutter__restoreMouseCursor";
case 636:
return "c_KDDockWidgets__Platform_flutter__sendEvent_View_QEvent";
return "c_KDDockWidgets__Platform_flutter__screenNumberFor_View";
case 637:
return "c_KDDockWidgets__Platform_flutter__setMouseCursor_CursorShape";
return "c_KDDockWidgets__Platform_flutter__screenSizeFor_View";
case 638:
return "c_KDDockWidgets__Platform_flutter__tests_createFocusableView_CreateViewOptions_View";
return "c_KDDockWidgets__Platform_flutter__sendEvent_View_QEvent";
case 639:
return "c_KDDockWidgets__Platform_flutter__tests_createNonClosableView_View";
return "c_KDDockWidgets__Platform_flutter__setMouseCursor_CursorShape";
case 640:
return "c_KDDockWidgets__Platform_flutter__tests_createView_CreateViewOptions_View";
return "c_KDDockWidgets__Platform_flutter__tests_createFocusableView_CreateViewOptions_View";
case 641:
return "c_KDDockWidgets__Platform_flutter__tests_deinitPlatform_impl";
return "c_KDDockWidgets__Platform_flutter__tests_createNonClosableView_View";
case 642:
return "c_KDDockWidgets__Platform_flutter__tests_initPlatform_impl";
return "c_KDDockWidgets__Platform_flutter__tests_createView_CreateViewOptions_View";
case 643:
return "c_KDDockWidgets__Platform_flutter__tests_wait_int";
return "c_KDDockWidgets__Platform_flutter__tests_deinitPlatform_impl";
case 644:
return "c_KDDockWidgets__Platform_flutter__tests_waitForDeleted_View_int";
return "c_KDDockWidgets__Platform_flutter__tests_initPlatform_impl";
case 645:
return "c_KDDockWidgets__Platform_flutter__tests_waitForDeleted_QObject_int";
return "c_KDDockWidgets__Platform_flutter__tests_wait_int";
case 646:
return "c_KDDockWidgets__Platform_flutter__tests_waitForEvent_View_Type_int";
return "c_KDDockWidgets__Platform_flutter__tests_waitForDeleted_View_int";
case 647:
return "c_KDDockWidgets__Platform_flutter__tests_waitForEvent_QObject_Type_int";
return "c_KDDockWidgets__Platform_flutter__tests_waitForDeleted_QObject_int";
case 648:
return "c_KDDockWidgets__Platform_flutter__tests_waitForResize_Controller_int";
return "c_KDDockWidgets__Platform_flutter__tests_waitForEvent_View_Type_int";
case 649:
return "c_KDDockWidgets__Platform_flutter__tests_waitForResize_View_int";
return "c_KDDockWidgets__Platform_flutter__tests_waitForEvent_QObject_Type_int";
case 650:
return "c_KDDockWidgets__Platform_flutter__ungrabMouse";
return "c_KDDockWidgets__Platform_flutter__tests_waitForResize_Controller_int";
case 651:
return "c_KDDockWidgets__Platform_flutter__uninstallMessageHandler";
return "c_KDDockWidgets__Platform_flutter__tests_waitForResize_View_int";
case 652:
return "c_KDDockWidgets__Platform_flutter__ungrabMouse";
case 653:
return "c_KDDockWidgets__Platform_flutter__uninstallMessageHandler";
case 654:
return "c_KDDockWidgets__Platform_flutter__usesFallbackMouseGrabber";
}
return "";
@@ -1010,65 +1010,65 @@ class Platform_flutter {
static String methodNameFromId(int methodId) {
switch (methodId) {
case 622:
return "applicationName";
case 623:
return "createDefaultViewFactory";
case 624:
return "createView";
return "applicationName";
case 625:
return "hasActivePopup";
return "createDefaultViewFactory";
case 626:
return "inDisallowedDragView";
return "createView";
case 627:
return "hasActivePopup";
case 628:
return "installMessageHandler";
case 629:
return "isLeftMouseButtonPressed";
return "inDisallowedDragView";
case 630:
return "isProcessingAppQuitEvent";
return "installMessageHandler";
case 631:
return "name";
return "isLeftMouseButtonPressed";
case 632:
return "organizationName";
return "isProcessingAppQuitEvent";
case 633:
return "restoreMouseCursor";
return "name";
case 634:
return "screenNumberFor";
return "organizationName";
case 635:
return "screenSizeFor";
return "restoreMouseCursor";
case 636:
return "sendEvent";
return "screenNumberFor";
case 637:
return "setMouseCursor";
return "screenSizeFor";
case 638:
return "tests_createFocusableView";
return "sendEvent";
case 639:
return "tests_createNonClosableView";
return "setMouseCursor";
case 640:
return "tests_createView";
return "tests_createFocusableView";
case 641:
return "tests_deinitPlatform_impl";
return "tests_createNonClosableView";
case 642:
return "tests_initPlatform_impl";
return "tests_createView";
case 643:
return "tests_wait";
return "tests_deinitPlatform_impl";
case 644:
return "tests_waitForDeleted";
return "tests_initPlatform_impl";
case 645:
return "tests_waitForDeleted_2";
return "tests_wait";
case 646:
return "tests_waitForEvent";
return "tests_waitForDeleted";
case 647:
return "tests_waitForEvent_2";
return "tests_waitForDeleted_2";
case 648:
return "tests_waitForResize";
return "tests_waitForEvent";
case 649:
return "tests_waitForResize_2";
return "tests_waitForEvent_2";
case 650:
return "ungrabMouse";
return "tests_waitForResize";
case 651:
return "uninstallMessageHandler";
return "tests_waitForResize_2";
case 652:
return "ungrabMouse";
case 653:
return "uninstallMessageHandler";
case 654:
return "usesFallbackMouseGrabber";
}
throw Error();
@@ -1083,160 +1083,160 @@ class Platform_flutter {
.asFunction();
//tag=1021
final callback622 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
final callback624 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
Platform_flutter.applicationName_calledFromC);
registerCallback(thisCpp, callback622, 622);
//tag=1021
final callback623 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
Platform_flutter.createDefaultViewFactory_calledFromC);
registerCallback(thisCpp, callback623, 623);
//tag=1021
final callback624 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_voidstar_FFI>(
Platform_flutter.createView_calledFromC);
registerCallback(thisCpp, callback624, 624);
const callbackExcept625 = 0;
//tag=1021
final callback625 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
Platform_flutter.hasActivePopup_calledFromC, callbackExcept625);
final callback625 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
Platform_flutter.createDefaultViewFactory_calledFromC);
registerCallback(thisCpp, callback625, 625);
const callbackExcept626 = 0;
//tag=1021
final callback626 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_voidstar_FFI>(
Platform_flutter.createView_calledFromC);
registerCallback(thisCpp, callback626, 626);
const callbackExcept627 = 0;
//tag=1021
final callback627 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
Platform_flutter.hasActivePopup_calledFromC, callbackExcept627);
registerCallback(thisCpp, callback627, 627);
const callbackExcept628 = 0;
//tag=1021
final callback628 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_FFI>(
Platform_flutter.inDisallowedDragView_calledFromC,
callbackExcept626);
registerCallback(thisCpp, callback626, 626);
//tag=1021
final callback628 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.installMessageHandler_calledFromC);
callbackExcept628);
registerCallback(thisCpp, callback628, 628);
const callbackExcept629 = 0;
//tag=1021
final callback629 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
Platform_flutter.isLeftMouseButtonPressed_calledFromC,
callbackExcept629);
registerCallback(thisCpp, callback629, 629);
const callbackExcept630 = 0;
//tag=1021
final callback630 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
Platform_flutter.isProcessingAppQuitEvent_calledFromC,
callbackExcept630);
final callback630 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.installMessageHandler_calledFromC);
registerCallback(thisCpp, callback630, 630);
const callbackExcept631 = 0;
//tag=1021
final callback631 = ffi.Pointer.fromFunction<string_Func_voidstar_FFI>(
Platform_flutter.name_calledFromC);
final callback631 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
Platform_flutter.isLeftMouseButtonPressed_calledFromC,
callbackExcept631);
registerCallback(thisCpp, callback631, 631);
const callbackExcept632 = 0;
//tag=1021
final callback632 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
Platform_flutter.organizationName_calledFromC);
final callback632 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
Platform_flutter.isProcessingAppQuitEvent_calledFromC,
callbackExcept632);
registerCallback(thisCpp, callback632, 632);
//tag=1021
final callback633 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.restoreMouseCursor_calledFromC);
final callback633 = ffi.Pointer.fromFunction<string_Func_voidstar_FFI>(
Platform_flutter.name_calledFromC);
registerCallback(thisCpp, callback633, 633);
const callbackExcept634 = 0;
//tag=1021
final callback634 =
ffi.Pointer.fromFunction<int_Func_voidstar_voidstar_FFI>(
Platform_flutter.screenNumberFor_calledFromC, callbackExcept634);
final callback634 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
Platform_flutter.organizationName_calledFromC);
registerCallback(thisCpp, callback634, 634);
//tag=1021
final callback635 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
Platform_flutter.screenSizeFor_calledFromC);
final callback635 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.restoreMouseCursor_calledFromC);
registerCallback(thisCpp, callback635, 635);
const callbackExcept636 = 0;
//tag=1021
final callback636 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_voidstar_FFI>(
Platform_flutter.sendEvent_calledFromC);
ffi.Pointer.fromFunction<int_Func_voidstar_voidstar_FFI>(
Platform_flutter.screenNumberFor_calledFromC, callbackExcept636);
registerCallback(thisCpp, callback636, 636);
//tag=1021
final callback637 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
Platform_flutter.setMouseCursor_calledFromC);
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
Platform_flutter.screenSizeFor_calledFromC);
registerCallback(thisCpp, callback637, 637);
//tag=1021
final callback638 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_voidstar_FFI>(
Platform_flutter.tests_createFocusableView_calledFromC);
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_voidstar_FFI>(
Platform_flutter.sendEvent_calledFromC);
registerCallback(thisCpp, callback638, 638);
//tag=1021
final callback639 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
Platform_flutter.tests_createNonClosableView_calledFromC);
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
Platform_flutter.setMouseCursor_calledFromC);
registerCallback(thisCpp, callback639, 639);
//tag=1021
final callback640 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_voidstar_FFI>(
Platform_flutter.tests_createView_calledFromC);
Platform_flutter.tests_createFocusableView_calledFromC);
registerCallback(thisCpp, callback640, 640);
//tag=1021
final callback641 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.tests_deinitPlatform_impl_calledFromC);
final callback641 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
Platform_flutter.tests_createNonClosableView_calledFromC);
registerCallback(thisCpp, callback641, 641);
//tag=1021
final callback642 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.tests_initPlatform_impl_calledFromC);
final callback642 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_voidstar_FFI>(
Platform_flutter.tests_createView_calledFromC);
registerCallback(thisCpp, callback642, 642);
//tag=1021
final callback643 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
Platform_flutter.tests_wait_calledFromC);
final callback643 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.tests_deinitPlatform_impl_calledFromC);
registerCallback(thisCpp, callback643, 643);
const callbackExcept644 = 0;
//tag=1021
final callback644 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>(
Platform_flutter.tests_waitForDeleted_calledFromC,
callbackExcept644);
final callback644 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.tests_initPlatform_impl_calledFromC);
registerCallback(thisCpp, callback644, 644);
const callbackExcept645 = 0;
//tag=1021
final callback645 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>(
Platform_flutter.tests_waitForDeleted_2_calledFromC,
callbackExcept645);
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
Platform_flutter.tests_wait_calledFromC);
registerCallback(thisCpp, callback645, 645);
const callbackExcept646 = 0;
//tag=1021
final callback646 = ffi.Pointer.fromFunction<
bool_Func_voidstar_voidstar_ffi_Int32_ffi_Int32_FFI>(
Platform_flutter.tests_waitForEvent_calledFromC, callbackExcept646);
final callback646 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>(
Platform_flutter.tests_waitForDeleted_calledFromC,
callbackExcept646);
registerCallback(thisCpp, callback646, 646);
const callbackExcept647 = 0;
//tag=1021
final callback647 = ffi.Pointer.fromFunction<
bool_Func_voidstar_voidstar_ffi_Int32_ffi_Int32_FFI>(
Platform_flutter.tests_waitForEvent_2_calledFromC, callbackExcept647);
final callback647 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>(
Platform_flutter.tests_waitForDeleted_2_calledFromC,
callbackExcept647);
registerCallback(thisCpp, callback647, 647);
const callbackExcept648 = 0;
//tag=1021
final callback648 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>(
Platform_flutter.tests_waitForResize_calledFromC,
callbackExcept648);
final callback648 = ffi.Pointer.fromFunction<
bool_Func_voidstar_voidstar_ffi_Int32_ffi_Int32_FFI>(
Platform_flutter.tests_waitForEvent_calledFromC, callbackExcept648);
registerCallback(thisCpp, callback648, 648);
const callbackExcept649 = 0;
//tag=1021
final callback649 =
final callback649 = ffi.Pointer.fromFunction<
bool_Func_voidstar_voidstar_ffi_Int32_ffi_Int32_FFI>(
Platform_flutter.tests_waitForEvent_2_calledFromC, callbackExcept649);
registerCallback(thisCpp, callback649, 649);
const callbackExcept650 = 0;
//tag=1021
final callback650 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>(
Platform_flutter.tests_waitForResize_calledFromC,
callbackExcept650);
registerCallback(thisCpp, callback650, 650);
const callbackExcept651 = 0;
//tag=1021
final callback651 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>(
Platform_flutter.tests_waitForResize_2_calledFromC,
callbackExcept649);
registerCallback(thisCpp, callback649, 649);
//tag=1021
final callback650 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.ungrabMouse_calledFromC);
registerCallback(thisCpp, callback650, 650);
//tag=1021
final callback651 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.uninstallMessageHandler_calledFromC);
callbackExcept651);
registerCallback(thisCpp, callback651, 651);
const callbackExcept652 = 0;
//tag=1021
final callback652 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
Platform_flutter.usesFallbackMouseGrabber_calledFromC,
callbackExcept652);
final callback652 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.ungrabMouse_calledFromC);
registerCallback(thisCpp, callback652, 652);
//tag=1021
final callback653 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
Platform_flutter.uninstallMessageHandler_calledFromC);
registerCallback(thisCpp, callback653, 653);
const callbackExcept654 = 0;
//tag=1021
final callback654 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
Platform_flutter.usesFallbackMouseGrabber_calledFromC,
callbackExcept654);
registerCallback(thisCpp, callback654, 654);
}
}

View File

@@ -357,5 +357,9 @@ typedef bool_Func_voidstar_voidstar_ffi_Int32_ffi_Int32_FFI = ffi.Int8 Function(
typedef void_Func_voidstar_double = void Function(ffi.Pointer<void>, double);
typedef void_Func_voidstar_ffi_Double_FFI = ffi.Void Function(
ffi.Pointer<void>, ffi.Double);
typedef voidstar_Func_voidstar_int_bool = ffi.Pointer<void> Function(
ffi.Pointer<void>, int, int);
typedef voidstar_Func_voidstar_ffi_Int32_ffi_Int8_FFI = ffi.Pointer<void>
Function(ffi.Pointer<void>, ffi.Int32, ffi.Int8);
typedef double_Func_voidstar = double Function(ffi.Pointer<void>);
typedef double_Func_voidstar_FFI = ffi.Double Function(ffi.Pointer<void>);

View File

@@ -46,13 +46,48 @@ class ViewFactory extends QObject {
}
//tag=1024
//tag=1027
// createDropArea(KDDockWidgets::Controllers::DropArea * arg__1, KDDockWidgets::View * parent) const
View createDropArea(DropArea? arg__1, View? parent) {
//tag=1028
final voidstar_Func_voidstar_voidstar_voidstar func = _dylib
.lookup<
ffi.NativeFunction<
voidstar_Func_voidstar_voidstar_voidstar_FFI>>(
cFunctionSymbolName(592))
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(
thisCpp,
arg__1 == null ? ffi.nullptr : arg__1.thisCpp,
parent == null ? ffi.nullptr : parent.thisCpp);
return View.fromCppPointer(result, false);
}
//tag=1035
static ffi.Pointer<void> createDropArea_calledFromC(ffi.Pointer<void> thisCpp,
ffi.Pointer<void>? arg__1, ffi.Pointer<void>? parent) {
var dartInstance =
QObject.s_dartInstanceByCppPtr[thisCpp.address] as ViewFactory;
if (dartInstance == null) {
print(
"Dart instance not found for ViewFactory::createDropArea(KDDockWidgets::Controllers::DropArea * arg__1, KDDockWidgets::View * parent) const! (${thisCpp.address})");
throw Error();
}
//tag=1037
final result = dartInstance.createDropArea(
DropArea.fromCppPointer(arg__1), View.fromCppPointer(parent));
return result.thisCpp;
}
//tag=1024
//tag=1027
// createRubberBand(KDDockWidgets::View * parent) const
View createRubberBand(View? parent) {
//tag=1028
final voidstar_Func_voidstar_voidstar func = _dylib
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_voidstar_FFI>>(
cFunctionSymbolName(591))
cFunctionSymbolName(593))
.asFunction();
//tag=1033
ffi.Pointer<void> result =
@@ -151,7 +186,9 @@ class ViewFactory extends QObject {
//tag=1019
String cFunctionSymbolName(int methodId) {
switch (methodId) {
case 591:
case 592:
return "c_KDDockWidgets__ViewFactory__createDropArea_DropArea_View";
case 593:
return "c_KDDockWidgets__ViewFactory__createRubberBand_View";
case 294:
return "c_KDDockWidgets__ViewFactory__customEvent_QEvent";
@@ -165,7 +202,9 @@ class ViewFactory extends QObject {
static String methodNameFromId(int methodId) {
switch (methodId) {
case 591:
case 592:
return "createDropArea";
case 593:
return "createRubberBand";
case 294:
return "customEvent";
@@ -186,10 +225,15 @@ class ViewFactory extends QObject {
.asFunction();
//tag=1021
final callback591 =
final callback592 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_voidstar_FFI>(
ViewFactory.createDropArea_calledFromC);
registerCallback(thisCpp, callback592, 592);
//tag=1021
final callback593 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
ViewFactory.createRubberBand_calledFromC);
registerCallback(thisCpp, callback591, 591);
registerCallback(thisCpp, callback593, 593);
//tag=1021
final callback294 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(

View File

@@ -48,6 +48,23 @@ class ViewFactory_flutter extends ViewFactory {
}
//tag=1024
//tag=1035
static ffi.Pointer<void> createDropArea_calledFromC(ffi.Pointer<void> thisCpp,
ffi.Pointer<void>? arg__1, ffi.Pointer<void>? parent) {
var dartInstance =
QObject.s_dartInstanceByCppPtr[thisCpp.address] as ViewFactory_flutter;
if (dartInstance == null) {
print(
"Dart instance not found for ViewFactory_flutter::createDropArea(KDDockWidgets::Controllers::DropArea * arg__1, KDDockWidgets::View * parent) const! (${thisCpp.address})");
throw Error();
}
//tag=1037
final result = dartInstance.createDropArea(
DropArea.fromCppPointer(arg__1), View.fromCppPointer(parent));
return result.thisCpp;
}
//tag=1024
//tag=1035
static ffi.Pointer<void> createRubberBand_calledFromC(
ffi.Pointer<void> thisCpp, ffi.Pointer<void>? parent) {
@@ -139,7 +156,9 @@ class ViewFactory_flutter extends ViewFactory {
//tag=1019
String cFunctionSymbolName(int methodId) {
switch (methodId) {
case 591:
case 592:
return "c_KDDockWidgets__ViewFactory_flutter__createDropArea_DropArea_View";
case 593:
return "c_KDDockWidgets__ViewFactory_flutter__createRubberBand_View";
case 294:
return "c_KDDockWidgets__ViewFactory_flutter__customEvent_QEvent";
@@ -153,7 +172,9 @@ class ViewFactory_flutter extends ViewFactory {
static String methodNameFromId(int methodId) {
switch (methodId) {
case 591:
case 592:
return "createDropArea";
case 593:
return "createRubberBand";
case 294:
return "customEvent";
@@ -174,10 +195,15 @@ class ViewFactory_flutter extends ViewFactory {
.asFunction();
//tag=1021
final callback591 =
final callback592 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_voidstar_FFI>(
ViewFactory_flutter.createDropArea_calledFromC);
registerCallback(thisCpp, callback592, 592);
//tag=1021
final callback593 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
ViewFactory_flutter.createRubberBand_calledFromC);
registerCallback(thisCpp, callback591, 591);
registerCallback(thisCpp, callback593, 593);
//tag=1021
final callback294 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(

View File

@@ -848,111 +848,111 @@ class View_flutter extends View {
//tag=1019
String cFunctionSymbolName(int methodId) {
switch (methodId) {
case 702:
return "c_KDDockWidgets__Views__View_flutter__activateWindow";
case 704:
return "c_KDDockWidgets__Views__View_flutter__activateWindow";
case 708:
return "c_KDDockWidgets__Views__View_flutter__close";
case 707:
return "c_KDDockWidgets__Views__View_flutter__createPlatformWindow";
case 711:
return "c_KDDockWidgets__Views__View_flutter__free_impl";
case 713:
return "c_KDDockWidgets__Views__View_flutter__geometry";
return "c_KDDockWidgets__Views__View_flutter__createPlatformWindow";
case 715:
return "c_KDDockWidgets__Views__View_flutter__free_impl";
case 717:
return "c_KDDockWidgets__Views__View_flutter__geometry";
case 719:
return "c_KDDockWidgets__Views__View_flutter__grabMouse";
case 718:
case 722:
return "c_KDDockWidgets__Views__View_flutter__hasFocus";
case 720:
return "c_KDDockWidgets__Views__View_flutter__hide";
case 723:
return "c_KDDockWidgets__Views__View_flutter__init";
case 724:
return "c_KDDockWidgets__Views__View_flutter__isActiveWindow";
case 725:
return "c_KDDockWidgets__Views__View_flutter__isMaximized";
case 726:
return "c_KDDockWidgets__Views__View_flutter__isMinimized";
return "c_KDDockWidgets__Views__View_flutter__hide";
case 727:
return "c_KDDockWidgets__Views__View_flutter__isNull";
return "c_KDDockWidgets__Views__View_flutter__init";
case 728:
return "c_KDDockWidgets__Views__View_flutter__isRootView";
return "c_KDDockWidgets__Views__View_flutter__isActiveWindow";
case 729:
return "c_KDDockWidgets__Views__View_flutter__isVisible";
return "c_KDDockWidgets__Views__View_flutter__isMaximized";
case 730:
return "c_KDDockWidgets__Views__View_flutter__mapFromGlobal_QPoint";
return "c_KDDockWidgets__Views__View_flutter__isMinimized";
case 731:
return "c_KDDockWidgets__Views__View_flutter__mapTo_View_QPoint";
return "c_KDDockWidgets__Views__View_flutter__isNull";
case 732:
return "c_KDDockWidgets__Views__View_flutter__mapToGlobal_QPoint";
return "c_KDDockWidgets__Views__View_flutter__isRootView";
case 733:
return "c_KDDockWidgets__Views__View_flutter__maxSizeHint";
return "c_KDDockWidgets__Views__View_flutter__isVisible";
case 734:
return "c_KDDockWidgets__Views__View_flutter__maximumSize";
return "c_KDDockWidgets__Views__View_flutter__mapFromGlobal_QPoint";
case 735:
return "c_KDDockWidgets__Views__View_flutter__minSize";
return "c_KDDockWidgets__Views__View_flutter__mapTo_View_QPoint";
case 736:
return "c_KDDockWidgets__Views__View_flutter__minimumHeight";
return "c_KDDockWidgets__Views__View_flutter__mapToGlobal_QPoint";
case 737:
return "c_KDDockWidgets__Views__View_flutter__minimumWidth";
return "c_KDDockWidgets__Views__View_flutter__maxSizeHint";
case 738:
return "c_KDDockWidgets__Views__View_flutter__maximumSize";
case 739:
return "c_KDDockWidgets__Views__View_flutter__move_int_int";
return "c_KDDockWidgets__Views__View_flutter__minSize";
case 740:
return "c_KDDockWidgets__Views__View_flutter__normalGeometry";
return "c_KDDockWidgets__Views__View_flutter__minimumHeight";
case 741:
return "c_KDDockWidgets__Views__View_flutter__objectName";
case 742:
return "c_KDDockWidgets__Views__View_flutter__onResize_QSize";
return "c_KDDockWidgets__Views__View_flutter__minimumWidth";
case 743:
return "c_KDDockWidgets__Views__View_flutter__move_int_int";
case 744:
return "c_KDDockWidgets__Views__View_flutter__normalGeometry";
case 745:
return "c_KDDockWidgets__Views__View_flutter__raise";
return "c_KDDockWidgets__Views__View_flutter__objectName";
case 746:
return "c_KDDockWidgets__Views__View_flutter__raiseAndActivate";
case 748:
return "c_KDDockWidgets__Views__View_flutter__releaseKeyboard";
return "c_KDDockWidgets__Views__View_flutter__onResize_QSize";
case 749:
return "c_KDDockWidgets__Views__View_flutter__releaseMouse";
return "c_KDDockWidgets__Views__View_flutter__raise";
case 750:
return "c_KDDockWidgets__Views__View_flutter__raiseAndActivate";
case 752:
return "c_KDDockWidgets__Views__View_flutter__releaseKeyboard";
case 753:
return "c_KDDockWidgets__Views__View_flutter__setCursor_CursorShape";
case 754:
return "c_KDDockWidgets__Views__View_flutter__setFixedHeight_int";
case 755:
return "c_KDDockWidgets__Views__View_flutter__setFixedWidth_int";
case 756:
return "c_KDDockWidgets__Views__View_flutter__setGeometry_QRect";
return "c_KDDockWidgets__Views__View_flutter__releaseMouse";
case 757:
return "c_KDDockWidgets__Views__View_flutter__setHeight_int";
return "c_KDDockWidgets__Views__View_flutter__setCursor_CursorShape";
case 758:
return "c_KDDockWidgets__Views__View_flutter__setMaximumSize_QSize";
return "c_KDDockWidgets__Views__View_flutter__setFixedHeight_int";
case 759:
return "c_KDDockWidgets__Views__View_flutter__setMinimumSize_QSize";
return "c_KDDockWidgets__Views__View_flutter__setFixedWidth_int";
case 760:
return "c_KDDockWidgets__Views__View_flutter__setMouseTracking_bool";
return "c_KDDockWidgets__Views__View_flutter__setGeometry_QRect";
case 761:
return "c_KDDockWidgets__Views__View_flutter__setObjectName_QString";
return "c_KDDockWidgets__Views__View_flutter__setHeight_int";
case 762:
return "c_KDDockWidgets__Views__View_flutter__setParent_View";
return "c_KDDockWidgets__Views__View_flutter__setMaximumSize_QSize";
case 763:
return "c_KDDockWidgets__Views__View_flutter__setMinimumSize_QSize";
case 764:
return "c_KDDockWidgets__Views__View_flutter__setSize_int_int";
return "c_KDDockWidgets__Views__View_flutter__setMouseTracking_bool";
case 765:
return "c_KDDockWidgets__Views__View_flutter__setVisible_bool";
return "c_KDDockWidgets__Views__View_flutter__setObjectName_QString";
case 766:
return "c_KDDockWidgets__Views__View_flutter__setWidth_int";
case 767:
return "c_KDDockWidgets__Views__View_flutter__setWindowOpacity_double";
return "c_KDDockWidgets__Views__View_flutter__setParent_View";
case 768:
return "c_KDDockWidgets__Views__View_flutter__setWindowTitle_QString";
return "c_KDDockWidgets__Views__View_flutter__setSize_int_int";
case 769:
return "c_KDDockWidgets__Views__View_flutter__setZOrder_int";
return "c_KDDockWidgets__Views__View_flutter__setVisible_bool";
case 770:
return "c_KDDockWidgets__Views__View_flutter__show";
return "c_KDDockWidgets__Views__View_flutter__setWidth_int";
case 771:
return "c_KDDockWidgets__Views__View_flutter__showMaximized";
return "c_KDDockWidgets__Views__View_flutter__setWindowOpacity_double";
case 772:
return "c_KDDockWidgets__Views__View_flutter__showMinimized";
return "c_KDDockWidgets__Views__View_flutter__setWindowTitle_QString";
case 773:
return "c_KDDockWidgets__Views__View_flutter__showNormal";
return "c_KDDockWidgets__Views__View_flutter__setZOrder_int";
case 774:
return "c_KDDockWidgets__Views__View_flutter__show";
case 775:
return "c_KDDockWidgets__Views__View_flutter__sizeHint";
return "c_KDDockWidgets__Views__View_flutter__showMaximized";
case 776:
return "c_KDDockWidgets__Views__View_flutter__showMinimized";
case 777:
return "c_KDDockWidgets__Views__View_flutter__showNormal";
case 779:
return "c_KDDockWidgets__Views__View_flutter__sizeHint";
case 780:
return "c_KDDockWidgets__Views__View_flutter__update";
}
return super.cFunctionSymbolName(methodId);
@@ -960,111 +960,111 @@ class View_flutter extends View {
static String methodNameFromId(int methodId) {
switch (methodId) {
case 702:
return "activateWindow";
case 704:
return "activateWindow";
case 708:
return "close";
case 707:
return "createPlatformWindow";
case 711:
return "free_impl";
case 713:
return "geometry";
return "createPlatformWindow";
case 715:
return "free_impl";
case 717:
return "geometry";
case 719:
return "grabMouse";
case 718:
case 722:
return "hasFocus";
case 720:
return "hide";
case 723:
return "init";
case 724:
return "isActiveWindow";
case 725:
return "isMaximized";
case 726:
return "isMinimized";
return "hide";
case 727:
return "isNull";
return "init";
case 728:
return "isRootView";
return "isActiveWindow";
case 729:
return "isVisible";
return "isMaximized";
case 730:
return "mapFromGlobal";
return "isMinimized";
case 731:
return "mapTo";
return "isNull";
case 732:
return "mapToGlobal";
return "isRootView";
case 733:
return "maxSizeHint";
return "isVisible";
case 734:
return "maximumSize";
return "mapFromGlobal";
case 735:
return "minSize";
return "mapTo";
case 736:
return "minimumHeight";
return "mapToGlobal";
case 737:
return "minimumWidth";
return "maxSizeHint";
case 738:
return "maximumSize";
case 739:
return "move_2";
return "minSize";
case 740:
return "normalGeometry";
return "minimumHeight";
case 741:
return "objectName";
case 742:
return "onResize";
return "minimumWidth";
case 743:
return "move_2";
case 744:
return "normalGeometry";
case 745:
return "raise";
return "objectName";
case 746:
return "raiseAndActivate";
case 748:
return "releaseKeyboard";
return "onResize";
case 749:
return "releaseMouse";
return "raise";
case 750:
return "raiseAndActivate";
case 752:
return "releaseKeyboard";
case 753:
return "setCursor";
case 754:
return "setFixedHeight";
case 755:
return "setFixedWidth";
case 756:
return "setGeometry";
return "releaseMouse";
case 757:
return "setHeight";
return "setCursor";
case 758:
return "setMaximumSize";
return "setFixedHeight";
case 759:
return "setMinimumSize";
return "setFixedWidth";
case 760:
return "setMouseTracking";
return "setGeometry";
case 761:
return "setObjectName";
return "setHeight";
case 762:
return "setParent";
return "setMaximumSize";
case 763:
return "setMinimumSize";
case 764:
return "setSize_2";
return "setMouseTracking";
case 765:
return "setVisible";
return "setObjectName";
case 766:
return "setWidth";
case 767:
return "setWindowOpacity";
return "setParent";
case 768:
return "setWindowTitle";
return "setSize_2";
case 769:
return "setZOrder";
return "setVisible";
case 770:
return "show";
return "setWidth";
case 771:
return "showMaximized";
return "setWindowOpacity";
case 772:
return "showMinimized";
return "setWindowTitle";
case 773:
return "showNormal";
return "setZOrder";
case 774:
return "show";
case 775:
return "sizeHint";
return "showMaximized";
case 776:
return "showMinimized";
case 777:
return "showNormal";
case 779:
return "sizeHint";
case 780:
return "update";
}
throw Error();
@@ -1079,248 +1079,248 @@ class View_flutter extends View {
.asFunction();
//tag=1021
final callback702 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
final callback704 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.activateWindow_calledFromC);
registerCallback(thisCpp, callback702, 702);
const callbackExcept704 = 0;
//tag=1021
final callback704 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.close_calledFromC, callbackExcept704);
registerCallback(thisCpp, callback704, 704);
const callbackExcept708 = 0;
//tag=1021
final callback707 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View.createPlatformWindow_calledFromC);
registerCallback(thisCpp, callback707, 707);
final callback708 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.close_calledFromC, callbackExcept708);
registerCallback(thisCpp, callback708, 708);
//tag=1021
final callback711 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.free_impl_calledFromC);
View.createPlatformWindow_calledFromC);
registerCallback(thisCpp, callback711, 711);
//tag=1021
final callback713 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.geometry_calledFromC);
registerCallback(thisCpp, callback713, 713);
//tag=1021
final callback715 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.grabMouse_calledFromC);
View_flutter.free_impl_calledFromC);
registerCallback(thisCpp, callback715, 715);
const callbackExcept718 = 0;
//tag=1021
final callback718 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.hasFocus_calledFromC, callbackExcept718);
registerCallback(thisCpp, callback718, 718);
final callback717 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.geometry_calledFromC);
registerCallback(thisCpp, callback717, 717);
//tag=1021
final callback720 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
final callback719 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.grabMouse_calledFromC);
registerCallback(thisCpp, callback719, 719);
const callbackExcept722 = 0;
//tag=1021
final callback722 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.hasFocus_calledFromC, callbackExcept722);
registerCallback(thisCpp, callback722, 722);
//tag=1021
final callback724 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.hide_calledFromC);
registerCallback(thisCpp, callback720, 720);
//tag=1021
final callback723 =
ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(View.init_calledFromC);
registerCallback(thisCpp, callback723, 723);
const callbackExcept724 = 0;
//tag=1021
final callback724 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.isActiveWindow_calledFromC, callbackExcept724);
registerCallback(thisCpp, callback724, 724);
const callbackExcept725 = 0;
//tag=1021
final callback725 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.isMaximized_calledFromC, callbackExcept725);
registerCallback(thisCpp, callback725, 725);
const callbackExcept726 = 0;
//tag=1021
final callback726 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.isMinimized_calledFromC, callbackExcept726);
registerCallback(thisCpp, callback726, 726);
const callbackExcept727 = 0;
//tag=1021
final callback727 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View.isNull_calledFromC, callbackExcept727);
final callback727 =
ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(View.init_calledFromC);
registerCallback(thisCpp, callback727, 727);
const callbackExcept728 = 0;
//tag=1021
final callback728 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.isRootView_calledFromC, callbackExcept728);
View_flutter.isActiveWindow_calledFromC, callbackExcept728);
registerCallback(thisCpp, callback728, 728);
const callbackExcept729 = 0;
//tag=1021
final callback729 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.isVisible_calledFromC, callbackExcept729);
View_flutter.isMaximized_calledFromC, callbackExcept729);
registerCallback(thisCpp, callback729, 729);
const callbackExcept730 = 0;
//tag=1021
final callback730 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
View_flutter.mapFromGlobal_calledFromC);
final callback730 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.isMinimized_calledFromC, callbackExcept730);
registerCallback(thisCpp, callback730, 730);
const callbackExcept731 = 0;
//tag=1021
final callback731 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_voidstar_FFI>(
View_flutter.mapTo_calledFromC);
final callback731 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View.isNull_calledFromC, callbackExcept731);
registerCallback(thisCpp, callback731, 731);
const callbackExcept732 = 0;
//tag=1021
final callback732 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
View_flutter.mapToGlobal_calledFromC);
final callback732 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.isRootView_calledFromC, callbackExcept732);
registerCallback(thisCpp, callback732, 732);
const callbackExcept733 = 0;
//tag=1021
final callback733 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.maxSizeHint_calledFromC);
final callback733 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
View_flutter.isVisible_calledFromC, callbackExcept733);
registerCallback(thisCpp, callback733, 733);
//tag=1021
final callback734 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.maximumSize_calledFromC);
final callback734 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
View_flutter.mapFromGlobal_calledFromC);
registerCallback(thisCpp, callback734, 734);
//tag=1021
final callback735 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.minSize_calledFromC);
final callback735 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_voidstar_FFI>(
View_flutter.mapTo_calledFromC);
registerCallback(thisCpp, callback735, 735);
const callbackExcept736 = 0;
//tag=1021
final callback736 = ffi.Pointer.fromFunction<int_Func_voidstar_FFI>(
View.minimumHeight_calledFromC, callbackExcept736);
final callback736 =
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
View_flutter.mapToGlobal_calledFromC);
registerCallback(thisCpp, callback736, 736);
const callbackExcept737 = 0;
//tag=1021
final callback737 = ffi.Pointer.fromFunction<int_Func_voidstar_FFI>(
View.minimumWidth_calledFromC, callbackExcept737);
final callback737 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.maxSizeHint_calledFromC);
registerCallback(thisCpp, callback737, 737);
//tag=1021
final callback739 =
final callback738 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.maximumSize_calledFromC);
registerCallback(thisCpp, callback738, 738);
//tag=1021
final callback739 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.minSize_calledFromC);
registerCallback(thisCpp, callback739, 739);
const callbackExcept740 = 0;
//tag=1021
final callback740 = ffi.Pointer.fromFunction<int_Func_voidstar_FFI>(
View.minimumHeight_calledFromC, callbackExcept740);
registerCallback(thisCpp, callback740, 740);
const callbackExcept741 = 0;
//tag=1021
final callback741 = ffi.Pointer.fromFunction<int_Func_voidstar_FFI>(
View.minimumWidth_calledFromC, callbackExcept741);
registerCallback(thisCpp, callback741, 741);
//tag=1021
final callback743 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_ffi_Int32_FFI>(
View_flutter.move_2_calledFromC);
registerCallback(thisCpp, callback739, 739);
registerCallback(thisCpp, callback743, 743);
//tag=1021
final callback740 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
final callback744 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.normalGeometry_calledFromC);
registerCallback(thisCpp, callback740, 740);
registerCallback(thisCpp, callback744, 744);
//tag=1021
final callback741 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
final callback745 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.objectName_calledFromC);
registerCallback(thisCpp, callback741, 741);
const callbackExcept742 = 0;
//tag=1021
final callback742 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_FFI>(
View.onResize_calledFromC, callbackExcept742);
registerCallback(thisCpp, callback742, 742);
//tag=1021
final callback745 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.raise_calledFromC);
registerCallback(thisCpp, callback745, 745);
const callbackExcept746 = 0;
//tag=1021
final callback746 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.raiseAndActivate_calledFromC);
final callback746 =
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_FFI>(
View.onResize_calledFromC, callbackExcept746);
registerCallback(thisCpp, callback746, 746);
//tag=1021
final callback748 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.releaseKeyboard_calledFromC);
registerCallback(thisCpp, callback748, 748);
//tag=1021
final callback749 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.releaseMouse_calledFromC);
View_flutter.raise_calledFromC);
registerCallback(thisCpp, callback749, 749);
//tag=1021
final callback753 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
View_flutter.setCursor_calledFromC);
final callback750 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.raiseAndActivate_calledFromC);
registerCallback(thisCpp, callback750, 750);
//tag=1021
final callback752 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.releaseKeyboard_calledFromC);
registerCallback(thisCpp, callback752, 752);
//tag=1021
final callback753 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.releaseMouse_calledFromC);
registerCallback(thisCpp, callback753, 753);
//tag=1021
final callback754 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
View_flutter.setFixedHeight_calledFromC);
registerCallback(thisCpp, callback754, 754);
//tag=1021
final callback755 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
View_flutter.setFixedWidth_calledFromC);
registerCallback(thisCpp, callback755, 755);
//tag=1021
final callback756 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
View_flutter.setGeometry_calledFromC);
registerCallback(thisCpp, callback756, 756);
//tag=1021
final callback757 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
View_flutter.setHeight_calledFromC);
View_flutter.setCursor_calledFromC);
registerCallback(thisCpp, callback757, 757);
//tag=1021
final callback758 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
View_flutter.setMaximumSize_calledFromC);
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
View_flutter.setFixedHeight_calledFromC);
registerCallback(thisCpp, callback758, 758);
//tag=1021
final callback759 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
View_flutter.setMinimumSize_calledFromC);
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
View_flutter.setFixedWidth_calledFromC);
registerCallback(thisCpp, callback759, 759);
//tag=1021
final callback760 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int8_FFI>(
View_flutter.setMouseTracking_calledFromC);
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
View_flutter.setGeometry_calledFromC);
registerCallback(thisCpp, callback760, 760);
//tag=1021
final callback761 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
View_flutter.setObjectName_calledFromC);
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
View_flutter.setHeight_calledFromC);
registerCallback(thisCpp, callback761, 761);
//tag=1021
final callback762 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
View_flutter.setParent_calledFromC);
View_flutter.setMaximumSize_calledFromC);
registerCallback(thisCpp, callback762, 762);
//tag=1021
final callback763 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
View_flutter.setMinimumSize_calledFromC);
registerCallback(thisCpp, callback763, 763);
//tag=1021
final callback764 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_ffi_Int32_FFI>(
View_flutter.setSize_2_calledFromC);
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int8_FFI>(
View_flutter.setMouseTracking_calledFromC);
registerCallback(thisCpp, callback764, 764);
//tag=1021
final callback765 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int8_FFI>(
View_flutter.setVisible_calledFromC);
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
View_flutter.setObjectName_calledFromC);
registerCallback(thisCpp, callback765, 765);
//tag=1021
final callback766 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
View_flutter.setWidth_calledFromC);
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
View_flutter.setParent_calledFromC);
registerCallback(thisCpp, callback766, 766);
//tag=1021
final callback767 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Double_FFI>(
View_flutter.setWindowOpacity_calledFromC);
registerCallback(thisCpp, callback767, 767);
//tag=1021
final callback768 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
View_flutter.setWindowTitle_calledFromC);
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_ffi_Int32_FFI>(
View_flutter.setSize_2_calledFromC);
registerCallback(thisCpp, callback768, 768);
//tag=1021
final callback769 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
View_flutter.setZOrder_calledFromC);
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int8_FFI>(
View_flutter.setVisible_calledFromC);
registerCallback(thisCpp, callback769, 769);
//tag=1021
final callback770 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.show_calledFromC);
final callback770 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
View_flutter.setWidth_calledFromC);
registerCallback(thisCpp, callback770, 770);
//tag=1021
final callback771 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.showMaximized_calledFromC);
final callback771 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Double_FFI>(
View_flutter.setWindowOpacity_calledFromC);
registerCallback(thisCpp, callback771, 771);
//tag=1021
final callback772 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.showMinimized_calledFromC);
final callback772 =
ffi.Pointer.fromFunction<void_Func_voidstar_voidstar_FFI>(
View_flutter.setWindowTitle_calledFromC);
registerCallback(thisCpp, callback772, 772);
//tag=1021
final callback773 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.showNormal_calledFromC);
final callback773 =
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
View_flutter.setZOrder_calledFromC);
registerCallback(thisCpp, callback773, 773);
//tag=1021
final callback775 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.sizeHint_calledFromC);
final callback774 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.show_calledFromC);
registerCallback(thisCpp, callback774, 774);
//tag=1021
final callback775 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.showMaximized_calledFromC);
registerCallback(thisCpp, callback775, 775);
//tag=1021
final callback776 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.update_calledFromC);
View_flutter.showMinimized_calledFromC);
registerCallback(thisCpp, callback776, 776);
//tag=1021
final callback777 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.showNormal_calledFromC);
registerCallback(thisCpp, callback777, 777);
//tag=1021
final callback779 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
View_flutter.sizeHint_calledFromC);
registerCallback(thisCpp, callback779, 779);
//tag=1021
final callback780 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
View_flutter.update_calledFromC);
registerCallback(thisCpp, callback780, 780);
}
}