KDDockWidgets API Documentation
2.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
j
l
m
n
o
p
q
r
s
t
v
w
Functions
a
b
c
d
f
g
i
j
l
m
o
p
q
r
s
t
w
Variables
a
r
s
Typedefs
Enumerations
Enumerator
a
c
d
f
l
m
r
s
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
d
g
i
m
n
p
s
v
Typedefs
b
c
l
p
s
t
v
Enumerations
Enumerator
c
f
i
m
r
Properties
a
c
d
f
g
h
i
m
o
s
t
u
Files
File List
File Members
All
a
b
c
d
f
h
i
k
l
m
o
p
q
r
s
t
w
Functions
a
b
c
d
f
h
i
l
m
o
p
q
r
s
t
w
Variables
Enumerations
Enumerator
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
Concepts
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
}
33
void
*
c_static_KDDockWidgets__flutter__asView_flutter_Controller
(
void
*controller_) {
…
}
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
}
40
void
*
c_static_KDDockWidgets__flutter__asView_flutter_View
(
void
*view_) {
…
}
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