Commit Graph

13 Commits

Author SHA1 Message Date
Sergio Martins
f8f75cdabc flutter: Add bindings for View 2022-07-26 14:20:27 +01:00
Sergio Martins
feda194b01 flutter: Also create bindings for ViewFactory 2022-07-26 13:37:21 +01:00
Sergio Martins
249ee2ce67 flutter: Add bindings for ViewFactory_flutter.h 2022-07-26 13:30:35 +01:00
Sergio Martins
d97ccb9792 flutter: Add bindings for Config.h 2022-07-26 13:21:14 +01:00
Sergio Martins
90ba005bc6 flutter: Remove unneeded Platform.dart 2022-07-26 13:15:01 +01:00
Sergio Martins
1a762df812 flutter: Add Platform_dart and regenerate bindings 2022-07-26 13:09:26 +01:00
Sergio Martins
ff7a30dcc3 flutter: Remove duplicate method from QByteArray.dart
Dart doens't support 2 methods with the same name
2022-07-25 17:56:40 +01:00
Sergio Martins
c40f38097a wip 2022-07-25 17:53:26 +01:00
Sergio Martins
b3dd4516ca flutter: Renamed KDDockWidgets package to KDDockWidgetsBindings
The former is needed for the KDDW flutter frontend, which will use
the latter to access the C++ API.

Using two packages instead of one, since one is generated by
dartagnan.
2022-07-23 20:31:50 +01:00
Sergio Martins
7956ec3b73 flutter: Fix Platform::name_calledFromC()
The return type needs to be ffi.Pointer<Utf8>, not String.
This has been fixed in dartagnan
2022-07-23 18:44:20 +01:00
Sergio Martins
9b7eaebd40 flutter: Fix kddockwidgets library name
So dart can load the correct one
2022-07-23 17:21:00 +01:00
Sergio Martins
ee5bd0094b flutter: Add bindings to View, ViewFactory and Platform 2022-07-23 17:03:45 +01:00
Sergio Martins
42ceb96cc2 flutter: Dart bindings are now built within kddockwidgets.dll too
No need to have a separate library with them.

This is just an initial commit to get the cmake right. We'll be adding
more bindings as we go.

Also, at some point, the Qt bindings will be removed and we'll have just
C++ KDDW bindings without any Qt.
2022-07-23 10:01:51 +01:00