KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
KDDWBindingsFlutter/Platform_c.cpp
Go to the documentation of this file.
1/*
2 This file is part of KDDockWidgets.
3
4 SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
5 Author: SĂ©rgio Martins <sergio.martins@kdab.com>
6
7 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
8
9 Contact KDAB at <info@kdab.com> for commercial licensing options.
10*/
11#include "Platform_c.h"
12
13
14#include <iostream>
15
16#include <cassert>
17
18
19namespace Dartagnan {
20
21typedef int (*CleanupCallback)(void *thisPtr);
23
24template<typename T>
25struct ValueWrapper
26{
27 T value;
28};
29
30}
32namespace KDDWBindingsFlutter {
34 : ::KDDockWidgets::flutter::Platform()
35{
36}
38{
40 const void *thisPtr = this;
41 return *m_applicationNameCallback(const_cast<void *>(thisPtr));
42 } else {
43 return ::KDDockWidgets::flutter::Platform::applicationName();
44 }
45}
47{
48 return ::KDDockWidgets::flutter::Platform::applicationName();
49}
51{
53 const void *thisPtr = this;
54 return m_createDefaultViewFactoryCallback(const_cast<void *>(thisPtr));
55 } else {
56 return ::KDDockWidgets::flutter::Platform::createDefaultViewFactory();
57 }
58}
60{
61 return ::KDDockWidgets::flutter::Platform::createDefaultViewFactory();
62}
63KDDockWidgets::Core::MainWindow *Platform_wrapper::createMainWindow(const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions viewOpts, QFlags<KDDockWidgets::MainWindowOption> options, KDDockWidgets::Core::View *parent, Qt::WindowFlags flags) const
64{
66 const void *thisPtr = this;
67 return m_createMainWindowCallback(const_cast<void *>(thisPtr), uniqueName, &viewOpts, options, parent, flags);
68 } else {
69 return ::KDDockWidgets::flutter::Platform::createMainWindow(uniqueName, viewOpts, options, parent, flags);
70 }
71}
73{
74 return ::KDDockWidgets::flutter::Platform::createMainWindow(uniqueName, viewOpts, options, parent, flags);
75}
77{
79 const void *thisPtr = this;
80 return m_createViewCallback(const_cast<void *>(thisPtr), controller, parent);
81 } else {
82 return ::KDDockWidgets::flutter::Platform::createView(controller, parent);
83 }
84}
86{
87 return ::KDDockWidgets::flutter::Platform::createView(controller, parent);
88}
89KDDockWidgets::Point Platform_wrapper::cursorPos() const
90{
92 const void *thisPtr = this;
93 return *m_cursorPosCallback(const_cast<void *>(thisPtr));
94 } else {
95 return ::KDDockWidgets::flutter::Platform::cursorPos();
96 }
97}
98KDDockWidgets::Point Platform_wrapper::cursorPos_nocallback() const
99{
100 return ::KDDockWidgets::flutter::Platform::cursorPos();
101}
103{
105 const void *thisPtr = this;
106 m_dumpManagedBacktraceCallback(const_cast<void *>(thisPtr));
107 } else {
109 }
110}
116{
118 const void *thisPtr = this;
119 return m_hasActivePopupCallback(const_cast<void *>(thisPtr));
120 } else {
121 return ::KDDockWidgets::flutter::Platform::hasActivePopup();
122 }
123}
125{
126 return ::KDDockWidgets::flutter::Platform::hasActivePopup();
127}
128bool Platform_wrapper::inDisallowedDragView(KDDockWidgets::Point globalPos) const
129{
131 const void *thisPtr = this;
132 return m_inDisallowedDragViewCallback(const_cast<void *>(thisPtr), &globalPos);
133 } else {
134 return ::KDDockWidgets::flutter::Platform::inDisallowedDragView(globalPos);
135 }
136}
137bool Platform_wrapper::inDisallowedDragView_nocallback(KDDockWidgets::Point globalPos) const
138{
139 return ::KDDockWidgets::flutter::Platform::inDisallowedDragView(globalPos);
140}
146{
148 const void *thisPtr = this;
149 m_installMessageHandlerCallback(const_cast<void *>(thisPtr));
150 } else {
151 ::KDDockWidgets::flutter::Platform::installMessageHandler();
152 }
153}
155{
156 ::KDDockWidgets::flutter::Platform::installMessageHandler();
157}
159{
161 const void *thisPtr = this;
162 return m_isLeftMouseButtonPressedCallback(const_cast<void *>(thisPtr));
163 } else {
164 return ::KDDockWidgets::flutter::Platform::isLeftMouseButtonPressed();
165 }
166}
168{
169 return ::KDDockWidgets::flutter::Platform::isLeftMouseButtonPressed();
170}
172{
174 const void *thisPtr = this;
175 return m_isProcessingAppQuitEventCallback(const_cast<void *>(thisPtr));
176 } else {
177 return ::KDDockWidgets::flutter::Platform::isProcessingAppQuitEvent();
178 }
179}
181{
182 return ::KDDockWidgets::flutter::Platform::isProcessingAppQuitEvent();
183}
184const char *Platform_wrapper::name() const
185{
186 if (m_nameCallback) {
187 const void *thisPtr = this;
188 return m_nameCallback(const_cast<void *>(thisPtr));
189 } else {
190 return ::KDDockWidgets::flutter::Platform::name();
191 }
192}
194{
195 return ::KDDockWidgets::flutter::Platform::name();
196}
224{
226 const void *thisPtr = this;
227 m_onFloatingWindowCreatedCallback(const_cast<void *>(thisPtr), arg__1);
228 } else {
230 }
231}
237{
239 const void *thisPtr = this;
240 m_onFloatingWindowDestroyedCallback(const_cast<void *>(thisPtr), arg__1);
241 } else {
243 }
244}
250{
252 const void *thisPtr = this;
253 m_onMainWindowCreatedCallback(const_cast<void *>(thisPtr), arg__1);
254 } else {
256 }
257}
263{
265 const void *thisPtr = this;
266 m_onMainWindowDestroyedCallback(const_cast<void *>(thisPtr), arg__1);
267 } else {
269 }
270}
276{
278 const void *thisPtr = this;
279 m_pauseForDartDebuggerCallback(const_cast<void *>(thisPtr));
280 } else {
281 ::KDDockWidgets::flutter::Platform::pauseForDartDebugger();
282 }
283}
285{
286 ::KDDockWidgets::flutter::Platform::pauseForDartDebugger();
287}
289{
291 const void *thisPtr = this;
292 m_pauseForDebuggerCallback(const_cast<void *>(thisPtr));
293 } else {
294 ::KDDockWidgets::flutter::Platform::pauseForDebugger();
295 }
296}
298{
299 ::KDDockWidgets::flutter::Platform::pauseForDebugger();
300}
302{
303 return ::KDDockWidgets::flutter::Platform::platformFlutter();
304}
306{
308 const void *thisPtr = this;
309 m_rebuildWindowOverlayCallback(const_cast<void *>(thisPtr));
310 } else {
312 }
313}
319{
321 const void *thisPtr = this;
322 m_restoreMouseCursorCallback(const_cast<void *>(thisPtr));
323 } else {
325 }
326}
332{
333 ::KDDockWidgets::flutter::Platform::resumeCoRoutines();
334}
335void Platform_wrapper::runDelayed(int ms, KDDockWidgets::Core::DelayedCall *c)
336{
338 const void *thisPtr = this;
339 m_runDelayedCallback(const_cast<void *>(thisPtr), ms, c);
340 } else {
342 }
343}
344void Platform_wrapper::runDelayed_nocallback(int ms, KDDockWidgets::Core::DelayedCall *c)
345{
347}
349{
350 ::KDDockWidgets::flutter::Platform::runTests();
351}
353{
355 const void *thisPtr = this;
356 m_scheduleResumeCoRoutinesCallback(const_cast<void *>(thisPtr), ms);
357 } else {
358 ::KDDockWidgets::flutter::Platform::scheduleResumeCoRoutines(ms);
359 }
360}
362{
363 ::KDDockWidgets::flutter::Platform::scheduleResumeCoRoutines(ms);
364}
366{
368 const void *thisPtr = this;
369 return m_screenNumberForViewCallback(const_cast<void *>(thisPtr), arg__1);
370 } else {
371 return ::KDDockWidgets::flutter::Platform::screenNumberForView(arg__1);
372 }
373}
375{
376 return ::KDDockWidgets::flutter::Platform::screenNumberForView(arg__1);
377}
379{
381 const void *thisPtr = this;
382 return *m_screenSizeForCallback(const_cast<void *>(thisPtr), arg__1);
383 } else {
384 return ::KDDockWidgets::flutter::Platform::screenSizeFor(arg__1);
385 }
386}
388{
389 return ::KDDockWidgets::flutter::Platform::screenSizeFor(arg__1);
390}
391void Platform_wrapper::sendEvent(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const
392{
394 const void *thisPtr = this;
395 m_sendEventCallback(const_cast<void *>(thisPtr), arg__1, arg__2);
396 } else {
398 }
399}
400void Platform_wrapper::sendEvent_nocallback(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const
401{
403}
404void Platform_wrapper::setCursorPos(KDDockWidgets::Point arg__1)
405{
407 const void *thisPtr = this;
408 m_setCursorPosCallback(const_cast<void *>(thisPtr), &arg__1);
409 } else {
411 }
412}
418{
420 const void *thisPtr = this;
421 m_setMouseCursorCallback(const_cast<void *>(thisPtr), arg__1, discardLast);
422 } else {
424 }
425}
431{
433 const void *thisPtr = this;
434 return m_startDragDistance_implCallback(const_cast<void *>(thisPtr));
435 } else {
436 return ::KDDockWidgets::flutter::Platform::startDragDistance_impl();
437 }
438}
440{
441 return ::KDDockWidgets::flutter::Platform::startDragDistance_impl();
442}
444{
446 const void *thisPtr = this;
447 return m_supportsAeroSnapCallback(const_cast<void *>(thisPtr));
448 } else {
449 return ::KDDockWidgets::flutter::Platform::supportsAeroSnap();
450 }
451}
453{
454 return ::KDDockWidgets::flutter::Platform::supportsAeroSnap();
455}
457{
459 const void *thisPtr = this;
460 return m_tests_createFocusableViewCallback(const_cast<void *>(thisPtr), &arg__1, parent);
461 } else {
462 return ::KDDockWidgets::flutter::Platform::tests_createFocusableView(arg__1, parent);
463 }
464}
466{
467 return ::KDDockWidgets::flutter::Platform::tests_createFocusableView(arg__1, parent);
468}
470{
472 const void *thisPtr = this;
473 return m_tests_createNonClosableViewCallback(const_cast<void *>(thisPtr), parent);
474 } else {
475 return ::KDDockWidgets::flutter::Platform::tests_createNonClosableView(parent);
476 }
477}
479{
480 return ::KDDockWidgets::flutter::Platform::tests_createNonClosableView(parent);
481}
482KDDockWidgets::Core::View *Platform_wrapper::tests_createView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent)
483{
485 const void *thisPtr = this;
486 return m_tests_createViewCallback(const_cast<void *>(thisPtr), &arg__1, parent);
487 } else {
488 return ::KDDockWidgets::flutter::Platform::tests_createView(arg__1, parent);
489 }
490}
492{
493 return ::KDDockWidgets::flutter::Platform::tests_createView(arg__1, parent);
494}
496{
498 const void *thisPtr = this;
499 m_tests_deinitPlatform_implCallback(const_cast<void *>(thisPtr));
500 } else {
501 ::KDDockWidgets::flutter::Platform::tests_deinitPlatform_impl();
502 }
503}
505{
506 ::KDDockWidgets::flutter::Platform::tests_deinitPlatform_impl();
507}
509{
511 const void *thisPtr = this;
512 m_tests_initPlatform_implCallback(const_cast<void *>(thisPtr));
513 } else {
514 ::KDDockWidgets::flutter::Platform::tests_initPlatform_impl();
515 }
516}
518{
519 ::KDDockWidgets::flutter::Platform::tests_initPlatform_impl();
520}
522{
524 const void *thisPtr = this;
525 m_ungrabMouseCallback(const_cast<void *>(thisPtr));
526 } else {
528 }
529}
535{
537 const void *thisPtr = this;
538 m_uninstallMessageHandlerCallback(const_cast<void *>(thisPtr));
539 } else {
540 ::KDDockWidgets::flutter::Platform::uninstallMessageHandler();
541 }
542}
544{
545 ::KDDockWidgets::flutter::Platform::uninstallMessageHandler();
546}
548{
550 const void *thisPtr = this;
551 return m_usesFallbackMouseGrabberCallback(const_cast<void *>(thisPtr));
552 } else {
553 return ::KDDockWidgets::flutter::Platform::usesFallbackMouseGrabber();
554 }
555}
557{
558 return ::KDDockWidgets::flutter::Platform::usesFallbackMouseGrabber();
559}
563
564}
565}
567{
568 return reinterpret_cast<KDDockWidgets::flutter::Platform *>(ptr);
569}
574extern "C" {
580{
582 return reinterpret_cast<void *>(ptr);
583}
584// applicationName() const
586{
587 const auto &result = new Dartagnan::ValueWrapper<QString> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->applicationName_nocallback();} else { return targetPtr->applicationName();} }() };
588 return result;
589}
590// createDefaultViewFactory()
592{
593 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createDefaultViewFactory_nocallback();} else { return targetPtr->createDefaultViewFactory();} }();
594 return result;
595}
596// createMainWindow(const QString & uniqueName, KDDockWidgets::Core::CreateViewOptions viewOpts, QFlags<KDDockWidgets::MainWindowOption> options, KDDockWidgets::Core::View * parent, Qt::WindowFlags flags) const
597void *c_KDDockWidgets__flutter__Platform__createMainWindow_QString_CreateViewOptions_MainWindowOptions_View_WindowFlags(void *thisObj, const char *uniqueName_, void *viewOpts_, int options_, void *parent_, int flags)
598{
599 const auto uniqueName = QString::fromUtf8(uniqueName_);
600 assert(viewOpts_);
601 auto &viewOpts = *reinterpret_cast<KDDockWidgets::Core::CreateViewOptions *>(viewOpts_);
602 auto options = static_cast<QFlags<KDDockWidgets::MainWindowOption>>(options_);
603 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
604 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createMainWindow_nocallback(uniqueName,viewOpts,options,parent,static_cast<Qt::WindowFlags>(flags));} else { return targetPtr->createMainWindow(uniqueName,viewOpts,options,parent,static_cast<Qt::WindowFlags>(flags));} }();
605 free(( char * )uniqueName_);
606 return result;
607}
608// createView(KDDockWidgets::Core::Controller * controller, KDDockWidgets::Core::View * parent) const
609void *c_KDDockWidgets__flutter__Platform__createView_Controller_View(void *thisObj, void *controller_, void *parent_)
610{
611 auto controller = reinterpret_cast<KDDockWidgets::Core::Controller *>(controller_);
612 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
613 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createView_nocallback(controller,parent);} else { return targetPtr->createView(controller,parent);} }();
614 return result;
615}
616// cursorPos() const
618{
619 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->cursorPos_nocallback();} else { return targetPtr->cursorPos();} }() };
620 return result;
621}
622// dumpManagedBacktrace()
624{
625 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->dumpManagedBacktrace_nocallback();} else { return targetPtr->dumpManagedBacktrace();} }();
626}
627// hasActivePopup() const
629{
630 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->hasActivePopup_nocallback();} else { return targetPtr->hasActivePopup();} }();
631 return result;
632}
633// inDisallowedDragView(KDDockWidgets::Point globalPos) const
635{
636 assert(globalPos_);
637 auto &globalPos = *reinterpret_cast<KDDockWidgets::Point *>(globalPos_);
638 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->inDisallowedDragView_nocallback(globalPos);} else { return targetPtr->inDisallowedDragView(globalPos);} }();
639 return result;
640}
641// init()
643{
644 fromWrapperPtr(thisObj)->init();
645}
646// installMessageHandler()
648{
649 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->installMessageHandler_nocallback();} else { return targetPtr->installMessageHandler();} }();
650}
651// isLeftMouseButtonPressed() const
653{
654 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isLeftMouseButtonPressed_nocallback();} else { return targetPtr->isLeftMouseButtonPressed();} }();
655 return result;
656}
657// isProcessingAppQuitEvent() const
659{
660 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isProcessingAppQuitEvent_nocallback();} else { return targetPtr->isProcessingAppQuitEvent();} }();
661 return result;
662}
663// name() const
665{
666 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->name_nocallback();} else { return targetPtr->name();} }();
667 return result;
668}
669// onDropIndicatorOverlayCreated(KDDockWidgets::flutter::IndicatorWindow * arg__1)
671{
672 auto arg__1 = reinterpret_cast<KDDockWidgets::flutter::IndicatorWindow *>(arg__1_);
673 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onDropIndicatorOverlayCreated_nocallback(arg__1);} else { return targetPtr->onDropIndicatorOverlayCreated(arg__1);} }();
674}
675// onDropIndicatorOverlayDestroyed(KDDockWidgets::flutter::IndicatorWindow * arg__1)
677{
678 auto arg__1 = reinterpret_cast<KDDockWidgets::flutter::IndicatorWindow *>(arg__1_);
679 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onDropIndicatorOverlayDestroyed_nocallback(arg__1);} else { return targetPtr->onDropIndicatorOverlayDestroyed(arg__1);} }();
680}
681// onFloatingWindowCreated(KDDockWidgets::Core::FloatingWindow * arg__1)
683{
684 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::FloatingWindow *>(arg__1_);
685 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onFloatingWindowCreated_nocallback(arg__1);} else { return targetPtr->onFloatingWindowCreated(arg__1);} }();
686}
687// onFloatingWindowDestroyed(KDDockWidgets::Core::FloatingWindow * arg__1)
689{
690 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::FloatingWindow *>(arg__1_);
691 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onFloatingWindowDestroyed_nocallback(arg__1);} else { return targetPtr->onFloatingWindowDestroyed(arg__1);} }();
692}
693// onMainWindowCreated(KDDockWidgets::Core::MainWindow * arg__1)
695{
696 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::MainWindow *>(arg__1_);
697 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onMainWindowCreated_nocallback(arg__1);} else { return targetPtr->onMainWindowCreated(arg__1);} }();
698}
699// onMainWindowDestroyed(KDDockWidgets::Core::MainWindow * arg__1)
701{
702 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::MainWindow *>(arg__1_);
703 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onMainWindowDestroyed_nocallback(arg__1);} else { return targetPtr->onMainWindowDestroyed(arg__1);} }();
704}
705// pauseForDartDebugger()
707{
708 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->pauseForDartDebugger_nocallback();} else { return targetPtr->pauseForDartDebugger();} }();
709}
710// pauseForDebugger()
712{
713 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->pauseForDebugger_nocallback();} else { return targetPtr->pauseForDebugger();} }();
714}
715// platformFlutter()
721// rebuildWindowOverlay()
723{
724 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->rebuildWindowOverlay_nocallback();} else { return targetPtr->rebuildWindowOverlay();} }();
725}
726// restoreMouseCursor()
728{
729 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->restoreMouseCursor_nocallback();} else { return targetPtr->restoreMouseCursor();} }();
730}
731// resumeCoRoutines()
733{
734 fromPtr(thisObj)->resumeCoRoutines();
735}
736// runDelayed(int ms, KDDockWidgets::Core::DelayedCall * c)
738{
739 auto c = reinterpret_cast<KDDockWidgets::Core::DelayedCall *>(c_);
740 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->runDelayed_nocallback(ms,c);} else { return targetPtr->runDelayed(ms,c);} }();
741}
742// runTests()
744{
745 fromPtr(thisObj)->runTests();
746}
747// scheduleResumeCoRoutines(int ms) const
749{
750 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->scheduleResumeCoRoutines_nocallback(ms);} else { return targetPtr->scheduleResumeCoRoutines(ms);} }();
751}
752// screenNumberForView(KDDockWidgets::Core::View * arg__1) const
754{
755 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::View *>(arg__1_);
756 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->screenNumberForView_nocallback(arg__1);} else { return targetPtr->screenNumberForView(arg__1);} }();
757 return result;
758}
759// screenSizeFor(KDDockWidgets::Core::View * arg__1) const
761{
762 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::View *>(arg__1_);
763 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->screenSizeFor_nocallback(arg__1);} else { return targetPtr->screenSizeFor(arg__1);} }() };
764 return result;
765}
766// sendEvent(KDDockWidgets::Core::View * arg__1, KDDockWidgets::Event * arg__2) const
767void c_KDDockWidgets__flutter__Platform__sendEvent_View_Event(void *thisObj, void *arg__1_, void *arg__2_)
768{
769 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::View *>(arg__1_);
770 auto arg__2 = reinterpret_cast<KDDockWidgets::Event *>(arg__2_);
771 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->sendEvent_nocallback(arg__1,arg__2);} else { return targetPtr->sendEvent(arg__1,arg__2);} }();
772}
773// setCursorPos(KDDockWidgets::Point arg__1)
775{
776 assert(arg__1_);
777 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Point *>(arg__1_);
778 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setCursorPos_nocallback(arg__1);} else { return targetPtr->setCursorPos(arg__1);} }();
779}
780// setMouseCursor(Qt::CursorShape arg__1, bool discardLast)
781void c_KDDockWidgets__flutter__Platform__setMouseCursor_CursorShape_bool(void *thisObj, int arg__1, bool discardLast)
782{
783 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setMouseCursor_nocallback(static_cast<Qt::CursorShape>(arg__1),discardLast);} else { return targetPtr->setMouseCursor(static_cast<Qt::CursorShape>(arg__1),discardLast);} }();
784}
785// startDragDistance_impl() const
787{
788 const auto &result = fromWrapperPtr(thisObj)->startDragDistance_impl_nocallback();
789 return result;
790}
791// supportsAeroSnap() const
793{
794 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->supportsAeroSnap_nocallback();} else { return targetPtr->supportsAeroSnap();} }();
795 return result;
796}
797// tests_createFocusableView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View * parent)
799{
800 assert(arg__1_);
801 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Core::CreateViewOptions *>(arg__1_);
802 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
803 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->tests_createFocusableView_nocallback(arg__1,parent);} else { return targetPtr->tests_createFocusableView(arg__1,parent);} }();
804 return result;
805}
806// tests_createNonClosableView(KDDockWidgets::Core::View * parent)
808{
809 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
810 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->tests_createNonClosableView_nocallback(parent);} else { return targetPtr->tests_createNonClosableView(parent);} }();
811 return result;
812}
813// tests_createView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View * parent)
815{
816 assert(arg__1_);
817 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Core::CreateViewOptions *>(arg__1_);
818 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
819 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->tests_createView_nocallback(arg__1,parent);} else { return targetPtr->tests_createView(arg__1,parent);} }();
820 return result;
821}
822// tests_deinitPlatform_impl()
824{
825 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->tests_deinitPlatform_impl_nocallback();} else { return targetPtr->tests_deinitPlatform_impl();} }();
826}
827// tests_initPlatform_impl()
829{
830 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->tests_initPlatform_impl_nocallback();} else { return targetPtr->tests_initPlatform_impl();} }();
831}
832// ungrabMouse()
834{
835 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->ungrabMouse_nocallback();} else { return targetPtr->ungrabMouse();} }();
836}
837// uninstallMessageHandler()
839{
840 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->uninstallMessageHandler_nocallback();} else { return targetPtr->uninstallMessageHandler();} }();
841}
842// usesFallbackMouseGrabber() const
844{
845 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->usesFallbackMouseGrabber_nocallback();} else { return targetPtr->usesFallbackMouseGrabber();} }();
846 return result;
847}
849{
850 delete fromPtr(thisObj);
851}
852void c_KDDockWidgets__flutter__Platform__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
853{
854 auto wrapper = fromWrapperPtr(ptr);
855 switch (methodId) {
856 case 133:
857 wrapper->m_applicationNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_applicationName>(callback);
858 break;
859 case 134:
860 wrapper->m_createDefaultViewFactoryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_createDefaultViewFactory>(callback);
861 break;
862 case 135:
863 wrapper->m_createMainWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_createMainWindow>(callback);
864 break;
865 case 136:
866 wrapper->m_createViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_createView>(callback);
867 break;
868 case 137:
869 wrapper->m_cursorPosCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_cursorPos>(callback);
870 break;
871 case 138:
872 wrapper->m_dumpManagedBacktraceCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_dumpManagedBacktrace>(callback);
873 break;
874 case 140:
875 wrapper->m_hasActivePopupCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_hasActivePopup>(callback);
876 break;
877 case 141:
878 wrapper->m_inDisallowedDragViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_inDisallowedDragView>(callback);
879 break;
880 case 142:
881 wrapper->m_installMessageHandlerCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_installMessageHandler>(callback);
882 break;
883 case 145:
884 wrapper->m_isLeftMouseButtonPressedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_isLeftMouseButtonPressed>(callback);
885 break;
886 case 146:
887 wrapper->m_isProcessingAppQuitEventCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_isProcessingAppQuitEvent>(callback);
888 break;
889 case 150:
890 wrapper->m_nameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_name>(callback);
891 break;
892 case 182:
893 wrapper->m_onDropIndicatorOverlayCreatedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_onDropIndicatorOverlayCreated>(callback);
894 break;
895 case 183:
896 wrapper->m_onDropIndicatorOverlayDestroyedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_onDropIndicatorOverlayDestroyed>(callback);
897 break;
898 case 151:
899 wrapper->m_onFloatingWindowCreatedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_onFloatingWindowCreated>(callback);
900 break;
901 case 152:
902 wrapper->m_onFloatingWindowDestroyedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_onFloatingWindowDestroyed>(callback);
903 break;
904 case 153:
905 wrapper->m_onMainWindowCreatedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_onMainWindowCreated>(callback);
906 break;
907 case 154:
908 wrapper->m_onMainWindowDestroyedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_onMainWindowDestroyed>(callback);
909 break;
910 case 184:
911 wrapper->m_pauseForDartDebuggerCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_pauseForDartDebugger>(callback);
912 break;
913 case 155:
914 wrapper->m_pauseForDebuggerCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_pauseForDebugger>(callback);
915 break;
916 case 186:
917 wrapper->m_rebuildWindowOverlayCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_rebuildWindowOverlay>(callback);
918 break;
919 case 156:
920 wrapper->m_restoreMouseCursorCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_restoreMouseCursor>(callback);
921 break;
922 case 157:
923 wrapper->m_runDelayedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_runDelayed>(callback);
924 break;
925 case 189:
926 wrapper->m_scheduleResumeCoRoutinesCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_scheduleResumeCoRoutines>(callback);
927 break;
928 case 158:
929 wrapper->m_screenNumberForViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_screenNumberForView>(callback);
930 break;
931 case 159:
932 wrapper->m_screenSizeForCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_screenSizeFor>(callback);
933 break;
934 case 160:
935 wrapper->m_sendEventCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_sendEvent>(callback);
936 break;
937 case 161:
938 wrapper->m_setCursorPosCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_setCursorPos>(callback);
939 break;
940 case 162:
941 wrapper->m_setMouseCursorCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_setMouseCursor>(callback);
942 break;
943 case 164:
944 wrapper->m_startDragDistance_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_startDragDistance_impl>(callback);
945 break;
946 case 165:
947 wrapper->m_supportsAeroSnapCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_supportsAeroSnap>(callback);
948 break;
949 case 166:
950 wrapper->m_tests_createFocusableViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_tests_createFocusableView>(callback);
951 break;
952 case 167:
953 wrapper->m_tests_createNonClosableViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_tests_createNonClosableView>(callback);
954 break;
955 case 168:
956 wrapper->m_tests_createViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_tests_createView>(callback);
957 break;
958 case 169:
959 wrapper->m_tests_deinitPlatform_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_tests_deinitPlatform_impl>(callback);
960 break;
961 case 170:
962 wrapper->m_tests_initPlatform_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_tests_initPlatform_impl>(callback);
963 break;
964 case 171:
965 wrapper->m_ungrabMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_ungrabMouse>(callback);
966 break;
967 case 172:
968 wrapper->m_uninstallMessageHandlerCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_uninstallMessageHandler>(callback);
969 break;
970 case 173:
971 wrapper->m_usesFallbackMouseGrabberCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper::Callback_usesFallbackMouseGrabber>(callback);
972 break;
973 }
974}
975}
void c_KDDockWidgets__flutter__Platform__installMessageHandler(void *thisObj)
int c_KDDockWidgets__flutter__Platform__screenNumberForView_View(void *thisObj, void *arg__1_)
void c_KDDockWidgets__flutter__Platform__destructor(void *thisObj)
void c_KDDockWidgets__flutter__Platform__dumpManagedBacktrace(void *thisObj)
void * c_KDDockWidgets__flutter__Platform__tests_createNonClosableView_View(void *thisObj, void *parent_)
void c_KDDockWidgets__flutter__Platform__onDropIndicatorOverlayDestroyed_IndicatorWindow(void *thisObj, void *arg__1_)
bool c_KDDockWidgets__flutter__Platform__usesFallbackMouseGrabber(void *thisObj)
const char * c_KDDockWidgets__flutter__Platform__name(void *thisObj)
void c_KDDockWidgets__flutter__Platform__setCursorPos_Point(void *thisObj, void *arg__1_)
void * c_KDDockWidgets__flutter__Platform__tests_createView_CreateViewOptions_View(void *thisObj, void *arg__1_, void *parent_)
void c_KDDockWidgets__flutter__Platform__tests_deinitPlatform_impl(void *thisObj)
void c_KDDockWidgets__flutter__Platform__onMainWindowCreated_MainWindow(void *thisObj, void *arg__1_)
void * c_KDDockWidgets__flutter__Platform__screenSizeFor_View(void *thisObj, void *arg__1_)
void c_KDDockWidgets__flutter__Platform__restoreMouseCursor(void *thisObj)
void c_KDDockWidgets__flutter__Platform__onFloatingWindowDestroyed_FloatingWindow(void *thisObj, void *arg__1_)
void * c_KDDockWidgets__flutter__Platform__applicationName(void *thisObj)
void * c_KDDockWidgets__flutter__Platform__constructor()
void c_KDDockWidgets__flutter__Platform__onFloatingWindowCreated_FloatingWindow(void *thisObj, void *arg__1_)
void * c_KDDockWidgets__flutter__Platform__createDefaultViewFactory(void *thisObj)
int c_KDDockWidgets__flutter__Platform__startDragDistance_impl(void *thisObj)
void c_KDDockWidgets__flutter__Platform__uninstallMessageHandler(void *thisObj)
static KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Platform_wrapper * fromWrapperPtr(void *ptr)
bool c_KDDockWidgets__flutter__Platform__isProcessingAppQuitEvent(void *thisObj)
void c_KDDockWidgets__flutter__Platform__rebuildWindowOverlay(void *thisObj)
void c_KDDockWidgets__flutter__Platform__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
void c_KDDockWidgets__flutter__Platform__runDelayed_int_DelayedCall(void *thisObj, int ms, void *c_)
void c_KDDockWidgets__flutter__Platform__resumeCoRoutines(void *thisObj)
bool c_KDDockWidgets__flutter__Platform__isLeftMouseButtonPressed(void *thisObj)
void c_KDDockWidgets__flutter__Platform__setMouseCursor_CursorShape_bool(void *thisObj, int arg__1, bool discardLast)
void * c_KDDockWidgets__flutter__Platform__cursorPos(void *thisObj)
bool c_KDDockWidgets__flutter__Platform__hasActivePopup(void *thisObj)
void c_KDDockWidgets__flutter__Platform__ungrabMouse(void *thisObj)
void c_KDDockWidgets__flutter__Platform__tests_initPlatform_impl(void *thisObj)
bool c_KDDockWidgets__flutter__Platform__supportsAeroSnap(void *thisObj)
void * c_KDDockWidgets__flutter__Platform__tests_createFocusableView_CreateViewOptions_View(void *thisObj, void *arg__1_, void *parent_)
static KDDockWidgets::flutter::Platform * fromPtr(void *ptr)
void c_KDDockWidgets__flutter__Platform__init(void *thisObj)
void c_KDDockWidgets__flutter__Platform__scheduleResumeCoRoutines_int(void *thisObj, int ms)
void * c_KDDockWidgets__flutter__Platform__createMainWindow_QString_CreateViewOptions_MainWindowOptions_View_WindowFlags(void *thisObj, const char *uniqueName_, void *viewOpts_, int options_, void *parent_, int flags)
void c_KDDockWidgets__flutter__Platform__onDropIndicatorOverlayCreated_IndicatorWindow(void *thisObj, void *arg__1_)
void * c_KDDockWidgets__flutter__Platform__createView_Controller_View(void *thisObj, void *controller_, void *parent_)
void * c_static_KDDockWidgets__flutter__Platform__platformFlutter()
void c_KDDockWidgets__flutter__Platform__pauseForDebugger(void *thisObj)
void c_KDDockWidgets__flutter__Platform_Finalizer(void *cppObj)
bool c_KDDockWidgets__flutter__Platform__inDisallowedDragView_Point(void *thisObj, void *globalPos_)
void c_KDDockWidgets__flutter__Platform__onMainWindowDestroyed_MainWindow(void *thisObj, void *arg__1_)
void c_KDDockWidgets__flutter__Platform__sendEvent_View_Event(void *thisObj, void *arg__1_, void *arg__2_)
void c_KDDockWidgets__flutter__Platform__runTests(void *thisObj)
void c_KDDockWidgets__flutter__Platform__pauseForDartDebugger(void *thisObj)
virtual KDDockWidgets::Core::View * createView_nocallback(KDDockWidgets::Core::Controller *controller, KDDockWidgets::Core::View *parent=nullptr) const
virtual void setCursorPos(KDDockWidgets::Point arg__1)
Sets the mouse cursor position in screen coordinates.
KDDockWidgets::Core::View *(* Callback_tests_createFocusableView)(void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent)
virtual void onDropIndicatorOverlayCreated_nocallback(KDDockWidgets::flutter::IndicatorWindow *arg__1)
void(* Callback_onFloatingWindowCreated)(void *, KDDockWidgets::Core::FloatingWindow *arg__1)
void(* Callback_sendEvent)(void *, KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2)
virtual bool isProcessingAppQuitEvent() const
Returns whether we're processing a Event::Quit.
void(* Callback_onMainWindowCreated)(void *, KDDockWidgets::Core::MainWindow *arg__1)
virtual void sendEvent(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const
Sends the specified event to the specified view.
virtual void dumpManagedBacktrace()
For non-C++, managed languages (having a VM) prints a non-native back-trace For example,...
virtual KDDockWidgets::Core::View * tests_createFocusableView_nocallback(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
void(* Callback_onMainWindowDestroyed)(void *, KDDockWidgets::Core::MainWindow *arg__1)
virtual KDDockWidgets::Core::View * tests_createView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
virtual KDDockWidgets::Point cursorPos() const
Returns the mouse cursor position in screen coordinates.
virtual void onMainWindowDestroyed_nocallback(KDDockWidgets::Core::MainWindow *arg__1)
KDDockWidgets::Size *(* Callback_screenSizeFor)(void *, KDDockWidgets::Core::View *arg__1)
virtual bool isLeftMouseButtonPressed() const
Returns whether the left mouse button is pressed.
virtual KDDockWidgets::Core::MainWindow * createMainWindow_nocallback(const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions viewOpts, QFlags< KDDockWidgets::MainWindowOption > options=KDDockWidgets::MainWindowOption::MainWindowOption_HasCentralFrame, KDDockWidgets::Core::View *parent=nullptr, Qt::WindowFlags flags={}) const
virtual void setMouseCursor_nocallback(Qt::CursorShape arg__1, bool discardLast=false)
virtual const char * name() const
Returns the name of the platform, only "qtwidgets" and "qtquick".
virtual void onDropIndicatorOverlayCreated(KDDockWidgets::flutter::IndicatorWindow *arg__1)
virtual void onMainWindowDestroyed(KDDockWidgets::Core::MainWindow *arg__1)
Called when a main window is created. Overridden by flutter, so it can destroy the window.
virtual bool hasActivePopup() const
Returns whether a popup is open Usually not needed to override. Investigate further in case side bars...
void(* Callback_onFloatingWindowDestroyed)(void *, KDDockWidgets::Core::FloatingWindow *arg__1)
virtual KDDockWidgets::Core::ViewFactory * createDefaultViewFactory()
Creates and returns the default ViewFactory.
virtual KDDockWidgets::Core::View * tests_createNonClosableView(KDDockWidgets::Core::View *parent=nullptr)
virtual KDDockWidgets::Core::View * tests_createNonClosableView_nocallback(KDDockWidgets::Core::View *parent=nullptr)
virtual KDDockWidgets::Size screenSizeFor(KDDockWidgets::Core::View *arg__1) const
Returns the size of the screen where this view is in.
virtual void runDelayed_nocallback(int ms, KDDockWidgets::Core::DelayedCall *c)
void(* Callback_onDropIndicatorOverlayDestroyed)(void *, KDDockWidgets::flutter::IndicatorWindow *arg__1)
KDDockWidgets::Core::View *(* Callback_createView)(void *, KDDockWidgets::Core::Controller *controller, KDDockWidgets::Core::View *parent)
virtual void onDropIndicatorOverlayDestroyed_nocallback(KDDockWidgets::flutter::IndicatorWindow *arg__1)
KDDockWidgets::Core::MainWindow *(* Callback_createMainWindow)(void *, const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions *viewOpts, QFlags< KDDockWidgets::MainWindowOption > options, KDDockWidgets::Core::View *parent, Qt::WindowFlags flags)
virtual int screenNumberForView(KDDockWidgets::Core::View *arg__1) const
Returns the screen index for the specified view or window. It's up to the platform to decide how scre...
virtual void onFloatingWindowDestroyed_nocallback(KDDockWidgets::Core::FloatingWindow *arg__1)
virtual void onDropIndicatorOverlayDestroyed(KDDockWidgets::flutter::IndicatorWindow *arg__1)
virtual QString applicationName() const
Returns the application name This name will be used as title of floating dock widgets which contain m...
virtual int screenNumberForView_nocallback(KDDockWidgets::Core::View *arg__1) const
virtual void onFloatingWindowCreated(KDDockWidgets::Core::FloatingWindow *arg__1)
Called when a floating window is created. Overridden by flutter, so it can create a window.
virtual void onMainWindowCreated_nocallback(KDDockWidgets::Core::MainWindow *arg__1)
virtual bool usesFallbackMouseGrabber() const
Return whether we use the global event filter based mouse grabber.
virtual void setMouseCursor(Qt::CursorShape arg__1, bool discardLast=false)
Sets the mouse cursor to the specified shape, this has an application-wide effect Call restoreMouseCu...
void(* Callback_setMouseCursor)(void *, Qt::CursorShape arg__1, bool discardLast)
virtual KDDockWidgets::Core::View * createView(KDDockWidgets::Core::Controller *controller, KDDockWidgets::Core::View *parent=nullptr) const
Create an empty view For Qt this would just returns a empty QWidget or QQuickItem other frontends can...
virtual void onFloatingWindowCreated_nocallback(KDDockWidgets::Core::FloatingWindow *arg__1)
virtual KDDockWidgets::Core::View * tests_createView_nocallback(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
KDDockWidgets::Core::View *(* Callback_tests_createNonClosableView)(void *, KDDockWidgets::Core::View *parent)
virtual KDDockWidgets::Core::View * tests_createFocusableView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
void(* Callback_runDelayed)(void *, int ms, KDDockWidgets::Core::DelayedCall *c)
virtual KDDockWidgets::Core::MainWindow * createMainWindow(const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions viewOpts, QFlags< KDDockWidgets::MainWindowOption > options=KDDockWidgets::MainWindowOption::MainWindowOption_HasCentralFrame, KDDockWidgets::Core::View *parent=nullptr, Qt::WindowFlags flags={}) const
virtual void onMainWindowCreated(KDDockWidgets::Core::MainWindow *arg__1)
Called when a main window is created. Overridden by flutter, so it can create a window Used by tests ...
virtual void sendEvent_nocallback(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const
void(* Callback_onDropIndicatorOverlayCreated)(void *, KDDockWidgets::flutter::IndicatorWindow *arg__1)
virtual bool inDisallowedDragView(KDDockWidgets::Point globalPos) const
Returns whether the specified global position is on top of a view that isn't draggable....
KDDockWidgets::Core::View *(* Callback_tests_createView)(void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent)
virtual void onFloatingWindowDestroyed(KDDockWidgets::Core::FloatingWindow *arg__1)
Called when a floating window is created. Overridden by flutter, so it can destroy the window.
virtual KDDockWidgets::Size screenSizeFor_nocallback(KDDockWidgets::Core::View *arg__1) const
The MainWindow base-class. MainWindow and MainWindowBase are only split in two so we can share some c...
virtual void dumpManagedBacktrace()
For non-C++, managed languages (having a VM) prints a non-native back-trace For example,...
A factory class for allowing the user to customize some internal views. This is optional,...
implements functions specific to a particular platform A platform can be for example qtwidgets,...
void ungrabMouse() override
Releases the mouse grab, if any.
void onMainWindowDestroyed(Core::MainWindow *) override
Called when a main window is created. Overridden by flutter, so it can destroy the window.
virtual void onDropIndicatorOverlayDestroyed(flutter::IndicatorWindow *)
void onMainWindowCreated(Core::MainWindow *) override
Called when a main window is created. Overridden by flutter, so it can create a window Used by tests ...
void onFloatingWindowCreated(Core::FloatingWindow *) override
Called when a floating window is created. Overridden by flutter, so it can create a window.
void setMouseCursor(Qt::CursorShape, bool discardLast=false) override
Sets the mouse cursor to the specified shape, this has an application-wide effect Call restoreMouseCu...
void sendEvent(Core::View *, Event *) const override
Sends the specified event to the specified view.
virtual void onDropIndicatorOverlayCreated(flutter::IndicatorWindow *)
void runDelayed(int ms, Core::DelayedCall *c) override
void restoreMouseCursor() override
Undoes the call to setMouseCursor()
void setCursorPos(Point) override
Sets the mouse cursor position in screen coordinates.
void onFloatingWindowDestroyed(Core::FloatingWindow *) override
Called when a floating window is created. Overridden by flutter, so it can destroy the window.
int(* CleanupCallback)(void *thisPtr)
Definition Config_c.cpp:21
static CleanupCallback s_cleanupCallback
Definition Config_c.cpp:22
Class to abstract QAction, so code still works with QtQuick and Flutter.
QString fromUtf8(const char *str, int size)
CursorShape
typedef WindowFlags

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8