Skip to content

Commit

Permalink
arkui: Add native dialog and interface
Browse files Browse the repository at this point in the history
The bindings were already generated but not exposed.

Signed-off-by: Jonathan Schwender <[email protected]>
  • Loading branch information
jschwe committed Jan 9, 2025
1 parent be6c942 commit 7468964
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion components/arkui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
## 0.2.3 (2025-01-09)

### Add

- native_dialog
- native_interface

## 0.2.2 (2025-01-08)

- Update bindings to api-13

## 0.2.1 (2025-01-05)

## Add
### Add

- drag and drop
- drawable descriptor
Expand Down
2 changes: 1 addition & 1 deletion components/arkui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "arkui-sys"
version = "0.2.2"
version = "0.2.3"
edition = "2021"
description = "Bindings to the native ArkUI API of OpenHarmony"
license = "Apache-2.0"
Expand Down
9 changes: 9 additions & 0 deletions components/arkui/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,18 @@ pub mod drawable_descriptor;
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub mod native_animate;

#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub mod native_dialog;

#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub mod native_gesture;

#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub mod native_interface;

#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub mod native_type;
Expand Down
2 changes: 2 additions & 0 deletions components/arkui/src/native_dialog.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mod native_dialog_ffi;
pub use native_dialog_ffi::*;
3 changes: 3 additions & 0 deletions components/arkui/src/native_interface.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#[allow(unused_imports)]
mod native_interface_ffi;
pub use native_interface_ffi::*;

0 comments on commit 7468964

Please sign in to comment.