KDDockWidgets API Documentation
2.1
Loading...
Searching...
No Matches
source
src
flutter
generated
KDDockWidgetsBindings
dart
ffi
flutter_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 "
flutter_c.h
"
12
13
14
#include <iostream>
15
16
#include <cassert>
17
18
19
namespace
Dartagnan
{
20
21
typedef
int (*
CleanupCallback
)(
void
*thisPtr);
22
static
CleanupCallback
s_cleanupCallback
=
nullptr
;
23
24
template
<
typename
T>
25
struct
ValueWrapper
26
{
27
T value;
28
};
29
30
}
31
extern
"C"
{
32
// asView_flutter(KDDockWidgets::Core::Controller * controller)
33
void
*
c_static_KDDockWidgets__flutter__asView_flutter_Controller
(
void
*controller_)
34
{
35
auto
controller =
reinterpret_cast<
KDDockWidgets::Core::Controller
*
>
(controller_);
36
const
auto
&result = flutter::asView_flutter(controller);
37
return
result;
38
}
39
// asView_flutter(KDDockWidgets::Core::View * view)
40
void
*
c_static_KDDockWidgets__flutter__asView_flutter_View
(
void
*view_)
41
{
42
auto
view =
reinterpret_cast<
KDDockWidgets::Core::View
*
>
(view_);
43
const
auto
&result = flutter::asView_flutter(view);
44
return
result;
45
}
46
}
KDDockWidgets::Core::Controller
Definition
Controller.h:50
KDDockWidgets::Core::View
Definition
core/View.h:48
c_static_KDDockWidgets__flutter__asView_flutter_View
void * c_static_KDDockWidgets__flutter__asView_flutter_View(void *view_)
Definition
flutter_c.cpp:40
c_static_KDDockWidgets__flutter__asView_flutter_Controller
void * c_static_KDDockWidgets__flutter__asView_flutter_Controller(void *controller_)
Definition
flutter_c.cpp:33
flutter_c.h
Dartagnan
Definition
Config_c.cpp:19
Dartagnan::CleanupCallback
int(* CleanupCallback)(void *thisPtr)
Definition
Config_c.cpp:21
Dartagnan::s_cleanupCallback
static CleanupCallback s_cleanupCallback
Definition
Config_c.cpp:22
© 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