wip
This commit is contained in:
@@ -51,6 +51,31 @@ class Platform {
|
||||
}
|
||||
//tag=1025
|
||||
Platform.init() {}
|
||||
//tag=1024
|
||||
|
||||
//tag=1025
|
||||
int get m_numWarningsEmitted {
|
||||
//tag=1028
|
||||
final int_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<int_Func_voidstar_FFI>>(
|
||||
'c_KDDockWidgets__Platform___get_m_numWarningsEmitted')
|
||||
.asFunction();
|
||||
//tag=1031
|
||||
return func(thisCpp);
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1026
|
||||
set m_numWarningsEmitted(int m_numWarningsEmitted_) {
|
||||
//tag=1028
|
||||
final void_Func_voidstar_int func = _dylib
|
||||
.lookup<ffi.NativeFunction<void_Func_voidstar_ffi_Int32_FFI>>(
|
||||
'c_KDDockWidgets__Platform___set_m_numWarningsEmitted_int')
|
||||
.asFunction();
|
||||
//tag=1030
|
||||
func(thisCpp, m_numWarningsEmitted_);
|
||||
}
|
||||
|
||||
//tag=1023
|
||||
//Platform()
|
||||
Platform() {
|
||||
@@ -174,6 +199,31 @@ class Platform {
|
||||
dartInstance.inDisallowedDragView(QPoint.fromCppPointer(globalPos));
|
||||
return result ? 1 : 0;
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// installMessageHandler()
|
||||
installMessageHandler() {
|
||||
//tag=1028
|
||||
final void_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(684))
|
||||
.asFunction();
|
||||
//tag=1030
|
||||
func(thisCpp);
|
||||
}
|
||||
|
||||
//tag=1035
|
||||
static void installMessageHandler_calledFromC(ffi.Pointer<void> thisCpp) {
|
||||
var dartInstance = Platform.s_dartInstanceByCppPtr[thisCpp.address];
|
||||
if (dartInstance == null) {
|
||||
print(
|
||||
"Dart instance not found for Platform::installMessageHandler()! (${thisCpp.address})");
|
||||
throw Error();
|
||||
}
|
||||
//tag=1036
|
||||
dartInstance.installMessageHandler();
|
||||
}
|
||||
|
||||
//tag=1024
|
||||
static
|
||||
@@ -197,7 +247,7 @@ class Platform {
|
||||
//tag=1028
|
||||
final bool_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<bool_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(685))
|
||||
cFunctionSymbolName(686))
|
||||
.asFunction();
|
||||
//tag=1029
|
||||
return func(thisCpp) != 0;
|
||||
@@ -223,7 +273,7 @@ class Platform {
|
||||
//tag=1028
|
||||
final bool_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<bool_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(686))
|
||||
cFunctionSymbolName(687))
|
||||
.asFunction();
|
||||
//tag=1029
|
||||
return func(thisCpp) != 0;
|
||||
@@ -275,7 +325,7 @@ class Platform {
|
||||
//tag=1028
|
||||
final string_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<string_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(689))
|
||||
cFunctionSymbolName(690))
|
||||
.asFunction();
|
||||
//tag=1032
|
||||
ffi.Pointer<Utf8> result = func(thisCpp);
|
||||
@@ -302,7 +352,7 @@ class Platform {
|
||||
//tag=1028
|
||||
final voidstar_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(690))
|
||||
cFunctionSymbolName(691))
|
||||
.asFunction();
|
||||
//tag=1033
|
||||
ffi.Pointer<void> result = func(thisCpp);
|
||||
@@ -330,7 +380,7 @@ class Platform {
|
||||
//tag=1028
|
||||
final void_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(691))
|
||||
cFunctionSymbolName(692))
|
||||
.asFunction();
|
||||
//tag=1030
|
||||
func(thisCpp);
|
||||
@@ -355,7 +405,7 @@ class Platform {
|
||||
//tag=1028
|
||||
final int_Func_voidstar_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<int_Func_voidstar_voidstar_FFI>>(
|
||||
cFunctionSymbolName(692))
|
||||
cFunctionSymbolName(693))
|
||||
.asFunction();
|
||||
//tag=1031
|
||||
return func(thisCpp, arg__1 == null ? ffi.nullptr : arg__1.thisCpp);
|
||||
@@ -382,7 +432,7 @@ class Platform {
|
||||
//tag=1028
|
||||
final voidstar_Func_voidstar_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_voidstar_FFI>>(
|
||||
cFunctionSymbolName(693))
|
||||
cFunctionSymbolName(694))
|
||||
.asFunction();
|
||||
//tag=1033
|
||||
ffi.Pointer<void> result =
|
||||
@@ -424,7 +474,7 @@ class Platform {
|
||||
//tag=1028
|
||||
final int_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<int_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(695))
|
||||
cFunctionSymbolName(696))
|
||||
.asFunction();
|
||||
//tag=1031
|
||||
return func(thisCpp);
|
||||
@@ -444,13 +494,223 @@ class Platform {
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// tests_createNonClosableView(KDDockWidgets::View * parent)
|
||||
View tests_createNonClosableView({required View? parent}) {
|
||||
//tag=1028
|
||||
final voidstar_Func_voidstar_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<voidstar_Func_voidstar_voidstar_FFI>>(
|
||||
cFunctionSymbolName(697))
|
||||
.asFunction();
|
||||
//tag=1033
|
||||
ffi.Pointer<void> result =
|
||||
func(thisCpp, parent == null ? ffi.nullptr : parent.thisCpp);
|
||||
return View.fromCppPointer(result, false);
|
||||
}
|
||||
|
||||
//tag=1035
|
||||
static ffi.Pointer<void> tests_createNonClosableView_calledFromC(
|
||||
ffi.Pointer<void> thisCpp, ffi.Pointer<void>? parent) {
|
||||
var dartInstance = Platform.s_dartInstanceByCppPtr[thisCpp.address];
|
||||
if (dartInstance == null) {
|
||||
print(
|
||||
"Dart instance not found for Platform::tests_createNonClosableView(KDDockWidgets::View * parent)! (${thisCpp.address})");
|
||||
throw Error();
|
||||
}
|
||||
//tag=1037
|
||||
final result = dartInstance.tests_createNonClosableView(
|
||||
parent: View.fromCppPointer(parent));
|
||||
return result.thisCpp;
|
||||
}
|
||||
|
||||
//tag=1024
|
||||
static
|
||||
//tag=1027
|
||||
// tests_deinitPlatform()
|
||||
tests_deinitPlatform() {
|
||||
//tag=1028
|
||||
final void_Func_void func = _dylib
|
||||
.lookup<ffi.NativeFunction<void_Func_void_FFI>>(
|
||||
'c_static_KDDockWidgets__Platform__tests_deinitPlatform')
|
||||
.asFunction();
|
||||
//tag=1030
|
||||
func();
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// tests_deinitPlatform_impl()
|
||||
tests_deinitPlatform_impl() {
|
||||
//tag=1028
|
||||
final void_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(699))
|
||||
.asFunction();
|
||||
//tag=1030
|
||||
func(thisCpp);
|
||||
}
|
||||
|
||||
//tag=1035
|
||||
static void tests_deinitPlatform_impl_calledFromC(ffi.Pointer<void> thisCpp) {
|
||||
var dartInstance = Platform.s_dartInstanceByCppPtr[thisCpp.address];
|
||||
if (dartInstance == null) {
|
||||
print(
|
||||
"Dart instance not found for Platform::tests_deinitPlatform_impl()! (${thisCpp.address})");
|
||||
throw Error();
|
||||
}
|
||||
//tag=1036
|
||||
dartInstance.tests_deinitPlatform_impl();
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// tests_initPlatform_impl()
|
||||
tests_initPlatform_impl() {
|
||||
//tag=1028
|
||||
final void_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(700))
|
||||
.asFunction();
|
||||
//tag=1030
|
||||
func(thisCpp);
|
||||
}
|
||||
|
||||
//tag=1035
|
||||
static void tests_initPlatform_impl_calledFromC(ffi.Pointer<void> thisCpp) {
|
||||
var dartInstance = Platform.s_dartInstanceByCppPtr[thisCpp.address];
|
||||
if (dartInstance == null) {
|
||||
print(
|
||||
"Dart instance not found for Platform::tests_initPlatform_impl()! (${thisCpp.address})");
|
||||
throw Error();
|
||||
}
|
||||
//tag=1036
|
||||
dartInstance.tests_initPlatform_impl();
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// tests_wait(int ms)
|
||||
tests_wait(int ms) {
|
||||
//tag=1028
|
||||
final void_Func_voidstar_int func = _dylib
|
||||
.lookup<ffi.NativeFunction<void_Func_voidstar_ffi_Int32_FFI>>(
|
||||
cFunctionSymbolName(701))
|
||||
.asFunction();
|
||||
//tag=1030
|
||||
func(thisCpp, ms);
|
||||
}
|
||||
|
||||
//tag=1035
|
||||
static void tests_wait_calledFromC(ffi.Pointer<void> thisCpp, int ms) {
|
||||
var dartInstance = Platform.s_dartInstanceByCppPtr[thisCpp.address];
|
||||
if (dartInstance == null) {
|
||||
print(
|
||||
"Dart instance not found for Platform::tests_wait(int ms)! (${thisCpp.address})");
|
||||
throw Error();
|
||||
}
|
||||
//tag=1036
|
||||
dartInstance.tests_wait(ms);
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// tests_waitForDeleted(KDDockWidgets::View * arg__1, int timeout) const
|
||||
bool tests_waitForDeleted(View? arg__1, {int timeout = 2000}) {
|
||||
//tag=1028
|
||||
final bool_Func_voidstar_voidstar_int func = _dylib
|
||||
.lookup<ffi.NativeFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>>(
|
||||
cFunctionSymbolName(702))
|
||||
.asFunction();
|
||||
//tag=1029
|
||||
return func(
|
||||
thisCpp, arg__1 == null ? ffi.nullptr : arg__1.thisCpp, timeout) !=
|
||||
0;
|
||||
}
|
||||
|
||||
//tag=1035
|
||||
static int tests_waitForDeleted_calledFromC(
|
||||
ffi.Pointer<void> thisCpp, ffi.Pointer<void>? arg__1, int timeout) {
|
||||
var dartInstance = Platform.s_dartInstanceByCppPtr[thisCpp.address];
|
||||
if (dartInstance == null) {
|
||||
print(
|
||||
"Dart instance not found for Platform::tests_waitForDeleted(KDDockWidgets::View * arg__1, int timeout) const! (${thisCpp.address})");
|
||||
throw Error();
|
||||
}
|
||||
//tag=1037
|
||||
final result = dartInstance
|
||||
.tests_waitForDeleted(View.fromCppPointer(arg__1), timeout: timeout);
|
||||
return result ? 1 : 0;
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// tests_waitForDeleted(QObject * arg__1, int timeout) const
|
||||
bool tests_waitForDeleted_2(QObject? arg__1, {int timeout = 2000}) {
|
||||
//tag=1028
|
||||
final bool_Func_voidstar_voidstar_int func = _dylib
|
||||
.lookup<ffi.NativeFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>>(
|
||||
cFunctionSymbolName(703))
|
||||
.asFunction();
|
||||
//tag=1029
|
||||
return func(
|
||||
thisCpp, arg__1 == null ? ffi.nullptr : arg__1.thisCpp, timeout) !=
|
||||
0;
|
||||
}
|
||||
|
||||
//tag=1035
|
||||
static int tests_waitForDeleted_2_calledFromC(
|
||||
ffi.Pointer<void> thisCpp, ffi.Pointer<void>? arg__1, int timeout) {
|
||||
var dartInstance = Platform.s_dartInstanceByCppPtr[thisCpp.address];
|
||||
if (dartInstance == null) {
|
||||
print(
|
||||
"Dart instance not found for Platform::tests_waitForDeleted(QObject * arg__1, int timeout) const! (${thisCpp.address})");
|
||||
throw Error();
|
||||
}
|
||||
//tag=1037
|
||||
final result = dartInstance.tests_waitForDeleted_2(
|
||||
QObject.fromCppPointer(arg__1),
|
||||
timeout: timeout);
|
||||
return result ? 1 : 0;
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// tests_waitForResize(KDDockWidgets::View * arg__1, int timeout) const
|
||||
bool tests_waitForResize(View? arg__1, {int timeout = 2000}) {
|
||||
//tag=1028
|
||||
final bool_Func_voidstar_voidstar_int func = _dylib
|
||||
.lookup<ffi.NativeFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>>(
|
||||
cFunctionSymbolName(704))
|
||||
.asFunction();
|
||||
//tag=1029
|
||||
return func(
|
||||
thisCpp, arg__1 == null ? ffi.nullptr : arg__1.thisCpp, timeout) !=
|
||||
0;
|
||||
}
|
||||
|
||||
//tag=1035
|
||||
static int tests_waitForResize_calledFromC(
|
||||
ffi.Pointer<void> thisCpp, ffi.Pointer<void>? arg__1, int timeout) {
|
||||
var dartInstance = Platform.s_dartInstanceByCppPtr[thisCpp.address];
|
||||
if (dartInstance == null) {
|
||||
print(
|
||||
"Dart instance not found for Platform::tests_waitForResize(KDDockWidgets::View * arg__1, int timeout) const! (${thisCpp.address})");
|
||||
throw Error();
|
||||
}
|
||||
//tag=1037
|
||||
final result = dartInstance.tests_waitForResize(View.fromCppPointer(arg__1),
|
||||
timeout: timeout);
|
||||
return result ? 1 : 0;
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// ungrabMouse()
|
||||
ungrabMouse() {
|
||||
//tag=1028
|
||||
final void_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(696))
|
||||
cFunctionSymbolName(705))
|
||||
.asFunction();
|
||||
//tag=1030
|
||||
func(thisCpp);
|
||||
@@ -469,13 +729,38 @@ class Platform {
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// uninstallMessageHandler()
|
||||
uninstallMessageHandler() {
|
||||
//tag=1028
|
||||
final void_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<void_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(706))
|
||||
.asFunction();
|
||||
//tag=1030
|
||||
func(thisCpp);
|
||||
}
|
||||
|
||||
//tag=1035
|
||||
static void uninstallMessageHandler_calledFromC(ffi.Pointer<void> thisCpp) {
|
||||
var dartInstance = Platform.s_dartInstanceByCppPtr[thisCpp.address];
|
||||
if (dartInstance == null) {
|
||||
print(
|
||||
"Dart instance not found for Platform::uninstallMessageHandler()! (${thisCpp.address})");
|
||||
throw Error();
|
||||
}
|
||||
//tag=1036
|
||||
dartInstance.uninstallMessageHandler();
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// usesFallbackMouseGrabber() const
|
||||
bool usesFallbackMouseGrabber() {
|
||||
//tag=1028
|
||||
final bool_Func_voidstar func = _dylib
|
||||
.lookup<ffi.NativeFunction<bool_Func_voidstar_FFI>>(
|
||||
cFunctionSymbolName(697))
|
||||
cFunctionSymbolName(707))
|
||||
.asFunction();
|
||||
//tag=1029
|
||||
return func(thisCpp) != 0;
|
||||
@@ -514,25 +799,43 @@ class Platform {
|
||||
return "c_KDDockWidgets__Platform__hasActivePopup";
|
||||
case 683:
|
||||
return "c_KDDockWidgets__Platform__inDisallowedDragView_QPoint";
|
||||
case 685:
|
||||
return "c_KDDockWidgets__Platform__isLeftMouseButtonPressed";
|
||||
case 684:
|
||||
return "c_KDDockWidgets__Platform__installMessageHandler";
|
||||
case 686:
|
||||
return "c_KDDockWidgets__Platform__isLeftMouseButtonPressed";
|
||||
case 687:
|
||||
return "c_KDDockWidgets__Platform__isProcessingAppQuitEvent";
|
||||
case 689:
|
||||
return "c_KDDockWidgets__Platform__name";
|
||||
case 690:
|
||||
return "c_KDDockWidgets__Platform__organizationName";
|
||||
return "c_KDDockWidgets__Platform__name";
|
||||
case 691:
|
||||
return "c_KDDockWidgets__Platform__restoreMouseCursor";
|
||||
return "c_KDDockWidgets__Platform__organizationName";
|
||||
case 692:
|
||||
return "c_KDDockWidgets__Platform__screenNumberFor_View";
|
||||
return "c_KDDockWidgets__Platform__restoreMouseCursor";
|
||||
case 693:
|
||||
return "c_KDDockWidgets__Platform__screenNumberFor_View";
|
||||
case 694:
|
||||
return "c_KDDockWidgets__Platform__screenSizeFor_View";
|
||||
case 695:
|
||||
return "c_KDDockWidgets__Platform__startDragDistance_impl";
|
||||
case 696:
|
||||
return "c_KDDockWidgets__Platform__ungrabMouse";
|
||||
return "c_KDDockWidgets__Platform__startDragDistance_impl";
|
||||
case 697:
|
||||
return "c_KDDockWidgets__Platform__tests_createNonClosableView_View";
|
||||
case 699:
|
||||
return "c_KDDockWidgets__Platform__tests_deinitPlatform_impl";
|
||||
case 700:
|
||||
return "c_KDDockWidgets__Platform__tests_initPlatform_impl";
|
||||
case 701:
|
||||
return "c_KDDockWidgets__Platform__tests_wait_int";
|
||||
case 702:
|
||||
return "c_KDDockWidgets__Platform__tests_waitForDeleted_View_int";
|
||||
case 703:
|
||||
return "c_KDDockWidgets__Platform__tests_waitForDeleted_QObject_int";
|
||||
case 704:
|
||||
return "c_KDDockWidgets__Platform__tests_waitForResize_View_int";
|
||||
case 705:
|
||||
return "c_KDDockWidgets__Platform__ungrabMouse";
|
||||
case 706:
|
||||
return "c_KDDockWidgets__Platform__uninstallMessageHandler";
|
||||
case 707:
|
||||
return "c_KDDockWidgets__Platform__usesFallbackMouseGrabber";
|
||||
}
|
||||
return "";
|
||||
@@ -548,25 +851,43 @@ class Platform {
|
||||
return "hasActivePopup";
|
||||
case 683:
|
||||
return "inDisallowedDragView";
|
||||
case 685:
|
||||
return "isLeftMouseButtonPressed";
|
||||
case 684:
|
||||
return "installMessageHandler";
|
||||
case 686:
|
||||
return "isLeftMouseButtonPressed";
|
||||
case 687:
|
||||
return "isProcessingAppQuitEvent";
|
||||
case 689:
|
||||
return "name";
|
||||
case 690:
|
||||
return "organizationName";
|
||||
return "name";
|
||||
case 691:
|
||||
return "restoreMouseCursor";
|
||||
return "organizationName";
|
||||
case 692:
|
||||
return "screenNumberFor";
|
||||
return "restoreMouseCursor";
|
||||
case 693:
|
||||
return "screenNumberFor";
|
||||
case 694:
|
||||
return "screenSizeFor";
|
||||
case 695:
|
||||
return "startDragDistance_impl";
|
||||
case 696:
|
||||
return "ungrabMouse";
|
||||
return "startDragDistance_impl";
|
||||
case 697:
|
||||
return "tests_createNonClosableView";
|
||||
case 699:
|
||||
return "tests_deinitPlatform_impl";
|
||||
case 700:
|
||||
return "tests_initPlatform_impl";
|
||||
case 701:
|
||||
return "tests_wait";
|
||||
case 702:
|
||||
return "tests_waitForDeleted";
|
||||
case 703:
|
||||
return "tests_waitForDeleted_2";
|
||||
case 704:
|
||||
return "tests_waitForResize";
|
||||
case 705:
|
||||
return "ungrabMouse";
|
||||
case 706:
|
||||
return "uninstallMessageHandler";
|
||||
case 707:
|
||||
return "usesFallbackMouseGrabber";
|
||||
}
|
||||
throw Error();
|
||||
@@ -599,52 +920,96 @@ class Platform {
|
||||
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_FFI>(
|
||||
Platform.inDisallowedDragView_calledFromC, callbackExcept683);
|
||||
registerCallback(thisCpp, callback683, 683);
|
||||
const callbackExcept685 = 0;
|
||||
//tag=1021
|
||||
final callback685 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
|
||||
Platform.isLeftMouseButtonPressed_calledFromC, callbackExcept685);
|
||||
registerCallback(thisCpp, callback685, 685);
|
||||
final callback684 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
|
||||
Platform.installMessageHandler_calledFromC);
|
||||
registerCallback(thisCpp, callback684, 684);
|
||||
const callbackExcept686 = 0;
|
||||
//tag=1021
|
||||
final callback686 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
|
||||
Platform.isProcessingAppQuitEvent_calledFromC, callbackExcept686);
|
||||
Platform.isLeftMouseButtonPressed_calledFromC, callbackExcept686);
|
||||
registerCallback(thisCpp, callback686, 686);
|
||||
const callbackExcept687 = 0;
|
||||
//tag=1021
|
||||
final callback689 = ffi.Pointer.fromFunction<string_Func_voidstar_FFI>(
|
||||
final callback687 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
|
||||
Platform.isProcessingAppQuitEvent_calledFromC, callbackExcept687);
|
||||
registerCallback(thisCpp, callback687, 687);
|
||||
//tag=1021
|
||||
final callback690 = ffi.Pointer.fromFunction<string_Func_voidstar_FFI>(
|
||||
Platform.name_calledFromC);
|
||||
registerCallback(thisCpp, callback689, 689);
|
||||
//tag=1021
|
||||
final callback690 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
|
||||
Platform.organizationName_calledFromC);
|
||||
registerCallback(thisCpp, callback690, 690);
|
||||
//tag=1021
|
||||
final callback691 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
|
||||
Platform.restoreMouseCursor_calledFromC);
|
||||
final callback691 = ffi.Pointer.fromFunction<voidstar_Func_voidstar_FFI>(
|
||||
Platform.organizationName_calledFromC);
|
||||
registerCallback(thisCpp, callback691, 691);
|
||||
const callbackExcept692 = 0;
|
||||
//tag=1021
|
||||
final callback692 =
|
||||
ffi.Pointer.fromFunction<int_Func_voidstar_voidstar_FFI>(
|
||||
Platform.screenNumberFor_calledFromC, callbackExcept692);
|
||||
final callback692 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
|
||||
Platform.restoreMouseCursor_calledFromC);
|
||||
registerCallback(thisCpp, callback692, 692);
|
||||
const callbackExcept693 = 0;
|
||||
//tag=1021
|
||||
final callback693 =
|
||||
ffi.Pointer.fromFunction<int_Func_voidstar_voidstar_FFI>(
|
||||
Platform.screenNumberFor_calledFromC, callbackExcept693);
|
||||
registerCallback(thisCpp, callback693, 693);
|
||||
//tag=1021
|
||||
final callback694 =
|
||||
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
|
||||
Platform.screenSizeFor_calledFromC);
|
||||
registerCallback(thisCpp, callback693, 693);
|
||||
const callbackExcept695 = 0;
|
||||
registerCallback(thisCpp, callback694, 694);
|
||||
const callbackExcept696 = 0;
|
||||
//tag=1021
|
||||
final callback695 = ffi.Pointer.fromFunction<int_Func_voidstar_FFI>(
|
||||
Platform.startDragDistance_impl_calledFromC, callbackExcept695);
|
||||
registerCallback(thisCpp, callback695, 695);
|
||||
//tag=1021
|
||||
final callback696 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
|
||||
Platform.ungrabMouse_calledFromC);
|
||||
final callback696 = ffi.Pointer.fromFunction<int_Func_voidstar_FFI>(
|
||||
Platform.startDragDistance_impl_calledFromC, callbackExcept696);
|
||||
registerCallback(thisCpp, callback696, 696);
|
||||
const callbackExcept697 = 0;
|
||||
//tag=1021
|
||||
final callback697 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
|
||||
Platform.usesFallbackMouseGrabber_calledFromC, callbackExcept697);
|
||||
final callback697 =
|
||||
ffi.Pointer.fromFunction<voidstar_Func_voidstar_voidstar_FFI>(
|
||||
Platform.tests_createNonClosableView_calledFromC);
|
||||
registerCallback(thisCpp, callback697, 697);
|
||||
//tag=1021
|
||||
final callback699 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
|
||||
Platform.tests_deinitPlatform_impl_calledFromC);
|
||||
registerCallback(thisCpp, callback699, 699);
|
||||
//tag=1021
|
||||
final callback700 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
|
||||
Platform.tests_initPlatform_impl_calledFromC);
|
||||
registerCallback(thisCpp, callback700, 700);
|
||||
//tag=1021
|
||||
final callback701 =
|
||||
ffi.Pointer.fromFunction<void_Func_voidstar_ffi_Int32_FFI>(
|
||||
Platform.tests_wait_calledFromC);
|
||||
registerCallback(thisCpp, callback701, 701);
|
||||
const callbackExcept702 = 0;
|
||||
//tag=1021
|
||||
final callback702 =
|
||||
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>(
|
||||
Platform.tests_waitForDeleted_calledFromC, callbackExcept702);
|
||||
registerCallback(thisCpp, callback702, 702);
|
||||
const callbackExcept703 = 0;
|
||||
//tag=1021
|
||||
final callback703 =
|
||||
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>(
|
||||
Platform.tests_waitForDeleted_2_calledFromC, callbackExcept703);
|
||||
registerCallback(thisCpp, callback703, 703);
|
||||
const callbackExcept704 = 0;
|
||||
//tag=1021
|
||||
final callback704 =
|
||||
ffi.Pointer.fromFunction<bool_Func_voidstar_voidstar_ffi_Int32_FFI>(
|
||||
Platform.tests_waitForResize_calledFromC, callbackExcept704);
|
||||
registerCallback(thisCpp, callback704, 704);
|
||||
//tag=1021
|
||||
final callback705 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
|
||||
Platform.ungrabMouse_calledFromC);
|
||||
registerCallback(thisCpp, callback705, 705);
|
||||
//tag=1021
|
||||
final callback706 = ffi.Pointer.fromFunction<void_Func_voidstar_FFI>(
|
||||
Platform.uninstallMessageHandler_calledFromC);
|
||||
registerCallback(thisCpp, callback706, 706);
|
||||
const callbackExcept707 = 0;
|
||||
//tag=1021
|
||||
final callback707 = ffi.Pointer.fromFunction<bool_Func_voidstar_FFI>(
|
||||
Platform.usesFallbackMouseGrabber_calledFromC, callbackExcept707);
|
||||
registerCallback(thisCpp, callback707, 707);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -854,6 +854,24 @@ class QByteArray {
|
||||
return QByteArray.fromCppPointer(result, true);
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
// replace(const QByteArray & before, const QByteArray & after)
|
||||
QByteArray replace_3(QByteArray? before, QByteArray? after) {
|
||||
//tag=1028
|
||||
final voidstar_Func_voidstar_voidstar_voidstar func = _dylib
|
||||
.lookup<
|
||||
ffi.NativeFunction<
|
||||
voidstar_Func_voidstar_voidstar_voidstar_FFI>>(
|
||||
'c_QByteArray__replace_QByteArray_QByteArray')
|
||||
.asFunction();
|
||||
//tag=1033
|
||||
ffi.Pointer<void> result = func(
|
||||
thisCpp,
|
||||
before == null ? ffi.nullptr : before.thisCpp,
|
||||
after == null ? ffi.nullptr : after.thisCpp);
|
||||
return QByteArray.fromCppPointer(result, false);
|
||||
}
|
||||
//tag=1024
|
||||
|
||||
//tag=1027
|
||||
|
||||
@@ -335,3 +335,9 @@ typedef voidstar_Func_voidstar_ffi_Int32_ffi_Int32_string_ffi_Int32_FFI
|
||||
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 void_Func_void = void Function();
|
||||
typedef void_Func_void_FFI = ffi.Void Function();
|
||||
typedef bool_Func_voidstar_voidstar_int = int Function(
|
||||
ffi.Pointer<void>, ffi.Pointer<void>, int);
|
||||
typedef bool_Func_voidstar_voidstar_ffi_Int32_FFI = ffi.Int8 Function(
|
||||
ffi.Pointer<void>, ffi.Pointer<void>, ffi.Int32);
|
||||
|
||||
Reference in New Issue
Block a user